-
Notifications
You must be signed in to change notification settings - Fork 1
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
Cannot launch figwheel-ed node scripts with serve #11
Comments
Boot-npm could do the node modules folder for you, do you have other suggestions? |
I was actually thinking, together with Martin and other folks at EuroClojure, that a symlink could do the job very well. We could create it in the parent or same boot cache folder and delete it afterwards. In any case boot already uses links in the cache file. This would enable seamless and fast launch (no need to create a node_modules from scratch) |
@arichiardi this actually has a few issues, boot doesn't support symlinks as far as I can tell |
Oh, right...we need to wait for this patch to get in then before this...
-ar
|
@arichiardi using the latest versions of the library should allow you to do this. Please reopen if you continue to have issues. |
Hello @flyboarder,
this is actually a problem that I already see will be difficult to solve cleanly in
boot
.I am basically getting:
With the following task:
This happens because the
app.js
file is launched from the boot cache and of course does not have the correspondentnode_modules
anywhere, neither in the folder, nor in the parent (which is the case when you actually execute a script fromtarget
).The solution of copying
node_modules
to the boot cache is a scary one, so I leave this here open for discussion.The text was updated successfully, but these errors were encountered: