-
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
rush-init-project-plugin fails for typescript init.config files #7
Comments
Hi Michael! Thanks for reporting this to us and the useful reproduce repository looks great to me! I can see you are using Node.js 20 in your repository, the temporary workaround is adding a <monorepo_root>/tsconfig.json
DetailsI would like to elaborate a little bit more if you are interested. Your investigation on the Fortunately, I will release a new version of the The temporary workaround is adding a The content of this |
Update: [email protected] has been released. It uses |
thanks @chengcyber!!! i'll pull it in & test it on my side. |
@MichaelSitter if the problem is resolved, should we close this issue? |
If you use the documented setup for
init.config.ts
, the plugins internal ts-node build fails with the following error:I think I managed to track the failure down to this line in TemplateConfiguration. I experimentally added
module: 'none'
& it resolves this issue, but it's not clear to me what should actually be happening here. Is ts-node supposed to be discovering a tsconfig file at this step, or is this intentionally hardcoded in the plugin?I have a branch which reproduces this issue here: https://github.com/MichaelSitter/web-projects/tree/rush-init-project-ts-config-repro
The text was updated successfully, but these errors were encountered: