Closed amatiasq closed 10 years ago
@amatiasq, that step in the README should probably be updated to use the pkg from npm directly. Just use npm install -g es6-module-transpiler
and you should be fine.
Updated with the correct package!
I'm trying es6-module-transpiler
but I get another error:
$ sudo npm install -g es6-module-transpiler
npm http GET https://registry.npmjs.org/es6-module-transpiler
npm http 304 https://registry.npmjs.org/es6-module-transpiler
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/through
npm http 304 https://registry.npmjs.org/through
npm http 304 https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/wordwrap
npm ERR! Error: ENOENT, chmod '/usr/local/lib/node_modules/es6-module-transpiler/bin/compile-modules'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>
npm ERR! System Darwin 13.0.2
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "es6-module-transpiler"
npm ERR! cwd XXXXXXXXX
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.14
npm ERR! path /usr/local/lib/node_modules/es6-module-transpiler/bin/compile-modules
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! XXXXXXXXX/npm-debug.log
npm ERR! not ok code 0
In the readme the module is es6-modules-transpiler
(note the s
in modules
) but it throws 404 so I think it's a typo.
$ sudo npm install -g es6-modules-transpiler
npm http GET https://registry.npmjs.org/es6-modules-transpiler
npm http 404 https://registry.npmjs.org/es6-modules-transpiler
npm ERR! 404 'es6-modules-transpiler' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.
npm ERR! System Darwin 13.0.2
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "es6-modules-transpiler"
npm ERR! cwd XXXXXXXXX
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.14
npm ERR! code E404
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! XXXXXXXXX/npm-debug.log
npm ERR! not ok code 0
I'm trying to follow README step to install the transpiler
But it outputs:
Is the server ok? I've tried this 12 hours ago from another network and the same issue occurred.