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

npm run e2e:Windows 10:'.' is not recognized as an internal or external command, operable program or batch file. #83

Closed
tja4472 opened this issue Apr 25, 2016 · 2 comments

Comments

@tja4472
Copy link
Contributor

tja4472 commented Apr 25, 2016

For Windows 10 I added the following to package.json as Windows doesn't need the node_modules path.

"e2e-win": "gulp --gulpfile test/gulpfile.ts --cwd ./ test.build.e2e && protractor test/protractor.conf.js",

Error:

C:\VSCode\Ionic2\github\clicker>npm run e2e

> clicker@1.1.0 e2e C:\VSCode\Ionic2\github\clicker
> gulp --gulpfile test/gulpfile.ts --cwd ./ build-e2e && ./node_modules/protractor/bin/protractor test/protractor.conf.js

[14:43:20] Requiring external module ts-node/register
[14:43:24] sourced Ionic's gulpfile @ C:\VSCode\Ionic2\github\clicker\gulpfile.js
[14:43:24] Using gulpfile C:\VSCode\Ionic2\github\clicker\test\gulpfile.ts
[14:43:24] Starting 'build-e2e'...
[14:43:26] Finished 'build-e2e' after 1.78 s
'.' is not recognized as an internal or external command,
operable program or batch file.

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Tim\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "e2e"
npm ERR! node v4.4.3
npm ERR! npm  v3.8.7
npm ERR! code ELIFECYCLE
npm ERR! clicker@1.1.0 e2e: `gulp --gulpfile test/gulpfile.ts --cwd ./ build-e2e && ./node_modules/protractor/bin/protractor test/protractor.conf.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the clicker@1.1.0 e2e script 'gulp --gulpfile test/gulpfile.ts --cwd ./ build-e2e && ./node_modules/protractor/bin/protractor test/protractor.conf.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 clicker package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     gulp --gulpfile test/gulpfile.ts --cwd ./ build-e2e && ./node_modules/protractor/bin/protractor test/protractor.conf.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs clicker
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls clicker
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\VSCode\Ionic2\github\clicker\npm-debug.log

C:\VSCode\Ionic2\github\clicker>

Regards
Tim

@lathonez
Copy link
Owner

And you don't have protractor installed globally?

npm -g ls protractor

@lathonez
Copy link
Owner

You're quite right, I don't need it either.

Thank you for raising.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants