Error installation package Mac Yosemite


#1

Hi everybody,
I have been struggling since yesterday with the installation of the Jibo SDK package in Atom.
Here is the error message that I get every time:


Installing “jibo-sdk@1.7.1” failed.Hide output…

npm WARN deprecated node-uuid@1.4.7: use uuid module instead
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated husl@5.0.3: Project renamed to HSLuv
npm WARN addRemoteGit git+https://github.com/jiborobot/pixi.js.git#dev resetting remote /Users/walleranddebaynast/.atom/.apm/_git-remotes/git-https-github-com-jiborobot-pixi-js-git-dev-57d99534 because of error: xcrun: error: active developer path ("/Volumes/Xcode/Xcode.app/Contents/Developer") does not exist, use xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools (or see man xcode-select)
npm ERR! git clone --template=/Users/walleranddebaynast/.atom/.apm/_git-remotes/_templates --mirror https://github.com/jiborobot/pixi.js.git /Users/walleranddebaynast/.atom/.apm/_git-remotes/git-https-github-com-jiborobot-pixi-js-git-dev-57d99534: xcrun: error: active developer path ("/Volumes/Xcode/Xcode.app/Contents/Developer") does not exist, use xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools (or see man xcode-select)
npm ERR! Darwin 14.0.0
npm ERR! argv “/Users/walleranddebaynast/Desktop/Atom.app/Contents/Resources/app/apm/bin/node” “/Users/walleranddebaynast/Desktop/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js” “–globalconfig” “/Users/walleranddebaynast/.atom/.apm/.apmrc” “–userconfig” “/Users/walleranddebaynast/.atom/.apmrc” “install” “/private/var/folders/2r/dvk1k_9x7vqb0vjrn363bclr0000gn/T/d-117121-1297-r2rsci/package.tgz” “–runtime=electron” “–target=0.37.8” “–arch=x64” "–global-style"
npm ERR! node v4.4.5
npm ERR! npm v3.10.5
npm ERR! code 1

