-
Notifications
You must be signed in to change notification settings - Fork 45
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
Error during package installation #92
Comments
@EHJ-52n help me here plz . since so much problem occur on package installation in local machine So I want to install it in docker how can I do it could you plz help me |
docker build -t cmd .
|
Please get in touch with someone more involved: https://github.com/52North/helgoland/graphs/contributors. |
---------------------NPM Issue-----------------------------
----------------------#Docker Issue----------------------------- For docker their is possibility of many issues like :
Try these and do let me know if the issue still exists |
npm WARN deprecated core-js@3.6.4: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'U:\helgoland\node_modules\webdriver-js-extender',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'U:\helgoland\node_modules\webdriver-js-extender\built\built\built\built\built\built\built\built\built\built\spec'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'U:\helgoland\node_modules\webdriver-js-extender\built\built\built\built\built\built\built\built\built\built\spec'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
npm ERR! code 1
npm ERR! path U:\helgoland\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 U:\helgoland\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli 'C:\Program Files\nodejs\node.exe',
npm ERR! gyp verb cli 'U:\helgoland\node_modules\node-gyp\bin\node-gyp.js',
npm ERR! gyp verb cli 'rebuild',
npm ERR! gyp verb cli '--verbose',
npm ERR! gyp verb cli '--libsass_ext=',
npm ERR! gyp verb cli '--libsass_cflags=',
npm ERR! gyp verb cli '--libsass_ldflags=',
npm ERR! gyp verb cli '--libsass_library='
npm ERR! gyp verb cli ]
npm ERR! gyp info using node-gyp@3.8.0
npm ERR! gyp info using node@18.15.0 | win32 | x64
npm ERR! gyp verb command rebuild []
npm ERR! gyp verb command clean []
npm ERR! gyp verb clean removing "build" directory
npm ERR! gyp verb command configure []
npm ERR! gyp verb check python checking for Python executable "python2" in the PATH
npm ERR! gyp verb
which
failed Error: not found: python2npm ERR! gyp verb
which
failed at getNotFoundError (U:\helgoland\node_modules\which\which.js:13:12)npm ERR! gyp verb
which
failed at F (U:\helgoland\node_modules\which\which.js:68:19)npm ERR! gyp verb
which
failed at E (U:\helgoland\node_modules\which\which.js:80:29)npm ERR! gyp verb
which
failed at U:\helgoland\node_modules\which\which.js:89:16npm ERR! gyp verb
which
failed at U:\helgoland\node_modules\isexe\index.js:42:5npm ERR! gyp verb
which
failed at U:\helgoland\node_modules\isexe\windows.js:36:5npm ERR! gyp verb
which
failed at FSReqCallback.oncomplete (node:fs:208:21)npm ERR! gyp verb
which
failed python2 Error: not found: python2npm ERR! gyp verb
which
failed at getNotFoundError (U:\helgoland\node_modules\which\which.js:13:12)npm ERR! gyp verb
which
failed at F (U:\helgoland\node_modules\which\which.js:68:19)npm ERR! gyp verb
which
failed at E (U:\helgoland\node_modules\which\which.js:80:29)npm ERR! gyp verb
which
failed at U:\helgoland\node_modules\which\which.js:89:16npm ERR! gyp verb
which
failed at U:\helgoland\node_modules\isexe\index.js:42:5npm ERR! gyp verb
which
failed at U:\helgoland\node_modules\isexe\windows.js:36:5npm ERR! gyp verb
which
failed at FSReqCallback.oncomplete (node:fs:208:21) {npm ERR! gyp verb
which
failed code: 'ENOENT'npm ERR! gyp verb
which
failed }npm ERR! gyp verb check python checking for Python executable "python" in the PATH
npm ERR! gyp verb
which
succeeded python C:\Users\LENOBO\AppData\Local\Programs\Python\Python311\python.EXEnpm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Command failed: C:\Users\LENOBO\AppData\Local\Programs\Python\Python311\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack File "", line 1
npm ERR! gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
npm ERR! gyp ERR! stack SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
npm ERR! gyp ERR! stack
npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child_process:419:12)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at maybeClose (node:internal/child_process:1091:16)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm ERR! gyp ERR! System Windows_NT 10.0.22621
npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "U:\helgoland\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd U:\helgoland\node_modules\node-sass
npm ERR! gyp ERR! node -v v18.15.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
npm ERR! A complete log of this run can be found in: C:\Users\LENOBO\AppData\Local\npm-cache_logs\2023-09-14T06_35_29_229Z-debug-0.log
PS U:\helgoland> npm config set python python3
npm ERR!
python
is not a valid npm optionThe text was updated successfully, but these errors were encountered: