Skip to content
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.json:18:5 - error TS5053: Option 'sourceMap' cannot be specified with option 'inlineSourceMap'. #786

Open
Drew-Daniels opened this issue Oct 12, 2023 · 2 comments

Comments

@Drew-Daniels
Copy link

Describe the bug
After following the instructions on the Quick Start, I am able to successfully link and run a newly created CLI app, but am running into an issue running yarn build, without having modified any of the originally generated code from running the gluegun new script.

To Reproduce
Steps to reproduce the behavior:

  1. Create a CLI with npx gluegun new my-app
  2. Select TypeScript as language
  3. Run yarn build
  4. See TypeScript build error

image

Expected behavior
I would expect that upon trying to build the app after not modifying any of the source code, the build would work.

Screenshots
If applicable, add screenshots to help explain your problem.

Doctor (please complete the following information):

  • OS: [macOS 14.0 (23A344)]
  • Gluegun Version [5.1.6]

Additional context
Removing "sourceMap": true from my tsconfig.json fixed the issue - link

I have a globally installed typescript v5.2.2.

@jamonholmgren
Copy link
Member

Yeah we need to remove one of them. Any recommendations which? I can look later but currently on mobile.

@Drew-Daniels
Copy link
Author

Thanks for confirming! My vote would be for removing sourceMap since it would result in less files being output as part of the build (simplicity), but I wouldn't say I have a huge preference either way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants