Particle-dev-profiles not found when installing particle dev local compiler

I am not able to install the particle dev local compiler because particle-dev-profiles is not found:

npm ERR! git rev-list -n1 feature/no-serialport: fatal: ambiguous argument 'feature/no-serialport': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 feature/no-serialport: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 feature/no-serialport: 'git <command> [<revision>...] -- [<file>...]'
npm ERR! git rev-list -n1 feature/no-serialport: 
npm ERR! Darwin 15.3.0
npm ERR! argv "/Applications/Particle Dev.app/Contents/Resources/app/apm/bin/node" "/Applications/Particle Dev.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/amadeocasas/.particledev/.apm/.apmrc" "--userconfig" "/Users/amadeocasas/.particledev/.apmrc" "install" "/private/var/folders/dw/cxhg2rgx4pj8901kddsdxk0m0000gp/T/d-116116-83782-1xuao3b/package.tgz" "--target=0.30.7" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code 128

npm ERR! Command failed: fatal: ambiguous argument 'feature/no-serialport': unknown revision or path not in the working tree.
npm ERR! Use '--' to separate paths from revisions, like this:
npm ERR! 'git <command> [<revision>...] -- [<file>...]'
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/dw/cxhg2rgx4pj8901kddsdxk0m0000gp/T/apm-install-dir-116116-83782-c5630r/npm-debug.log'

Is this a known issue? Is there a workaround for this?

Thanks.

Are you really on 0.10.40?

Try upgrading to 4.2.4+ :wink:

Was Particle Dev and CLI running that way?

Interesting. Not sure where that is coming from, this is what I have in my computer:

ACasas-mbp113:~ $ node --version
v4.3.1
ACasas-mbp113:~ $ npm --version
2.14.12

Could it be that you have an old version of node installed somewhere and the path used in this instance picks the wrong one?

I ended up downloading the package to ~/.particledev/packages and after installing a couple of dependencies, things worked.

Thanks @ScruffR!

1 Like