question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sudo npm i -g meta fails to install

See original GitHub issue

Here’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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kevbrochcommented, Oct 5, 2018

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.

0reactions
yyynnncommented, Jul 10, 2019

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found