scratch-gui
scratch-gui copied to clipboard
cb() never called when running npm ci
when I try to build scratch-gui with npm ci
, it outputs an error saying that cb() is never called and is an error with npm itself. running npm start
fails and outputs
2023-07-22T09_14_48_214Z-debug.log
Expected Behavior
npm ci
should successfully build and npm start
should start the server without any problems
Actual Behavior
npm ci
takes a long time to finish and fails at the end, with the error saying that cb() is never called which npm says is also an error within itself
after that when i run npm start
, it outputs an error that webpack-dev-server isn't recognized as an internal or external command which says that it isn't a problem from npm
2023-07-22T09_24_44_460Z-debug.log
Steps to Reproduce
- install NODE v.14.X with the MSI (any latest version, NPM 6.14.18 has been automatically installed with it)
- install git 2.41.0
- restart Windows
- clone https://github.com/TurboWarp/scratch-gui with git and CD into it (default command prompt is used)
- not necessary but import the cloned repository on GitHub Desktop and sync it to get commits from the original repository (automatically syncs it for me)
- now run
npm ci
inside the scratch-gui folder and notnpm init
since scratch-gui contains package-lock.json (i also tried running command prompt in administrator mode)
Operating System and tools
Windows Home 10.0.19045 Build 19045 Node v14.21.3 NPM 6.14.18
im also experiencing some problems with the turbowarp gui and the normal scratch one
i researched it and i turns out you need nodejs 16 which you can download by clicking this link: https://nodejs.org/dist/latest-v16.x/node-v16.20.1-x64.msi