You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot find module './components/login' from '/home/jwilson/Development/myproject/src/scripts'
It appears it is trying to resolve the login module from the original source directory instead of the gobble build cache.
From what I can tell, it appears this is due to the fact the gobble is using symlinks in the .gobble-build folder and when routing.js is resolved, browserify resolves it to the real path instead of the .gobble-build directory. This then causes the the require of the login component to fail.
It appears there is an issue with this component since browserify is actually resolving the gobble symlinks to real paths with is breaking the relative requires that have previously been transform (ractive components).
Does this sound right? Any possible work arounds to this problem. Thanks!
The text was updated successfully, but these errors were encountered:
One other thought, would it be possible to add the inputDirectory to the options.paths when running browserify? That was I could just use require('components/login') to resolve the ractive module.
I am attempting to use this with gobble-ractive and am running into problems finding the ractive component that was previously transformed into js.
My project structure looks like this:
routing.js includes the following require:
by gobblefile contains:
package.json
The error I am receiving is
Cannot find module './components/login' from '/home/jwilson/Development/myproject/src/scripts'
It appears it is trying to resolve the login module from the original source directory instead of the gobble build cache.
From what I can tell, it appears this is due to the fact the gobble is using symlinks in the .gobble-build folder and when routing.js is resolved, browserify resolves it to the real path instead of the .gobble-build directory. This then causes the the require of the login component to fail.
It appears there is an issue with this component since browserify is actually resolving the gobble symlinks to real paths with is breaking the relative requires that have previously been transform (ractive components).
Does this sound right? Any possible work arounds to this problem. Thanks!
The text was updated successfully, but these errors were encountered: