Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugins cannot be installed when published under an npm-scope #468

Closed
2 tasks done
olsn opened this issue Jun 10, 2018 · 0 comments · Fixed by #578
Closed
2 tasks done

Plugins cannot be installed when published under an npm-scope #468

olsn opened this issue Jun 10, 2018 · 0 comments · Fixed by #578

Comments

@olsn
Copy link

olsn commented Jun 10, 2018

  • I am on the latest Cerebro.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Windows 10
  • Cerebro.app version: 0.3.2, 0.3.3 / master
  • Relevant information from devtools:
Version: 0.1.0
Extract https://registry.npmjs.org/@omm/cerebro-confluence-jira/-/cerebro-confluence-jira-0.1.0.tgz to C:\Users\Olaf\AppData\Roaming\Cerebro\plugins\node_modules\@omm\cerebro-confluence-jira
Download and extract to temp path: C:\Users\Olaf\AppData\Local\Temp/cerebro-confluence-jira
Move C:\Users\Olaf\AppData\Local\Temp/cerebro-confluence-jira to C:\Users\Olaf\AppData\Roaming\Cerebro\plugins\node_modules\@omm\cerebro-confluence-jira
Error in package installation
Error: ENOENT: no such file or directory, rename 'C:\Users\Olaf\AppData\Local\Temp\cerebro-confluence-jira' -> 'C:\Users\Olaf\AppData\Roaming\Cerebro\plugins\node_modules\@omm\cerebro-confluence-jira'

Issue

When a plugin is published under a specific scope (e.g. via an npm-organization), like in my case @omm/cerebro-confluence-jira - the plugin-installation will fail. Dev-tools output is listed above - the installation-process could be probably fixed by replacing the slash in the module-name with something else - but I'm not sure if that might not cause any unwanted sideeffects.
For now i've published by plugin without a scope - I've left my other plugin published though in case someone wants to try to reproduce this issue.

@dubisdev dubisdev mentioned this issue Aug 1, 2022
8 tasks
ogustavo-pereira pushed a commit that referenced this issue Aug 30, 2022
* fix: allow plugins to have scope
fix #468

* fix: scoped plugins in development mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant