-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
NPM 9 breaks @grafana/e2e
cli because npm bin
is removed
#59425
Comments
npm bin
is removed@grafana/e2e
cli because npm bin
is removed
Thanks for creating this issue, @fmterrorf I can reproduce this issue following the OP's steps. Use this guide to build a backend datasource plugin. with the following settings
|
@zuchka I've removed plugins platform project from this issue, we still have to sort our internally which team is responsible for this package. |
I can also attempt to put up a fix if you want. Im thinking of just using |
@fmterrorf by all means, we welcome community PRs! I'll make sure it gets reviewed right away 👍 |
I might have to skip on this. I can't figure how to setup my test environment and I don't have enough time to figure it out. Sorry |
What happened:
grafana-e2e run
does not work and outputsWhat you expected to happen:
The command runs
How to reproduce it (as minimally and precisely as possible):
Create a new plugin using the plugin code gen and run
npm run e2e
. Make sure npm is using version 9Anything else we need to know?:
npm bin
command which is removed in npm @ 9 feat: removenpm bin
npm/cli#5459npm bin
is removed,resolve-as-bin
will return an errorA temporary solution would be to downgrade to NPM 8
The text was updated successfully, but these errors were encountered: