Common Errors and Their Solutions
Permission denied when running npm run dev
When running the command npm run dev
, from within apps/rockmtn-platform
, for example, you could encounter the following error:
sh: 1: next: Permission denied
Solutions
This error can be thrown when you have failed to run
npm install
ornpm i
to install package dependencies. Be sure you have completed the entire One-time Initial Setup Procedure documented in<project-root>/readme.md
ChunkLoadError: Loading chunk
Delete the .next
folder, relaunch your project (e.g. npm run dev
), and force-refresh your web page (SHIFT+ F5 / CMD + SHIFT+ R) to remove the cache.
Module not found: Can't resolve 'glass-web-components/loader'
Example:
This can happen after making a configuration change and failing to rebuild. Try running the command:
Last updated