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

grunt dev boots to port 9001 #9

Closed
forrestgrant opened this issue Jan 14, 2014 · 2 comments
Closed

grunt dev boots to port 9001 #9

forrestgrant opened this issue Jan 14, 2014 · 2 comments

Comments

@forrestgrant
Copy link

I know I can change that, or just visit port 9001, but /www/index.html is not mapped correctly either, and cordova.js is not found.

Thoughts?

@calvinl
Copy link
Owner

calvinl commented Jan 15, 2014

  1. I'm making the change to port 9001 rather than 8000, thank you.
  2. You don't need cordova.js if you're testing via Chrome or a webbrowser, cordova.js provides native JS bindings to the device's hardware -- e.g. the accelerometer, GPS, camera, etc. When you're testing in a browser instead of the simulator or a device, this file is not necessary because it won't actually do anything anyway. You can safely ignore the 404 error.
  3. What do you mean "not mapped correctly"? Do you get an error? Make you you've run the commands to install dev dependencies, it sounds like you aren't installing vendor components via bower.

https://github.com/calvinl/ng-phonegap#installing-dev-dependencies

@calvinl calvinl closed this as completed Jan 17, 2014
@thoughtpalette
Copy link

You get an error when trying to access that URL.

Cannot GET /www/index.html

Should just be /#/

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

3 participants