Error: Cannot find module 'tslint/lib/lint'
See original GitHub issueWith the latest update I am getting the following errors upon running npm start
:
ERROR in ./src/vendor.ts
Module build failed: Error: Cannot find module 'tslint/lib/lint'
at Function.Module._resolveFilename (module.js:327:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:355:17)
at require (internal/module.js:13:17)
at Object.<anonymous> (<path-to-app>/node_modules/tslint-loader/formatters/customFormatter.js:1:12)
at Module._compile (module.js:399:26)
at Object.Module._extensions..js (module.js:406:10)
at Module.load (module.js:345:32)
at Function.Module._load (module.js:302:12)
at Module.require (module.js:355:17)
@ multi vendor
ERROR in ./src/bootstrap.ts
Module build failed: Error: Cannot find module 'tslint/lib/lint'
at Function.Module._resolveFilename (module.js:327:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:355:17)
at require (internal/module.js:13:17)
at Object.<anonymous> (<path-to-app>/node_modules/tslint-loader/formatters/customFormatter.js:1:12)
at Module._compile (module.js:399:26)
at Object.Module._extensions..js (module.js:406:10)
at Module.load (module.js:345:32)
at Function.Module._load (module.js:302:12)
at Module.require (module.js:355:17)
@ multi app
Issue Analytics
- State:
- Created 8 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
tslint update error "Cannot find module 'tslint/lib/lint'"
I found the issue: codelyzer was out of date. I updated it from 0.0.26 to 2.1.1 and now tslint is successfully linting our...
Read more >'Cannot find module 'tslint/lib/lint'' #165 - mgechev/codelyzer
A set of tslint rules for static code analysis of Angular TypeScript projects. You can run the static code analyzer over web apps,...
Read more >Angular – tslint update error “Cannot find module 'tslint/lib/lint'”
Now we receive the following tslint error at design time (in VSCode Output terminal). Cannot find module 'tslint/lib/lint' while validating. I've attempted to ......
Read more >cannot find module [Node npm Error Solved] - freeCodeCamp
In my case, I got it like this "Module not found: Error: Can't resolve 'react-icons/fa' in 'C:\Users\user\Desktop\Projects\Address Locator\ ...
Read more >ServiceNow Community servicenow community
Error : Cannot find module '. ... am trying to setup the CLI for component development and get the infamous error "keytar module"...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@mastertinner Try
npm install tslint
.@Emnalyeriar @MischaZed Do a
typings install
.Codelyzer
A set of tslint rules for static code analysis of Angular TypeScript projects.
You can run the static code analyzer over web apps, NativeScript, Ionic, etc.
Angular CLI Angular CLI has support for codelyzer.Run the below npm command for tslint
npm i tslint-angular