Closed kenibarwick closed 9 years ago
sw_vers -productVersion 10.10.5
ios-sim --version -bash: ios-sim: command not found
xcodebuild -version Xcode 7.0 Build version 7A220
xcode-select --print-path /Applications/Xcode.app/Contents/Developer
gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 7.0.0 (clang-700.0.72) Target: x86_64-apple-darwin14.5.0 Thread model: posix
sudo npm install ios-sim -g
how ever above works...
Hi, sorry if this is a silly question, however I'm stuck trying to install ios-sim. I get the following output when I run the install command;
sudo npm install –g ios-sim Password: npm ERR! addLocal Could not install /Users/a1/–g npm ERR! Darwin 14.5.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "–g" "ios-sim" npm ERR! node v4.1.1 npm ERR! npm v3.3.4 npm ERR! path /Users/a1/–g npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/Users/a1/–g' npm ERR! enoent This is most likely not a problem with npm itself npm ERR! enoent and is related to npm not being able to find a file. npm ERR! enoent
npm ERR! Please include the following file with any support request: npm ERR! /Users/a1/npm-debug.log
Any thoughts on what I could be doing wrong?
thanks