Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to build & run console #42

Open
GretUp opened this issue Jan 19, 2023 · 2 comments
Open

Not able to build & run console #42

GretUp opened this issue Jan 19, 2023 · 2 comments

Comments

@GretUp
Copy link

GretUp commented Jan 19, 2023

I tried step 3 in https://www.yuque.com/powerjob/en/sq8uml#tgMGS
When executing: "npm install" I am getting a bunch of deprecated warnings and errors.
e.g.
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibilitynpm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated

npm ERR! code 1
npm ERR! path C:\workspace\PowerJob-Console\node_modules\node-sass
npm ERR! command failed
npm ERR! command C:\windows\system32\cmd.exe /d /s /c node scripts/build.js
npm ERR! Building: C:\Program Files\nodejs\node.exe C:\workspace\PowerJob-Console\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=

npm ERR! gyp ERR! cwd C:\workspace\PowerJob-Console\node_modules\node-sass
npm ERR! gyp ERR! node -v v18.12.0
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok
npm ERR! Build failed with error code: 1

Can you please advice further?

Thank you!

@KFCFans
Copy link
Member

KFCFans commented Jan 20, 2023

my node version: v14.20.0
have a try~

@Syahsing
Copy link

Delete package-lock.json file, and try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants