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.

[Bug] npm error when trying to install plugin

See original GitHub issue
  • Insomnia Version: 6.0.2
  • Operating System: Windows 10

Details

I’m trying to install a plugin, insomnia-plugin-jwtdecode to be specific, but I get the following error when trying to install via Preferences -> Plugins:

insomnia-plugin-jwtdecode npm error: Command failed: C:\Users\username\AppData\Local\insomnia\app-6.0.2\Insomnia.exe --no-deprecation C:\Users\username\AppData\Local\insomnia\app-6.0.2\resources\bin\yarn-standalone.js info insomnia-plugin-jwtdecode --json

I opened DevTools, but I don’t see an error, I only see: [plugins] Fetching module info from npm

Please let me know if you want me to provide more information. Thank you.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:29 (16 by maintainers)

github_iconTop GitHub Comments

2reactions
gigounicommented, Nov 27, 2018

Hi,

I succeed to install insomnia-plugin-jwtencode plugin with the following commands

C:\Users\ngigou\AppData\Roaming\Insomnia\plugins
λ yarn add insomnia-plugin-jwtdecode
yarn add v1.6.0
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 2 new dependencies.
info Direct dependencies
└─ insomnia-plugin-jwtdecode@1.0.2
info All dependencies
├─ base-64@0.1.0
└─ insomnia-plugin-jwtdecode@1.0.2
Done in 0.38s.

C:\Users\ngigou\AppData\Roaming\Insomnia\plugins
λ ll
total 6
drwxr-xr-x 1 ngigou 1049089    0 Nov 27 11:35 node_modules
-rw-r--r-- 1 ngigou 1049089   75 Nov 27 11:35 package.json
-rw-r--r-- 1 ngigou 1049089 2779 Nov 27 11:35 yarn-error.log
-rw-r--r-- 1 ngigou 1049089  479 Nov 27 11:35 yarn.lock

Was such a hard time to found out how to do it, even with docs when you’re a new Insomnia user. Hope it could help some of you until it’s “fixed”. 👍

@gschier @ghost99cze

2reactions
andreduvoisincommented, Oct 23, 2018

I’m seeing this exact same problem, same output and results. 6.0.2 / Windows 10. Workaround was to go into the plugins folder and npm install insomnia-plugin-default-headers (which is using my NPM installation instead of the bundled Yarn, but it seems to work anyways).

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm install errors with Error: ENOENT, chmod - Stack Overflow
I fixed this error by uninstall/restart/install node. js completely and it fixed this error, along with the three other mysterious errors that are...
Read more >
Common errors | npm Docs
You are trying to install on a drive that either has no space, or has no permission to write. Free some disk space...
Read more >
Troubleshooting guide - Gauge Documentation
Remove PLUGIN_INSTALL_LOCATION\js . · Run npm cache clean -f . · Install the plugin again by running gauge install js .
Read more >
Hardhat errors | Ethereum development environment for ...
Unless you are creating a task or plugin, this is probably a bug. ... Please install Hardhat locally using npm or Yarn, and...
Read more >
Troubleshooting Node.js Deploys - Heroku Dev Center
Check the buildpack · Compare Node and npm Versions · Make sure the lockfile is up to date · Don't check in generated...
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