Open benloh opened 10 months ago
Errors like Error: Cannot find module 'ws'
and sh: webpack: command not found
are generally related package errors to switching between node versions. e.g. you use one version of node to run Net.Create, then switch to GEM-STEP without switching node.
A full clean should do the trick. All steps are important here!
Currently the node version should be 14.21.3.
cd gsgo
nvm use
rm -rf node_modules
npm ci
npm run bootstrap
npm run gem
Important points:
npm run dev
isn't working, generally you need to remove the node_modules
folder to force node to updates its pacakges. If you run npm ci
without clearing out any cached packages, you can end up in a state where nothing seems to work.package.json
has changed you need to run npm run bootstrap
to rebuild libraries.npm run build
(npm run bootstrap
will also trigger a build).
Joshua reports:
and