-
Notifications
You must be signed in to change notification settings - Fork 56
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
symlinked modules are not copied over on run/publish #371
Comments
Oooof nice catch @dtex! |
It's an fstream thing. Trying to determine if it is a bug or intended behavior. |
A PR was submitted a couple of years ago but is still open. I've pinged the assignee: |
Cautionary note: My use case for including symlinks was so that I could link to local repos of modules I contribute to. Since I am running npm install in those local repos the devDependencies are installed along with the dependencies. It's pretty easy to run out of space when those are get pushed to the Tessel. Running install with
Also watch out for .git directories. |
We can add these to the implied .tesselignore entries https://github.com/tessel/t2-cli/blob/master/lib/tessel/deploy.js#L212-L219 |
Update, ownership of that PR has changed a couple of times and they are asking for tests. Also note that slim builds are not subject to this problem. |
Thanks for the update here, we'll have to be sure to re-visit this once the pre-compiled binary modules support is merged |
@dtex is this still problematic? By default, all build are |
@dtex is this still an issue? |
@dtex do you know if this is still an issue? Looks like the related issue you linked above is still open so I'm assuming the CLI is still affected... |
@johnnyman727 Oof, so sorry. I wasn't getting notices on this which is weird. The problem isn't fixed in fstream but so much work has been done on the T2 deployment stuff that it is unclear to me if we are still dependent on fstream for recursively copying directories within node_modules. On the surface it appears not. I'll test tonight. |
It's both, depending on which path is taken. The Looking back to the original post... I think your clever workaround isn't necessary anymore. The |
If there aren't any reasons this can't or shouldn't be done I'll give it a shot.
The text was updated successfully, but these errors were encountered: