eirslett / frontend-maven-plugin

"Maven-node-grunt-gulp-npm-node-plugin to end all maven-node-grunt-gulp-npm-plugins." A Maven plugin that downloads/installs Node and NPM locally, runs NPM install, Grunt, Gulp and/or Karma.
Apache License 2.0
4.26k stars 870 forks source link

[WARNING] npm WARN invalid config registry="https://registry.npmjs.org/" [WARNING] npm WARN invalid config Must be a full url with 'http://' [ERROR] npm ERR! Cannot read property 'replace' of undefined #841

Open h0ttabych opened 5 years ago

h0ttabych commented 5 years ago

INFO] --- frontend-maven-plugin:1.8.0:npm (npm install) @ northEnergy --- [INFO] Running 'npm install' in E:\project [INFO] npm WARN invalid config registry="https://registry.npmjs.org/" [INFO] npm WARN invalid config Must be a full url with 'http://' [INFO] npm ERR! Cannot read property 'replace' of undefined

tripleplayj commented 5 years ago

Can you post your config where you're specifying the registry?

joseito1 commented 4 years ago

Hello I also have this warning and have not been able correct it no matter what I try, can someone please help, I new to programming and I'm just struggling with this, thanks in advance for any assistance,here is my error

npm WARN invalid config registry="" npm WARN invalid config Must be a full url with 'http://' internal/modules/cjs/loader.js:800 throw err; ^