Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I am trying to install "npm install -g powerbi-visuals-tools" but I am ending with below error msg.
Can any one help me on this.
npm ERR! code E503
npm ERR! 503 Service Unavailable - GET http://registry.npmjs.org/powerbi-visuals-tools
@Anonymous,
An HTTP 503 means 'Service Unavailable'. It's possible that NPM was experiencing outages when you were attempting to download powerbi-visuals-tools.
If you have a continued unavailability and you can access npmjs.com in your browser, it's possible that there are some network/proxy issues local to you. For instance, my work network is quite restrictive and I had to get npmjs.org whitelisted so that I could download packages. If you have a network admin, it might be worth seeking their assistance to see if there's anything being blocked your end.
Hopefully this might give you a few ideas.
Good luck!
Daniel
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Thanks for your Update!!
I tried all the possibilities but still I am getting same message.
Hmmm... if it's definitely not a proxy issue then it might be worth looking at the registry. I see from your post that it's trying to resolve via HTTP and NPM has been using HTTPS for a while now. Of note, I tried to replicate this using the registry your output reports above and I couldn't get it to fail, but you should probably update the setting anyway and see if it helps.
Run:
npm config set registry https://registry.npmjs.org
Confirm it has been changed to HTTPS by running:
npm config get registry
It should be the same as set above in the first step.
Try re-running your command again. If it errors, then you might want to confirm that trying to install other modules (e.g. d3) has the same result. If so, this suggests that it's something very specific to NPM rather than the Custom Visuals SDK, and you'll get much better support over at https://npm.community/.
I hope some of this might help you out,
Daniel
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Thanks for your reply.
Still I am getting same error!!
Ok, so it definitely sounds like something very specific to your situation or setup, particularly if it's happening for all packages. I really think you'll get faster and better support if you post this over at https://npm.community/.
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
20 | |
3 | |
2 | |
2 | |
2 |