angularAMD icon indicating copy to clipboard operation
angularAMD copied to clipboard

The system cannot find the file Google Chrome

Open mpiasta-ca opened this issue 10 years ago • 2 comments

$ grunt serve-www
Running "copy:setup-www" (copy) task
Copied 9 files

Running "open:serve-www" (open) task

Running "connect:serve-www" (connect) task
Waiting forever...
Started connect web server on localhost:9768.
Warning: Command failed: The system cannot find the file Google Chrome.
 Use --force to continue.

Aborted due to warnings.

Change line 156 of Gruntfile.js to Chrome instead of Google Chrome

mpiasta-ca avatar Oct 08 '14 20:10 mpiasta-ca

~~pull request welcome!!!~~

EDIT:

Actually... nothing is ever easy...

Changing this to "Chrome" won't work on Linux or Mac. So no, we can't just change it on Gruntfile.js

marcoslin avatar Oct 08 '14 20:10 marcoslin

We might need to implement this using process.platform as per:

http://stackoverflow.com/questions/23846635/execute-os-specific-script-in-node-grunt

Same goes for #100.

marcoslin avatar Oct 09 '14 07:10 marcoslin