npm ERR! Command failed: git clone --template=/Users/walleranddebaynast/.atom/.apm/_git-remotes/_templates --mirror {https://github.com/jiborobot/pixi.js.git /Users/walleranddebaynast/.atom/.apm/_git-remotes/git-https-github-com-jiborobot-pixi-js-git-dev-57d99534
npm ERR! xcrun: error: active developer path ("/Volumes/Xcode/Xcode.app/Contents/Developer") does not exist, use xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools (or see man xcode-select)
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <{https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR! /private/var/folders/2r/dvk1k_9x7vqb0vjrn363bclr0000gn/T/apm-install-dir-117121-1297-f


I have followed the different instructions that have been given to solve npm permissions problems. It changed nothing though.

Thank you for your help.

Wallerand


#2

Hi @Wallerand , it looks like you may be missing xcode-select, pixi.js@4.0.3, and husl@6.0.1 from the installation steps of our Getting Started Guide.

Can you verify these were installed by running the follow commands in Terminal/Git Bash?

xcode-select --install

  • Click Install at the first prompt.
  • Click Agree at the second prompt.
    cd $h; npm install pixi.js@4.0.3
    cd $h; cd/.atom/packages/jibo-sdk; npm install husl@6.0.1

If you continue to run into difficulty, please let me know and I’ll be happy to help you further.


#3

Hi,

Thank you for your help. I have been trying to install the Jibo package on
another computer (Mac). I had exactly the same difficulty at the same
point. I have followed carefully every step as described on the website.
Everything was alright until the package installation itself on Atom.

Here is the error message that I got:

npm WARN deprecated node-uuid@1.4.7: use uuid module instead
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2
or higher to avoid a RegExp DoS issue
npm WARN deprecated husl@5.0.3: Project renamed to HSLuv
npm WARN addRemoteGit git+://github.com/jiborobot/pixi.js.git#dev
resetting remote
/Users/walleranddebaynast/.atom/.apm/_git-remotes/git-https-github-com-jiborobot-pixi-js-git-dev-57d99534
because of error: xcrun: error: active developer path
("/Volumes/Xcode/Xcode.app/Contents/Developer") does not exist, use
xcode-select --switch path/to/Xcode.app to specify the Xcode that
you wish to use for command line developer tools (or see man xcode-select)
npm ERR! git clone
–template=/Users/walleranddebaynast/.atom/.apm/_git-remotes/_templates
–mirror //https://github.com/jiborobot/pixi.js.git
/Users/walleranddebaynast/.atom/.apm/_git-remotes/git-https-github-com-jiborobot-pixi-js-git-dev-57d99534:
xcrun: error: active developer path
("/Volumes/Xcode/Xcode.app/Contents/Developer") does not exist, use
xcode-select --switch path/to/Xcode.app to specify the Xcode that
you wish to use for command line developer tools (or see man xcode-select)
npm ERR! Darwin 14.0.0
npm ERR! argv “/Users/walleranddebaynast/Desktop/Atom.app/Contents/Resources/app/apm/bin/node”
"/Users/walleranddebaynast/Desktop/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js"
"–globalconfig" “/Users/walleranddebaynast/.atom/.apm/.apmrc”
"–userconfig" “/Users/walleranddebaynast/.atom/.apmrc” “install”
"/private/var/folders/2r/dvk1k_9x7vqb0vjrn363bclr0000gn/T/d-117127-826-gtjx5s/package.tgz"
"–runtime=electron" “–target=0.37.8” “–arch=x64” "–global-style"
npm ERR! node v4.4.5
npm ERR! npm v3.10.5
npm ERR! code 1

npm ERR! Command failed: git clone
–template=/Users/walleranddebaynast/.atom/.apm/_git-remotes/_templates
–mirror https://github.com/jiborobot/pixi.js.git
/Users/walleranddebaynast/.atom/.apm/_git-remotes/git-https-github-com-jiborobot-pixi-js-git-dev-57d99534
npm ERR! xcrun: error: active developer path
("/Volumes/Xcode/Xcode.app/Contents/Developer") does not exist, use
xcode-select --switch path/to/Xcode.app to specify the Xcode that
you wish to use for command line developer tools (or see man xcode-select)
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /private/var/folders/2r/dvk1k_9x7vqb0vjrn363bclr0000gn/T/apm-install-dir-117127-826-1a972us/npm-debug.log

Since I have been doing thoroughly this installation on two different Macs,
could it possible that there are missing steps in the installation process
described on the website? There shouldn’t be any permission error: I have
on both computer administrator rights. One computer is working with OS X
10.10 and the other with the 10.12 version. The technician whom I asked
about the problem told that he didn’t see where the bug came from. He could
just tell that in his opinion, it had nothing to do with Atom, nor Node
installation but only with Jibo’s package installation.

Here are all pieces of information that I could give to you. I am not an
expert at all but I hope that it will help you to solve the problem.

Thank you very much for your help.

Best regards,

Wallerand de Baynast


#5

@Wallerand The error looks like there there is an issue with xcode and it wants you to specify which version to use. This may have happened if xcode has not been installed as a dependency yet, or if there are multiple versions installed. Please verify you have xcode installed by running:

xcode-select -v; xcode-select --print-path

You should see something like this for your output:

$ xcode-select -v; xcode-select --print-path
        xcode-select version 2345.1.
        /Applications/Xcode.app/Contents/Developer

If you see anything differently, please post what you see in your response.

If Xcode is installed, there may be multiple versions installed. These steps may be able to fix this problem.

If this does not resolve the problem, there may be an issue with the initial Jibo-SDK download. Please follow these steps to reinstall the Jibo-SDK Atom Package:

  1. Disable the Jibo Atom Package, then
  2. Uninstall the Jibo Atom Package; and finally
  3. Install the Jibo Atom Package again.

If this does not resolve the errors you are seeing, then there may still an issue with your dependencies not matching our system requirements. Please reconfirm which versions of your dependencies are currently installed so I can check to make sure they match our requirements?

OS: Mac 10.10 / 10.12

Node =

  • node -v command in terminal

npm =

  • npm -v command in Terminal

Xcode-select =

  • xcode-select -v command in Terminal

Atom =

Jibo-SDK =

Pixi.js =

  • cd $HOME; cd node_modules/pixi.js; cat package.json in Terminal

Husl =

  • cd $HOME; cd .atom/packages/jibo-sdk/node_modules/husl; cat package.json in Terminal

@bmulreni The npm version v3.10.5 is ok because this is only within the context of apm commands. You can see it listed when you run apm -v in Terminal:

$ apm -v
     apm  1.12.5
     npm  3.10.5
     node 4.4.5
     python 2.7.10
     git 2.10.1

This is different than the npm version that is installed on my machine from my node version:

$ npm -v
     2.15.9

Just like how my node version is different from Atom’s node version:

$ atom -v
     Atom    : 1.11.1
     Electron: 0.37.8
     Chrome  : 49.0.2623.75
     Node    : 5.10.0

$ node -v
     v4.5.0

#6

Hi @bmulreni

Thank you Bob for your answer. You are right I didn’t double check that. I
just checked npm and node versions. Both of them are fitting with the
requirements as shown below

Last login: Mon Feb 27 13:36:43 on ttys000

Sansfil-Securise-Etudiants-Poly-255-107:~ jcharronlatour$ node -v

v4.5.0

Sansfil-Securise-Etudiants-Poly-255-107:~ jcharronlatour$ npm -v

2.15.9

Do yo think that is it ok?

Thank you for your help! :slight_smile:

Best, Wallerand


#7

Hi @Wallerand,
Your npm/node versions looks fine. I’m afraid I too quickly related your error to my own past npm/node version errors that I experienced while building skills on the command line, rather than in Atom.I didn’t pay attention to the “clear” atom context of your errors - sorry! @joe.t provided a very good description of all the possible contexts.

Anyways, I think @joe.t just provided a detailed list of your next steps to undertake.


#9