-
Notifications
You must be signed in to change notification settings - Fork 4
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
TSConfig Paths: error with allowJs #79
Comments
After this line, insert: context.parentURL = parentURL; would solve this problem. |
I know exactly what the issue is, I'm forcing there to be a search for typescript extensions overriding the fact that it's not relative although I'm not sure how I can solve it. Can you try replicating the test but the path file not have the dot JS ending like via in the TS config remove the .js |
wish I saw this like 2 minutes ago I just shut down everything for the night and I was just browsing GitHub on my phone. |
I see the issue. It's because my appended path isn't being passed to |
I SEE THE LIGHT!!! So this fix ain't so easy, I see now that I also fucked up with my "parsing" of the paths. Of course after I've been awake for 12 hours I see the proper way, but not during the early day... FUCK! |
Sleep, gym, and food are more important than coding. You didn't have to fix the bug overnight... |
It was either this or watch TV, I ran out of the pills that allow me to sleep, so I was unable to fall asleep till 5AM, so I figured I might as well be productive. I have a horrible work/sleep/hobby balance. |
Environment: Node 14.3.0 on Windows 10 version 2004
package.json
tsconfig.json
proj/main.ts
demo.js
npm run build
completes successfully, which means that the TypeScript is valid.npm run dev
fails with the following error:The text was updated successfully, but these errors were encountered: