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

types in tsconfig.json break building process (evaluating 't.substring') #1764

Open
satanTime opened this issue Feb 27, 2022 · 0 comments
Open

Comments

@satanTime
Copy link

satanTime commented Feb 27, 2022

Description of Bug

When I add types to the tsconfig.json in my project, the project is broken.

Steps to Reproduce

  1. Go to https://stackblitz.com
  2. Click on 'Angular Typescript'
  3. In dependencies add @types/jasmine@3
  4. Wait until it's been installed
  5. open tsconfig.json in the editor
  6. add right before typeRoots: "types": ["jasmine"],
  7. save tsconfig.json
  8. open developer tools console.
  9. there is an error "Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 't.substring')"
  10. "Compiling changes..." never ends.

Expected Behavior

The project should compile

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

No branches or pull requests

1 participant