STDOUT:
npm <command>
Usage:
npm install install all the dependencies in your project
npm install <foo> add the <foo> dependency to your project
npm test run this project's tests
npm run <foo> run the script named <foo>
npm <command> -h quick help on <command>
npm -l display usage info for all commands
npm help <term> search for help on <term>
npm help npm more involved overview
All commands:
access, adduser, audit, bugs, cache, ci, completion,
config, dedupe, deprecate, diff, dist-tag, docs, doctor,
edit, exec, explain, explore, find-dupes, fund, get, help,
help-search, hook, init, install, install-ci-test,
install-test, link, ll, login, logout, ls, org, outdated,
owner, pack, ping, pkg, prefix, profile, prune, publish,
query, rebuild, repo, restart, root, run-script, sbom,
search, set, shrinkwrap, star, stars, start, stop, team,
test, token, uninstall, unpublish, unstar, update, version,
view, whoami
Specify configs in the ini-formatted file:
/home/ubuntu/.npmrc
or on the command line via: npm <command> --key=value
More configuration info: npm help config
Configuration fields: npm help 7 config
[email protected] /home/ubuntu/.nvm/versions/node/v22.21.1/lib/node_modules/npm
STDERR:
/tmp/build_1.sh: line 6: $'\r': command not found
/tmp/build_1.sh: line 7: $'\r': command not found
/tmp/build_1.sh: line 14: $'\r': command not found
/tmp/build_1.sh: line 17: $'\r': command not found
/tmp/build_1.sh: line 22: $'\r': command not found
/tmp/build_1.sh: line 25: $'\r': command not found
/tmp/build_1.sh: line 28: $'\r': command not found
fatal: not a git repository (or any of the parent directories): .git
/tmp/build_1.sh: line 30: $'\r': command not found
/tmp/build_1.sh: line 34: $'\r': command not found
/tmp/build_1.sh: line 35: nvm: command not found
/tmp/build_1.sh: line 36: nvm: command not found
npm error code ENOENT
npm error syscall open
npm error path /home/ubuntu/Development/flask_ci/package.json
npm error errno -2
npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/home/ubuntu/Development/flask_ci/package.json'
npm error enoent This is related to npm not being able to find a file.
npm error enoent
npm error A complete log of this run can be found in: /home/ubuntu/.npm/_logs/2026-03-25T04_19_43_487Z-debug-0.log
npm error code ENOENT
npm error syscall open
npm error path /home/ubuntu/Development/flask_ci/package.json
npm error errno -2
npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/home/ubuntu/Development/flask_ci/package.json'
npm error enoent This is related to npm not being able to find a file.
npm error enoent
npm error A complete log of this run can be found in: /home/ubuntu/.npm/_logs/2026-03-25T04_19_44_244Z-debug-0.log