scratch-gui icon indicating copy to clipboard operation
scratch-gui copied to clipboard

cb() never called when running npm ci

Open SDFTDusername opened this issue 1 year ago • 2 comments

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

image 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

image 2023-07-22T09_24_44_460Z-debug.log

Steps to Reproduce

  1. install NODE v.14.X with the MSI (any latest version, NPM 6.14.18 has been automatically installed with it)
  2. install git 2.41.0
  3. restart Windows
  4. clone https://github.com/TurboWarp/scratch-gui with git and CD into it (default command prompt is used)
  5. 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)
  6. now run npm ci inside the scratch-gui folder and not npm 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

SDFTDusername avatar Jul 22 '23 09:07 SDFTDusername

im also experiencing some problems with the turbowarp gui and the normal scratch one

bubzilla avatar Aug 01 '23 03:08 bubzilla

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

bubzilla avatar Aug 01 '23 15:08 bubzilla