Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm error: npm sill pacote range manifest for chartjs-plugin-datalabels #18

Closed
johnmerced-ks opened this issue Dec 7, 2017 · 7 comments

Comments

@johnmerced-ks
Copy link

johnmerced-ks commented Dec 7, 2017

I'm getting the following messaged when doing npm install:

> 2017-12-07T13:59:43.6102420Z npm http fetch GET 200 https://registry.npmjs.org/chartjs-plugin-datalabels 125ms
> 2017-12-07T13:59:43.6102420Z npm sill pacote range manifest for chartjs-plugin-datalabels@^0.1.0 fetched in 157ms

dependencies:

{
  "axios": "^0.17.1",
  "bulma": "^0.6.1",
  "moment": "^2.19.2",
  "vue": "^2.5.4",
  "vue-router": "^3.0.1",
  "chart.js": "^2.7.1",
  "chartjs-plugin-datalabels": "^0.1.0"
}

Any idea what I may be missing?

Edit(SB): code formatting

@simonbrunel
Copy link
Member

I just tried to install the npm package and it works, so might be something with your environment. Is it the only dependency that fails? Did you try to npm cache clean, then npm install to see if that's not a cache issue?

@johnmerced-ks
Copy link
Author

Yes, I did npm cache clean. And yes, it's installing correctly on my local machine but the server machine is the one giving me the error.

Does the node version might be an issue? I think I have a different node version from the server machine.

@simonbrunel
Copy link
Member

simonbrunel commented Dec 7, 2017

I'm using npm 5.5.1. I'm not sure how I can help since it seems specific to your server config (maybe a proxy issue as described in npm/npm#13729). As suggested in this comment, It might help to see the output with --verbose.

@johnmerced-ks
Copy link
Author

johnmerced-ks commented Dec 7, 2017

Here are the logs, I used install --save-exact --loglevel silly
https://pastebin.com/aTwX1Dq3

@johnmerced-ks
Copy link
Author

I just confirmed and I have the same node and npm version as our server marchine.

@simonbrunel
Copy link
Member

Based on your logs, it looks like it tries to install only this plugin, are other dependencies (chart.js, vue, moment, etc.) already installed? If so, I would try to install your project from scratch with no pre-existing node_modules folder. Then you would know if the issue is specific to that plugin or to all dependencies.

@johnmerced-ks
Copy link
Author

I fixed it by cleaning the directory completely before doing all the build process.

Thank you for your help!

@simonbrunel simonbrunel changed the title npm not installing this dependency npm error: npm sill pacote range manifest for chartjs-plugin-datalabels Dec 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants