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

having typescript 3.8.3 as dependecy is throwing bugs #1124

Closed
ahemed-haneen opened this issue Mar 11, 2020 · 2 comments
Closed

having typescript 3.8.3 as dependecy is throwing bugs #1124

ahemed-haneen opened this issue Mar 11, 2020 · 2 comments

Comments

@ahemed-haneen
Copy link

ember -v

ember-cli: 3.16.0
node: 12.16.1
os: darwin x6

tsc -v

Version 3.8.3

ember-cli-typescript

├─ @glimmer/component@1.0.0
│ └─ ember-cli-typescript@3.0.0
├─ ember-cli-typescript-blueprints@3.0.0
├─ ember-cli-typescript@3.1.3
└─ ember-load-initializers@2.1.1
└─ ember-cli-typescript@2.0.2

tsconfig.json

My tsconfig.json
{
  "compilerOptions": {
    "target": "es2017",
    "allowJs": true,
    "moduleResolution": "node",
    "allowSyntheticDefaultImports": true,
    "noImplicitAny": true,
    "noImplicitThis": true,
    "alwaysStrict": true,
    "strictNullChecks": true,
    "strictPropertyInitialization": true,
    "noFallthroughCasesInSwitch": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "noImplicitReturns": true,
    "noEmitOnError": false,
    "noEmit": true,
    "inlineSourceMap": true,
    "inlineSources": true,
    "baseUrl": ".",
    "module": "es6",
    "experimentalDecorators": true,
    "paths": {
      "vegatrail/tests/*": [
        "tests/*"
      ],
      "vegatrail/*": [
        "app/*"
      ],
      "*": [
        "types/*"
      ]
    }
  },
  "include": [
    "app/**/*",
    "tests/**/*",
    "types/**/*"
  ]
}

What are instructions we can follow to reproduce the issue?

ember new sample; cd ./sample # Create a new ember app
ember install ember-cli-typescript # Set up typescript support
ember serve

Now about that bug. What did you expect to see?

start the ember server

What happened instead?

⠴ building... [Babel: @ember-data/model > applyPatches]/Users/username/Experiments/vegatrail/node_modules/typescript/lib/typescript.js:98681
                throw e;
                ^

this error was thrown

@devotox
Copy link

devotox commented Mar 11, 2020

@theloosecannon #1103

@chriskrycho
Copy link
Member

Thanks for reporting; closing as duplicate of #1103!

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

3 participants