Questions tagged [npm-cli]
21 questions
0
votes
0 answers
Data path ".builders['app-shell']" should have required property 'class' when i was trying to use firebase with angular i got this error
Schema validation failed with the following errors: Data path
".builders['app-shell']" should have required property 'class'. Error:
Schema validation failed with the following errors: Data path
".builders['app-shell']" should have…
![](../../users/profiles/3686382.webp)
Manoj Jha
- 33
- 1
- 5
0
votes
0 answers
npm install and ng serve command not working despite having npm and proper path set up
I have all the required packages to run node and angular app. Everything was working fine and out of nowhere all hell broke loose. Now, when I try to run npm install to install all the dependencies of the project, I get the following issue:
$ npm…
![](../../users/profiles/5924007.webp)
Pritam Bohra
- 2,468
- 6
- 25
- 50
0
votes
1 answer
where should I store personal data for npm package?
For example, I have a npm package which is a cli-tool. Users should set their yahoo email and password first before using the functionalities.
My question is where should I store the personal data? Is there a convention?
![](../../users/profiles/5840491.webp)
zzzgoo
- 1,536
- 2
- 9
- 23
0
votes
2 answers
Why is npm passing cmd line flags directly to my script?
I'm using npm to run a build and I'm trying to override my .npmrc config options using cmd line flags. However npm insists on passing these flags directly to my script rather than reading them as config options as described in the docs. What am I…
![](../../users/profiles/10631.webp)
Cliff
- 9,408
- 6
- 59
- 95
0
votes
1 answer
run exec command as admin in MsBuild
I need to run the command npm cache clean --force as admin in my daily builds.
I am currently using the command:
and it fails with the following error:
npm ERR!…
![](../../users/profiles/6000623.webp)
Deepanshu Kalra
- 259
- 1
- 4
- 20
0
votes
3 answers
How to call npm version (to update my own package's version and then commit)
Nothing happens when I run
npm version minor -m "test"
As a note, there is output if I run npm version without any arguments:
$ npm version
{ 'my-app': '0.7.0',
npm: '4.2.0',
ares: '1.10.1-DEV',
cldr: '30.0.3',
http_parser: '2.7.0',
icu:…
![](../../users/profiles/484488.webp)
jmilloy
- 6,690
- 7
- 46
- 79