All plugin installation fail
See original GitHub issueExpected Behavior
User should be able to install plugins even if they already have a NPM_TOKEN set
Actual Behavior
I cannot install any plugin, an error message is displayed, stating Failed to replace env in config: ${NPM_TOKEN}

Reproduction Steps
- Set NPM_TOKEN environment variable in your system (using fish shell in my case
set -gx NPM_TOKEN npm_XXXXXXXXXXXXXXXXX) - Open Insomnia and go to settings
- Go to Plugins tab
- Type
insomnia-plugin-fakerin plugin name and pressInstall plugin
Is there an existing issue for this?
- I have searched the issue tracker for this problem.
Additional Information
Error: Error invoking remote method 'installPlugin': Error: Yarn error {"type":"error","data":"Could not write file \"/yarn-error.log\": \"EROFS: read-only file system, open '/yarn-error.log'\""}
{"type":"error","data":"An unexpected error occurred: \"Failed to replace env in config: ${NPM_TOKEN}\"."}
at o.invoke (node:electron/js2c/renderer_init:57:526)
at async BP._handleAddFromNpm (file:///Applications/Insomnia.app/Contents/Resources/app.asar/index.c4312761.js:1849:44230)
Insomnia Version
v2022.5.0
What operating system are you using?
macOS
Operating System Version
macOS 12.5.1 (21G83)
Installation method
homebrew
Last Known Working Insomnia version
No response
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Plugins: installation failed! - WordPress.org
If nothing works, try manually installing plugins/themes: Try installing or upgrading the Plugin manually. Try installing or upgrading the Theme manually.
Read more >7 reasons why your WordPress plugin won't install
7 reasons why your WordPress plugin won't install · There are missing files · Syntax Error · You're exceeding limits · You're on...
Read more >Wordpress plugin installation fail - Stack Overflow
Download the plugins that you want to install on WordPress. · Open your CPanel and sign in. · Open “File Manager” · Locate...
Read more >How to Fix "Installation Failed: Could Not Create Directory"
This error is your server's way of saying you're not allowed to make changes to your site's files with the plugin or theme...
Read more >How to fix the “Destination folder already exists” error ...
If your WordPress theme or plugin installation failed, it might be due to the Destination folder already exists error.
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 Free
Top 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
I’m experiencing the same issue on 2022.6.0 (M1 Mac).
@filfreire I still have the error on latest stable. Maybe there is something wrong with my setup. I will double-check that