Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error with TS 3.3.1 #181

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

Closed
willdurand opened this issue Feb 1, 2019 · 2 comments
Closed

Error with TS 3.3.1 #181

willdurand opened this issue Feb 1, 2019 · 2 comments
Labels
package: eslint-plugin Issues related to @typescript-eslint/eslint-plugin triage Waiting for team members to take a look

Comments

@willdurand
Copy link

I know it is not officially supported yet and you are probably aware of the problem but I did not find any issue for that here, so I filed this one to be sure.

With TS 3.3.1, it looks like the plugin does not find tsutils anymore:

$ eslint --ext ts --ext js --ext tsx src/
Cannot read config file: /home/travis/build/mozilla/addons-code-manager/node_modules/@typescript-eslint/eslint-plugin/lib/index.js
Error: Cannot find module 'tsutils'
Referenced from: /home/travis/build/mozilla/addons-code-manager/.eslintrc
Error: Cannot read config file: /home/travis/build/mozilla/addons-code-manager/node_modules/@typescript-eslint/eslint-plugin/lib/index.js
Error: Cannot find module 'tsutils'
Referenced from: /home/travis/build/mozilla/addons-code-manager/.eslintrc
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (/home/travis/build/mozilla/addons-code-manager/node_modules/@typescript-eslint/eslint-plugin/lib/rules/no-unnecessary-type-assertion.js:7:17)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)

See this Travis job for full output: https://travis-ci.com/mozilla/addons-code-manager/jobs/174650457

@willdurand willdurand added package: eslint-plugin Issues related to @typescript-eslint/eslint-plugin triage Waiting for team members to take a look labels Feb 1, 2019
@armano2
Copy link
Collaborator

armano2 commented Feb 1, 2019

this is not issue with typescript, its issue with missing dependencies on production build in project.

this issue got solved in #165 and it's available in v1.2.0

@armano2 armano2 closed this as completed Feb 1, 2019
@JamesHenry
Copy link
Member

JamesHenry commented Feb 1, 2019

I was literally just writing at the same time haha, an update though - it is available in the latest stable release 1.2.0.

kaicataldo pushed a commit to kaicataldo/typescript-eslint that referenced this issue Aug 27, 2019
@typescript-eslint typescript-eslint locked as resolved and limited conversation to collaborators Feb 21, 2020
Luckeu pushed a commit to Luckeu/typescript-eslint that referenced this issue Jun 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package: eslint-plugin Issues related to @typescript-eslint/eslint-plugin triage Waiting for team members to take a look
Projects
None yet
Development

No branches or pull requests

3 participants