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 start.ios fails with tns: command not found error #103

Closed
joeblew99 opened this issue May 30, 2016 · 3 comments
Closed

npm run start.ios fails with tns: command not found error #103

joeblew99 opened this issue May 30, 2016 · 3 comments

Comments

@joeblew99
Copy link

IMPORTANT: This repository's issues are reserved for feature requests and bug reports. Do not submit support requests here.

Steps to reproduce and a minimal demo of the problem

On this Env:
Mac OSX
node -v v6.0.0
npm -v 3.8.6

Clean install from nothing
npm install -g nativescript
npm install -g typescript

install the project's dependencies

npm install

watches your files and uses livereload by default

npm start

What steps should we try in your demo to see the problem?

npm run start.ios

Current behavior

x-MacBook-Pro:angular2-seed-advanced apple$ npm run start.ios

> [email protected] start.ios /Users/apple/workspace/go/src/bitbucket.org/gedw99/Psycho/code/angular2-seed-advanced
> cd nativescript && tns emulate ios

sh: tns: command not found

npm ERR! Darwin 15.5.0
npm ERR! argv "/Users/apple/.nvm/versions/node/v6.0.0/bin/node" "/Users/apple/.nvm/versions/node/v6.0.0/bin/npm" "run" "start.ios"
npm ERR! node v6.0.0
npm ERR! npm  v3.8.6
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] start.ios: `cd nativescript && tns emulate ios`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the [email protected] start.ios script 'cd nativescript && tns emulate ios'.
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 angular2-seed-advanced package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     cd nativescript && tns emulate ios
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs angular2-seed-advanced
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls angular2-seed-advanced
npm ERR! There is likely additional logging output above.

Expected/desired behavior

Should load ios sim

Other information

@joeblew99 joeblew99 changed the title tns: command not found error npm run start.ios fails with tns: command not found error May 30, 2016
@joeblew99
Copy link
Author

It might be related to this:
NativeScript/nativescript-cli#1191

@NathanWalker
Copy link
Owner

Sounds like this is unrelated to the seed and more related to your environment, I'm going to close this, but if you find a solution to your environment, you may post back here.

@joeblew99
Copy link
Author

Is there a docker image ?

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