npm run build error and solutions
See original GitHub issueFound an issue or bug with electron-vue? Tell me all about it!
Questions regarding how to use electron or vue are likely to be closed as they are not direct issues with this boilerplate. Please seek solutions from official documentation or their respective communities.
Describe the issue / bug.
#
When I run npm run build the system has an error
const tasks = new Listr(
^
SyntaxError: Identifier ‘tasks’ has already been declared; then I changed the variable name ,but it has another error: const m = new Multispinner(taskss, { ^
ReferenceError: Multispinner is not defined
then i run npm install --save multispinner and reuqire multispinner
then i success,
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:14
Top Results From Across the Web
Errors when running npm run build - node.js - Stack Overflow
Im trying to create my built folder for a react project, but I get this error when I run the command 'npm run...
Read more >Execution of "npm run build" causes an error and can not be ...
I purchased Material Dashboard Pro React.(material-dashboard-pro-react@1.2.0) Execution of "npm run build" causes an error and can not be ...
Read more >Common errors | npm Docs
Some strange issues can be resolved by simply running npm cache clean and trying again. If you are having trouble with npm install...
Read more >How can i fix npm run build error more efficiently - Support
i ran into error TS2565: Property 'defaultProps' is used before being assigned while “npm run build”. OS: WSL2 Ubuntu 18.04 LTS.
Read more >Error when running npm run build : r/react - Reddit
Error when running npm run build · Delete package-lock.json (not package.json!) and/or yarn. · Delete node_modules in your project folder. · Remove ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

no need to install multispinner, just comment out the following code in .electron-vue/build.js
No problem @monhly, it works now I just change my node+npm versions