getting syntax error in protractor on windows, see stacktrace
See original GitHub issue.\node_modules\.bin\protractor:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
^^^^^^^
SyntaxError: missing ) after argument list
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (.\node_modules\babel-register\lib\node.js:152:7)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at Object.<anonymous> (.\node_modules\babel-cli\lib\_babel-node.js:154:22)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
Protractor stacktrace does not mention the line number on the ...
Unforunately that can be a common error in protractor for syntax issues. It's hard to tell without code indentation, but the error is...
Read more >run 'webdriver-manager update'.The cmd show 'SyntaxError ...
Hi All,. I am very new to protractor. I am able to run the test cases through command prompt. but when i try...
Read more >Debug BrowserStack Automate failed to start browser error
This error occurs when BrowserStack is unable to launch the browser specified in your script, thus preventing test execution. Following are the various...
Read more >Debugging Protractor Tests
protractor debugging/failureConf.js. This test suite shows various types of failure: WebDriver throws an error - When a command cannot be completed, ...
Read more >Cypress App
Once you get comfortable with Cypress you might find you don't need the ... Note: The right-hand side may also be used to...
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 FreeTop 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
Top GitHub Comments
@IgorSasovets
Yes, tnx for the support
It worked, thanks for you support
From: IgorSasovets notifications@github.com Sent: Thursday, May 24, 2018 1:28 AM To: angular/protractor protractor@noreply.github.com Cc: ravi005e ravi005e@gmail.com; Mention mention@noreply.github.com Subject: Re: [angular/protractor] getting syntax error in protractor on windows, see stacktrace (#4791)
@ravi005e https://github.com/ravi005e , try to run this example https://github.com/IgorSasovets/protractor-long-load-bug , but using
node .\node_modules\protractor\bin\protractor config.js
command (from root folder) and provide feedback about results.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/angular/protractor/issues/4791#issuecomment-391632668 , or mute the thread https://github.com/notifications/unsubscribe-auth/Acd-ZLrzW_IcMO-78fYWOctdhHzf9W6-ks5t1m8fgaJpZM4TrdjN . https://github.com/notifications/beacon/Acd-ZD8NSKUaeSaiALrI7wtY6zjTRSmZks5t1m8fgaJpZM4TrdjN.gif