-
Notifications
You must be signed in to change notification settings - Fork 12
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
Did not get error that my relative path was not starting with node_modules #284
Comments
We also ran into this issue. My guess is that the throw is captured higher up and a more generic "Cannot find module" error is spat out. The bigger issue is though, that we are doing the same as you - vendoring our dependencies inside a |
Is there a technical reason why the file being transformed needs to be in |
@GavinJoyce - Largely due to the way we cache. It would be possible to remove the requirement that it start with |
Are there any news? I ran into this issue also. |
Nope, doesn't seem like anyone has had a chance to dig into what is going on. |
I just ran into this as well. I wasn't aware this doesn't support non-NPM modules and ran into the problem with the slice on the file path here:
It seems |
My path was
vendor/edited/bugout/index.js
. It took me a long time to figure out what went wrong, until I read the source of this library since I was guessing it reads out the node_modules folder. I did not get the error: The "cjs" transform works only with NPM packages.You tried to use it with "${relativePath}". Make sure your imported file path
begins with "node_modules/".
This is my full output of the command
ember serve --port 4444
The stack trace and error report also didn't show it.
The text was updated successfully, but these errors were encountered: