Hi, thanks for the reply. I believe itās correct, but canāt test since the problem is solved.
Someone told me to reinstall everything, may be a npm bug. So, I did and now using NodeJS v6.7.0.
I think thereās nothing to do with the version, but with some corrupted package.
After uninstall, excluded all npm folders on %appdata% and now works fine
[EDIT/UPDATE] i ran npm install (again) as well as opted out of the cordova telemetry (kept seeing those messages) and now i donāt see the tslint issue anymore. Iām on to a new issue, but probably unrelated.
Iām running into this same thing. Tried Updating to node v6, tried uninstalling and reinstalling, but Iām still getting the same tslint error. Can you point to the directions you followed (or describe them) for uninstalling/reinstalling (maybe Iām missing something)
I am have same issue
its windows 8,
node v4.6.0 npm
npm 2.15.9
tried uninstall and reinstall
tried deleting %appdata%
tried uninstall everything and then reinstall
but still getting
[00:05:33] lint failed: Unable to find "tslint" command: null
[00:05:33] Error: Unable to find "tslint" command: null
at C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\dist\lint.js:38:20
at runTsLint (C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\dist\lint.js:35:12)
at C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\dist\lint.js:22:13
at FSReqWrap.oncomplete (fs.js:82:15)
[00:05:33] copy finished in 319 ms
[00:05:33] bundle dev failed: Could not resolve '@angular/platform-browser-dynamic' from C:\Users\vinodhum\Desktop\App-v1\plus\src\app\main.dev.ts
[00:05:33] Error: Could not resolve '@angular/platform-browser-dynamic' from C:\Users\vinodhum\Desktop\App-v1\plus\src\app\main.dev.ts
at Error (native)
at C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\node_modules\rollup-plugin-node-resolve\dist\rollup-plugin-node-resolve.cjs.js:78:21
at C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\node_modules\rollup-plugin-node-resolve\node_modules\browser-resolve\index.js:265:24
at C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\node_modules\rollup-plugin-node-resolve\node_modules\resolve\lib\async.js:46:14
at process (C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\node_modules\rollup-plugin-node-resolve\node_modules\resolve\lib\async.js:173:43)
at ondir (C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\node_modules\rollup-plugin-node-resolve\node_modules\resolve\lib\async.js:188:17)
at load (C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\node_modules\rollup-plugin-node-resolve\node_modules\resolve\lib\async.js:69:43)
at onex (C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\node_modules\rollup-plugin-node-resolve\node_modules\resolve\lib\async.js:92:31)
at C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\node_modules\rollup-plugin-node-resolve\node_modules\resolve\lib\async.js:22:47
at FSReqWrap.oncomplete (fs.js:82:15)
[20:06:24] ionic-app-scripts 0.0.30
[20:06:24] build prod started ā¦
[20:06:24] clean started ā¦
[20:06:24] clean finished in 8 ms
[20:06:24] copy started ā¦
[20:06:24] ngc started ā¦
[20:06:24] lint started ā¦
[20:06:24] lint failed: Unable to find ātslintā command: null
[20:06:24] Error: Unable to find ātslintā command: null
at C:\Users\Adir\development\eventapp\node_modules@ionic\app-scripts\dist\lint.js:38:20
at runTsLint (C:\Users\Adir\development\eventapp\node_modules@ionic\app-scripts\dist\lint.js:35:12)
at C:\Users\Adir\development\eventapp\node_modules@ionic\app-scripts\dist\lint.js:22:13
at FSReqWrap.oncomplete (fs.js:123:15)
[20:06:24] copy finished in 40 ms
[20:06:24] ngc failed: Unable to find Angular Compiler āngcā command: null. Please ensure @angular/compiler-cli has been installed with NPM.
[20:06:24] Error: Unable to find Angular Compiler āngcā command: null. Please ensure @angular/compiler-cli has been installed with NPM.
at C:\Users\Adir\development\eventapp\node_modules@ionic\app-scripts\dist\ngc.js:40:20
at runNgc (C:\Users\Adir\development\eventapp\node_modules@ionic\app-scripts\dist\ngc.js:34:12)
at C:\Users\Adir\development\eventapp\node_modules@ionic\app-scripts\dist\ngc.js:18:16
Error running ionic app script ābuildā: Error: Unable to find Angular Compiler āngcā command: null. Please ensure @angular/compiler-cli has been installed with NPM.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv āC:\Program Files\nodejs\node.exeā āC:\Program Files\nodejs\node_modules\npm\bin\npm-cli.jsā ārunā ābuildā
npm ERR! node v6.8.0
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! ionic-hello-world@ build: ionic-app-scripts build --rollup ./config/rollup.config.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ionic-hello-world@ build script āionic-app-scripts build --rollup ./config/rollup.config.jsā.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ionic-hello-world package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ionic-app-scripts build --rollup ./config/rollup.config.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs ionic-hello-world
npm ERR! Or if that isnāt available, you can get their info via:
npm ERR! npm owner ls ionic-hello-world
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Adir\development\eventapp\npm-debug.log