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

really install node from nodesource #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

really install node from nodesource #16

wants to merge 1 commit into from

Conversation

schplurtz
Copy link

@schplurtz schplurtz commented May 18, 2021

this is a solution to #15

It installs apt-transport-https gnupg lsb-release packages before running curl ....| bash. Also, it just installs nodejs, not npm. This package is an ubuntu package and is not needed as it is bundled in nodesource.com nodejs package.

@ibam-93
Copy link

ibam-93 commented Jul 18, 2024

image

#29 [builder 23/34] RUN npm install
#29 2.056 npm WARN deprecated [email protected]: You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
#29 2.057 npm WARN deprecated
#29 2.058 npm WARN deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
#29 2.223 WARN engine [email protected]: wanted: {"node":">=12.22.0"} (current: {"node":"8.10.0","npm":"3.5.2"})
#29 8.565 npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
#29 8.717 npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
#29 10.21 npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
#29 14.95 npm WARN deprecated [email protected]: 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.
#29 23.40 npm ERR! Linux 5.10.16.3-microsoft-standard-WSL2
#29 23.40 npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
#29 23.40 npm ERR! node v8.10.0
#29 23.40 npm ERR! npm v3.5.2
#29 23.40 npm ERR! code EMISSINGARG
#29 23.40
#29 23.40 npm ERR! typeerror Error: Missing required argument #1
#29 23.40 npm ERR! typeerror at andLogAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:31:3)
#29 23.40 npm ERR! typeerror at fetchPackageMetadata (/usr/share/npm/lib/fetch-package-metadata.js:51:22)
#29 23.40 npm ERR! typeerror at resolveWithNewModule (/usr/share/npm/lib/install/deps.js:456:12)
#29 23.40 npm ERR! typeerror at /usr/share/npm/lib/install/deps.js:457:7
#29 23.40 npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50
#29 23.40 npm ERR! typeerror at /usr/share/npm/lib/fetch-package-metadata.js:37:12
#29 23.40 npm ERR! typeerror at addRequestedAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:82:5)
#29 23.40 npm ERR! typeerror at returnAndAddMetadata (/usr/share/npm/lib/fetch-package-metadata.js:117:7)
#29 23.40 npm ERR! typeerror at pickVersionFromRegistryDocument (/usr/share/npm/lib/fetch-package-metadata.js:134:20)
#29 23.40 npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50
#29 23.40 npm ERR! typeerror This is an error with npm itself. Please report this error at:
#29 23.40 npm ERR! typeerror http://github.com/npm/npm/issues
#29 24.29
#29 24.29 npm ERR! Please include the following file with any support request:
#29 24.29 npm ERR! /wass/WASSjs/npm-debug.log
#29 ERROR: process "/bin/sh -c npm install" did not complete successfully: exit code: 1

[builder 23/34] RUN npm install:
23.40 npm ERR! typeerror at /usr/share/npm/lib/fetch-package-metadata.js:37:12
23.40 npm ERR! typeerror at addRequestedAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:82:5)
23.40 npm ERR! typeerror at returnAndAddMetadata (/usr/share/npm/lib/fetch-package-metadata.js:117:7)
23.40 npm ERR! typeerror at pickVersionFromRegistryDocument (/usr/share/npm/lib/fetch-package-metadata.js:134:20)
23.40 npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50
23.40 npm ERR! typeerror This is an error with npm itself. Please report this error at:
23.40 npm ERR! typeerror http://github.com/npm/npm/issues
24.29
24.29 npm ERR! Please include the following file with any support request:
24.29 npm ERR! /wass/WASSjs/npm-debug.log


Dockerfile:93

91 | USER wass
92 | WORKDIR /wass/WASSjs
93 | >>> RUN npm install
94 |
95 |

ERROR: failed to solve: process "/bin/sh -c npm install" did not complete successfully: exit code: 1
#0 building with "default" instance using docker driver

Facing issues with it I tried even with the docker image the github code all same but stuck with it

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

Successfully merging this pull request may close these issues.

2 participants