-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[BUG] When installing a git dependency, prepare script not running #3800
Comments
Ran into this today. |
It might be related to #2890 |
@gms-ta-koge doubt it since it also happens in 6 and they state they can downgrade to fix it. |
So...
|
Does any version of node have a copy of |
Thank you for the report @OmgImAlexis, after debugging the reproduction steps provided I noticed that the error you're finding is due to the fact that your In order to be able to properly prepare a git repo To fix it either add a Thanks again and hope this helps 😊 |
Time to add a warning to all my repos that're missing the |
Or .npmignore; omission from “files” means your consumers break; omission from npmignore means an extra thing gets published. |
Is there an existing issue for this?
Current Behavior
Package is installed and no
dist
directory is created.Expected Behavior
dist
directory is created.Steps To Reproduce
This should show
dist
missing in thels
even though it has aprepare
script.mkdir x && cd x && npm init -y
npm i github:omgimalexis/interval-to-human
ls node_modules/interval-to-human/
If you then run
cd node_modules/interval-to-human/ && npm i && npm run prepare && cd ../../
you'll see thedist
directory now exists.Environment
The text was updated successfully, but these errors were encountered: