-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
ERR_INVALID_PACKAGE_TARGET #13
Comments
- tracking then/is-promise#13
so this is resolved? |
Nope, and it's broken serverless for me :( |
Similar:
A full log refer to azure pipelines |
Nope, it got broken in the |
The left pad fiasco all over. https://www.theregister.co.uk/2016/03/23/npm_left_pad_chaos/ It's a single line of code. Why do we need a package for this? |
Same is happening to me, started some minutes ago:
|
Broke Serverless for me too! :( |
Duplicate of #12. |
If you're using Yarn here's a fix:
"resolutions": {
"is-promise": "2.1.0",
"run-async/is-promise": "2.1.0",
"memoizee/is-promise": "2.1.0"
} Then I |
Broke create-react-app for me.
|
A fucking idiot published a new version of is-promise on Githu Saturday afternoon and it brake the Front end build See then/is-promise#13
If you're using npm, you can fix the issue by editing your Identify the modules that are using the failing "run-async": {
"version": "2.4.0",
"resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.0.tgz",
"integrity": "sha512-xJTbh/d7Lm7SBhc1tNvTpeCHaEzoyxPrqNlvSdMfBTYwaY++UJFyXUOxAtsRUXjlqOfj8luNaR9vjCh4KeV+pg==",
"dev": true,
"requires": {
"is-promise": "^2.1.0"
}
}, Move the "run-async": {
"version": "2.4.0",
"resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.0.tgz",
"integrity": "sha512-xJTbh/d7Lm7SBhc1tNvTpeCHaEzoyxPrqNlvSdMfBTYwaY++UJFyXUOxAtsRUXjlqOfj8luNaR9vjCh4KeV+pg==",
"dev": true,
"dependencies": {
"is-promise": {
"version": "2.1.0"
}
}
}, Next, rerun (If using yarn, see comment #13) |
but how to do it to create a new project using npx create-react-app? |
😂 holy shit 😂 JS ecosystem is just utterly broken beyond any repair. |
Fyi, this is on hackernews, expect a lot attention/comments/shitposting. |
https://deno.land/ piling on the bandwagon |
This also seems to be affecting latest on firebase-tools. |
This is affecting so many packages, this is also affecting npx eslint --init 😥 |
If you are on NPM, run: |
Does this work if a 3rd party dependency uses |
It just did for me. |
I'm unsure exactly what dependencies i have that were broken - but it was for sure more than one. It's some big projects, worked on all of them. |
Version 2.2.1 released: https://github.com/then/is-promise/releases/tag/2.2.1 |
Didn't work for me :( |
It should now be resolved. Since there are 4 issues about this, I'm going to close this issue in favour of #20. Please comment there if 2.2.1 does not fix your issue. |
The module fails to import with node
v13.12.0
. The version 2.1.0 still works fine.The text was updated successfully, but these errors were encountered: