If you are experiencing building js files for production follow these steps
- Make sure you have the correct node version
- Delete node_modules
- Delete package-lock.json
- Install correct node version
- Restart the Terminal (This step is required on Windows so PATH updates correctly)
- execute npm install in PowerShell / Command Prompt / VS Code terminal
- execute npm run dev in PowerShell / Command Prompt / VS Code terminal
Cheers
Samitha
No comments:
Post a Comment