I’m having problems getting Phoenix to install. After upgrading to Elixir 1.6.1, I ran:
$ ez=https://github.com/phoenixframework/archives/raw/master/phx_new.ez
$ mix archive.install $ez
$ mix phx.new mudlark --no-ecto
...
Fetch and install dependencies? [Yn] y
* running mix deps.get
* running mix deps.compile
* running cd assets && npm install && node node_modules/brunch/bin/brunch build <- Take 1
We are almost there! The following steps are missing:
$ cd mudlark
$ cd assets && npm install && node node_modules/brunch/bin/brunch build <- Take 2?
It seemed odd that mix was asking me to do an install and build that it had just done,
but I decided that it couldn’t hurt, so:
$ cd mudlark
$ cd assets && npm install && node node_modules/brunch/bin/brunch build
npm WARN package.json @ No description
npm WARN package.json @ No README data
npm ERR! notarget No compatible version found: phoenix_html@'file:../deps/phoenix_html'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["2.10.4"]
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! System Darwin 14.5.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Volumes/Fido/Local/u/rdm/Private/Work/P_OSM/AxMaps/elixir/mudlark/assets
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! code ETARGET
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! ~/Work/P_OSM/AxMaps/elixir/mudlark/assets/npm-debug.log
npm ERR! not ok code 0
I’v never used npm before, but it seems to be saying that it can’t find version 2.10.4 of a file. I’m not sure what to do at this point…