I have installed Latest nodeJS(v.8.9.1) and npm(6.1.0), though im getting below problem
npm WARN saveError ENOENT: no such file or directory, open
'F:\AngularProject\Node\package.json'
npm notice created a lockfile as package-lock.json. You should commit this
file.
npm WARN enoent ENOENT: no such file or directory, open
'F:\AngularProject\Node\package.json'
npm WARN #angular/core#2.4.10 requires a peer of rxjs#^5.0.1 but none is
installed. You must install peer
dependencies yourself.
npm WARN Node No description
npm WARN Node No repository field.
npm WARN Node No README data
npm WARN Node No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents#1.2.4
(node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for
fsevents#1.2.4: wanted {"os":"darw
in","arch":"any"} (current: {"os":"win32","arch":"x64"})
+ angular-cli#1.0.0-beta.28.3
added 922 packages from 761 contributors and audited 5006 packages in
280.149s
found 14 vulnerabilities (1 low, 9 moderate, 4 high)
run `npm audit fix` to fix them, or `npm audit` for details
I have searched in net,but couldn't sort out.I tried the some possible ways like clear npm cache,installed latest npm,Tried in administrator console. But still unable to find out.
Related
After installing packages using npm install webpack webpack-cli webpack-dev-server --save-dev
The terminal gives me this error message:
➜ Projeto npm install webpack webpack-cli webpack-dev-server --save-dev
npm WARN deprecated chokidar#2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated fsevents#1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated resolve-url#0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix#0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents#^1.2.7 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents#1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN projeto#1.0.0 No description
npm WARN projeto#1.0.0 No repository field.
+ webpack-dev-server#3.11.2
+ webpack-cli#4.7.0
+ webpack#5.38.1
updated 3 packages and audited 499 packages in 35.305s
1 package is looking for funding
run `npm fund` for details
found 1 moderate severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
➜ Projeto material-ui
zsh: command not found: material-ui
➜ Projeto npm install # material-ui / core
npm WARN deprecated material-ui#0.20.2: You can now upgrade to #material-ui/core
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name "#": Tags may not have any characters that encodeURIComponent encodes.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/peter/.npm/_logs/2021-06-02T04_35_32_632Z-debug.log
Because you typed
npm install # material-ui / core
instead of
npm install #material-ui/core
npm went and tried to install the packages #, material-ui, / and core. Because # on its own is an invalid tag name, it threw that error. To undo what you've done, you need to execute:
npm uninstall material-ui core
and then
npm install #material-ui/core --save-dev
While installing Jest with npm I received the following warnings. I would like to know in general what they mean:
npm install --save-dev jest
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 request-promise-native#1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated request#2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator#5.1.5: this library is no longer supported
npm WARN saveError ENOENT: no such file or directory, open '/home/burtrandpaulie/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents#^2.1.2 (node_modules/jest-haste-map/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents#2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN enoent ENOENT: no such file or directory, open '/home/burtrandpaulie/package.json'
npm WARN burtrandpaulie No description
npm WARN burtrandpaulie No repository field.
npm WARN burtrandpaulie No README data
npm WARN burtrandpaulie No license field.
+ jest#26.6.3
added 520 packages from 355 contributors and audited 521 packages in 61.729s
24 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
All the ones prior to the last 4 are related to dependencies of jest. There are some packages jest uses that have announced they are deprecating, but at this point they are still in wide use (e.g. request) so you can inquire with the jest project what their plan is, but while deprecated the request module will likely be around a while.
The last 4 lines are about your own package.json:
npm WARN burtrandpaulie No description
npm WARN burtrandpaulie No repository field.
npm WARN burtrandpaulie No README data
npm WARN burtrandpaulie No license field.
which just says your package.json doesn't have that info. Nothing crazy or required esp. if you're just starting a project.
after i use npm install sass in cmd
then cmd show these errors
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\me\package.json'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents#~2.3.1 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents#2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\me\package.json'
npm WARN me No description
npm WARN me No repository field.
npm WARN me No README data
npm WARN me No license field.
+ sass#1.32.8
added 15 packages from 18 contributors and audited 16 packages in 3.402s
1 package is looking for funding
run `npm fund` for details
found 0 vulnerabilities
i dont know how to solve these errors
Those are just npm warnings about the package you are installing, in your case you don't have to worry about them unless something is not working. You can ignore them if you like by running:
npm install sass --silent
npm docs
I'm installing the following package on Linux Mint
https://github.com/frida/frida-compile
I try to install it by
~ $ sudo npm install frida-compile
npm WARN saveError ENOENT: no such file or directory, open '/home/david/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/david/package.json'
npm WARN david No description
npm WARN david No repository field.
npm WARN david No README data
npm WARN david No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents#1.2.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents#1.2.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ frida-compile#5.3.7
updated 1 package in 2.883s
[!] 2 vulnerabilities found [21344 packages audited]
Severity: 2 Low
Run `npm audit` for more detail
And when I run frida-compile on the command line, I get
frida-compile: command not found
Any idea what the issue is here?
I am running Node 8.11.1
I've installed nodejs v7.5.0 and npm v4.1.2 in my 32 bit linux mint machine. while I'm typin' npm install into terminal, it gives me these informations instead of being installed npm packages are:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents#^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents#1.0.17: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"ia32"})
npm WARN #angular/core#2.4.7 requires a peer of rxjs#^5.0.1 but none was installed.
npm WARN shwokat#1.0.0 No description
npm WARN shwokat#1.0.0 No repository field
Now where's my wrong? how to solve it and install npm packages correctly, please let me know?
Try sudo npm install npm -g
Go through the official guide.