-
Notifications
You must be signed in to change notification settings - Fork 295
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
Error: spawnSync C:\Users\me\repo\oas-web\node_modules\ts-node\dist\bin.js UNKNOWN #1867
Comments
Are you using You should not see TypeScript files in your error, like: |
Not deliberately at least. Can double check tomorrow, but I highly doubt it. We don't use any synlinks in our monorepo. |
Maybe some issue with ngcc/ivy. I'll reinstall everything tomorrow. |
🤔 Sure there is no linking?
But
🤷🏽♂️ cheers |
We do however use a monorepo. |
Uhm alright, but how does it come that you have typescript files? cheers |
I don't have any TypeScript files in |
Not it wouldn't. These are runtime errors, ts-node would give you compile time reports. Anyway. The issues are related to cheers |
It builds perfectly fine when downgrading. But I will resinstall all the modules. This might be a non-issue. |
What happens if you change your extension to You mentioned downgrading, what version did you use before? |
After clearing
It works perfectly fine with I will check if you can run ts-node without sourcemaps so we can get the real paths. |
@alan-agius4 Just wanted to confirm that it works! Thanks! |
This issue has been automatically locked due to inactivity. |
Type of Issue
Description
After upgradring from 11.1.2 -> 11.2.0 I'm no longer able to build our project. Compilation fails with the error message below:
How To Reproduce
Not sure since I'm not sure what's wrong. I tried to debug with DevTools for Node.JS, but the build actually succeeded when I stepped through all the caught/uncaught exceptions. So there might be a race condition somewhere.
I can't publish our full repo since the code is not open source. But we have a pretty simple lib with some components and directives.
I'm using ts-node to inittiate
ng-packagr
:cross-env NODE_ENV=development ts-node ng-packagr
Expected Behaviour
The building process should finish without error.
Version Information
The text was updated successfully, but these errors were encountered: