When building an electron Vue project on win10, an error is reported using the NPM install command
report errors:
Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
Solution::
Enter the node_modules/electron directory in the project from the command line and run the node install.js command
Read More:
- [Solved] electron Install Error: RequestError: read ECONNRESET
- [Solved] Electron Error: ReferenceError: require is not defined
- [Solved] electron-builder Package mac Error: panic: runtime error: index out of range
- NPM install error: Cannot find module ‘D:\zip\node_modules\npm\bin\npm-cli.js‘
- Taro Install Error: permission denied, symlink ‘../lib/node_modules/@tarojs/cli/bin/taro‘ -> ‘/usr/local/bin/tar
- Vue require Error: node_modules/babel-loader/lib
- [Solved] internal/modules/cjs/loader.js:892 ^Error: Cannot find module ‘C:\Users\LX\Desktop\Node_DEMO\a
- Angular6 rxjs start error in node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ‘;’ expected.
- [Solved] Doris StreamLoad Error: load by MERGE or DELETE need to upgrade table to support batch delete
- Solve Maven project running error Failed to clean project: Failed to delete
- Android integration of iFLYTEK’s speech recognition (voice dictation) error message “Failed to create the object, please confirm that libmsc.so is placed correctly, and createUtility is called to initialize”
- [Solved] sparkSQL Error: WARN TaskMemoryManager: Failed to allocate a page (bytes), try again.
- Node Kubelet Error: node “xxxxx“ not found [How to Solve]
- Module build failed: Error: Node Sass version 6.0.0 is incompatible with ^4.0.0
- Unknown custom element: [xxx] – did you register the component correctly…
- [Solved] error TS2584: Cannot find name ‘console’. Do you need to change your target library? Try changing the ‘lib’ compiler option to include ‘dom’.
- [How to Solve Vue warn]: Unknown custom element: did you register the component correctly?
- Error: an error occurred while performing the step: “building kernel modules”. See/var/log/NV
- NPM run dev Error Module build failed: Error: Cannot find module ‘node-sass’
- [Solved] swiper Error: The requested module ‘react’ is expected to be of type CommonJS, which does not support named exports. CommonJS modules can be imported by importing the default export