Closed Code-shaker closed 3 years ago
Did you run npm install
command, which is build steps step 2?
If so, did that command complete successfully, or is there any errors (you can ignore warnings)?
The second step to npm install was complete, I am not sure if there are any errors.
But if I run again npm install I got some errors:
ENOENT
npm ERR! syscall open
npm ERR! path /home/vmadmin/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/home/vmadmin/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /home/vmadmin/.npm/_logs/2021-07-06T14_39_02_971Z-debug.log
You cloned NDN-DPDK codebase in /home/vmadmin/ndn-dpdk
directory:
Source dir: /home/vmadmin/ndn-dpdk
You are running npm install
in /home/vmadmin
directory:
ENOENT: no such file or directory, open '/home/vmadmin/package.json'
You need to run npm install
in /home/vmadmin/ndn-dpdk
directory instead.
Error message contains the string ERR!
, and is shown in red if colors are enabled.
You can run npm install
(in the correct directory) again.
If there were errors, they would occur again.
If necessary, you can cleanup NPM related temporary files with rm -rf package-lock.json node_modules
.
Ohh yes I use the wrong direction, sry I mix up.
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
added 774 packages, and audited 775 packages in 19s
105 packages are looking for funding
run `npm fund` for details
5 moderate severity vulnerabilities
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.
# npm audit report
glob-parent <5.1.2
Severity: moderate
Regular expression denial of service - https://npmjs.com/advisories/1751
No fix available
node_modules/xo/node_modules/glob-parent
fast-glob <=2.2.7
Depends on vulnerable versions of glob-parent
node_modules/xo/node_modules/fast-glob
globby 8.0.0 - 9.2.0
Depends on vulnerable versions of fast-glob
node_modules/xo/node_modules/globby
xo >=0.20.0
Depends on vulnerable versions of globby
node_modules/xo
@yoursunny/xo-config *
Depends on vulnerable versions of xo
node_modules/@yoursunny/xo-config
5 moderate severity vulnerabilities
Some issues need review, and may require choosing
a different dependency.
Ohh yes I use the wrong direction, sry I mix up.
There's no error in the npm install
output.
You don't need to worry about audit advisories, because they don't handle inputs from the network.
After a successful npm install
, is the original make
error resolved?
Yes it works, thanks for your time to resolve and help.