-
Notifications
You must be signed in to change notification settings - Fork 363
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
fix(next): Next project does not work out of the box #3442
Labels
bug
Something isn't working
Comments
mbasadi
changed the title
Bug: Next project does not work out of the box
fix(next): Next project does not work out of the box
Mar 11, 2024
fwiw I'm also running into this issue, tried with projen 0.81.0 |
mergify bot
pushed a commit
that referenced
this issue
Jun 2, 2024
Fixes #3442 As far as I understand tsconfig.dev.json will only used for projen synthing, so that the module could switch to commonjs without effecting the standard tsconfig for nextjs. Another approach could be to switch to `npx tsx .projenrc.ts ` as default task for projen (https://www.typescriptlang.org/docs/handbook/modules/guides/choosing-compiler-options.html#im-using-tsx) --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce the issue:
You will get an error like:
My temporary sloution was something like this:
Note, to be able to tun
npm run projen
you have to overwritetsconfig.dev.json
and changemodule
tocommonjs
The text was updated successfully, but these errors were encountered: