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…
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…
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?
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…
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!…
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:…
jmilloy
  • 6,690
  • 7
  • 46
  • 79
1
2