-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Caching issue with local (i.e. "file:...") dependencies #387
Comments
Hmm... I tried to set up a repro example for this and couldn't get it to error: https://github.com/jmorrell/npm-local-dependency-ex How is your setup different? |
@jmorrell many thanks for looking into this. I don't seem to be able to replicate this issue, even though I spent a full hour tweaking your code to look more like what I have. Apparently I am doing something wrong, but I can't afford any more time to look into it. Feel free to close the issue for now. |
Closing. Thanks for teaching me that local dependencies are a thing :) |
@jmike I see it has been a while, but do you remember where the problem was? I'm having the same/similar issue and can't figure it out. |
@stropho I never found what the issue really was. I suggest you simply use |
well, after an hour or so I felt really stupid. My issue was the "universal" |
Hey,
I 've got a git repo with some local dependencies. Here's how my package.json looks like:
Notice the file:./commons/mysql-database string, which signifies a local dependency.
The above works perfectly fine when uploading to heroku, as long as caching is disabled. When I enable caching I get the following error:
A couple of notes:
git push heroku
- which kinda makes sense.mysql-database
package gets transpiled withbabel-cli
using apostinstall
script. Again this works perfectly fine without caching.My project is quite big, so caching is much necessary. Any help I could get is much appreciated.
The text was updated successfully, but these errors were encountered: