sudo npm i -g meta fails to install
See original GitHub issueHere’s the log: 2018-02-05T18_26_42_802Z-debug.log
I’m able to git clone that repo without problems so not sure what the error msg about permission is about.
I made this edit to the package.json and it was able to install (Note: I am a novice to npm, so not sure this is the correct fix but it helped me move forward).
diff --git a/package.json b/package.json
index d6e8f1b..26edcee 100644
--- a/package.json
+++ b/package.json
@@ -33,7 +33,7 @@
"homepage": "https://github.com/mateodelnorte/meta#readme",
"dependencies": {
"chalk": "^2.1.0",
- "commander": "mateodelnorte/commander.js",
+ "commander": "https://github.com/mateodelnorte/commander.js/archive/v2.9.0.tar.gz",
"cross-env": "^3.1.4",
"debug": "^2.3.3",
"findup-sync": "^1.0.0",
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:13 (5 by maintainers)
Top Results From Across the Web
How to fix npm throwing error without sudo - node.js
Go to your nodejs install (usually C:\Program Files\nodejs); Right click node_modules folder and go to properties; Click the Security tab and advanced; At...
Read more >Resolving EACCES permissions errors when installing ...
This is the best way to avoid permissions issues. To reinstall npm with a node version manager, follow the steps in "Downloading and...
Read more >Can't install npm - Unable to correct problems, you have held ...
The error you're getting is because the npm package is tied to the built-in nodejs package. Just do this: curl -fsSL https://deb.nodesource.com/ ...
Read more >Library Error while installing NPM on Ubuntu 22.04 LTS
How can I fix this problem? Step 1: user@ubuntu:~$ sudo apt-get update Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease Reading ...
Read more >Can't update npm to newest version on Ubuntu - Super User
In my case it was giving me that error when trying to update the version of npm, it had version 3.5.2 and when...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Finally figured out what was going on for me with this. It was a firewall issues. On my network, default port for git 9418 was blocked which is why when I switched to https the problem when away.
This is happening in win10 behind corp proxy, other npm/github packages doing fine. Meta fails on npm i
fetchMetadata: sill resolveWithNewModule meta@2.2.4 checking installable status npm cache verify
It is somehow trying to fetch package via ssh