'npm start' error with protractor
See original GitHub issueTrying to run quickstart npm start
and get the following on Mac Pro Sierra v10.12.1.
npm -v // 3.10.9
tsc -v // 2.1.4
I can run npm lite
and server starts up, but any cli common with tsc (npm tsc, npm tsc:w) gets the errors below. I can run tsc outside the quickstart dir and everything works fine. I checked my node_modules permissions and seems correct. Any suggestions? Thanks
node_modules/protractor/built/browser.d.ts(260,37): error TS2503: Cannot find namespace 'webdriver'.
node_modules/protractor/built/browser.d.ts(267,55): error TS2503: Cannot find namespace 'webdriver'.
node_modules/protractor/built/browser.d.ts(267,78): error TS2503: Cannot find namespace 'webdriver'.
node_modules/protractor/built/browser.d.ts(358,31): error TS2503: Cannot find namespace 'webdriver'.
node_modules/protractor/built/browser.d.ts(369,26): error TS2503: Cannot find namespace 'webdriver'.
node_modules/protractor/built/browser.d.ts(425,36): error TS2503: Cannot find namespace 'webdriver'.
node_modules/protractor/built/ptor.d.ts(13,29): error TS2503: Cannot find namespace 'webdriver'.
Issue Analytics
- State:
- Created 7 years ago
- Comments:24 (4 by maintainers)
Top GitHub Comments
Can confirm that on Windows the only needed change is changing this line
package.json
fromto
Then an
npm install
andnpm start
should work like normal.👏 @filipesilva @andresrinivasan
instead of
>npm start
try>npm run lite