google / traceur-compiler

Traceur is a JavaScript.next-to-JavaScript-of-today compiler
Apache License 2.0
8.17k stars 581 forks source link

make clean fails #1103

Closed TitanNano closed 10 years ago

TitanNano commented 10 years ago

hey, Because I wanted to compile some ES 6 to ES 5 I thought I will give this compiler a try. But I am already stuck at building. I run " make clean" but I get many error and make can't run through...

npm http 304 https://registry.npmjs.org/promises-aplus-tests
npm http 304 https://registry.npmjs.org/q-io
npm ERR! Error: EROFS, symlink '../semver/bin/semver'
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 Linux 3.11.10-11-desktop
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "--local"
npm ERR! cwd /home/jovan/files/Add-ons/af/traceur-compiler
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! path ../semver/bin/semver
npm ERR! code EROFS
npm ERR! errno 56
npm http GET https://registry.npmjs.org/sinon
npm http GET https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/util
npm http 304 https://registry.npmjs.org/formatio
npm ERR! error rolling back Error: UNKNOWN, unlink '/home/jovan/files/Add-ons/af/traceur-compiler/node_modules/promises-aplus-tests/node_modules/sinon/node_modules/formatio/Readme.rst'
npm ERR! error rolling back  promises-aplus-tests@2.0.4 { [Error: UNKNOWN, unlink '/home/jovan/files/Add-ons/af/traceur-compiler/node_modules/promises-aplus-tests/node_modules/sinon/node_modules/formatio/Readme.rst']
npm ERR! error rolling back   errno: -1,
npm ERR! error rolling back   code: 'UNKNOWN',
npm ERR! error rolling back   path: '/home/jovan/files/Add-ons/af/traceur-compiler/node_modules/promises-aplus-tests/node_modules/sinon/node_modules/formatio/Readme.rst' }
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/home/jovan/files/Add-ons/af/traceur-compiler/node_modules/promises-aplus-tests/node_modules/sinon/node_modules/util/test'
npm ERR! error rolling back  sinon@1.9.1 { [Error: ENOTEMPTY, rmdir '/home/jovan/files/Add-ons/af/traceur-compiler/node_modules/promises-aplus-tests/node_modules/sinon/node_modules/util/test']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: '/home/jovan/files/Add-ons/af/traceur-compiler/node_modules/promises-aplus-tests/node_modules/sinon/node_modules/util/test' }
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/jovan/files/Add-ons/af/traceur-compiler/npm-debug.log
npm ERR! not ok code 0
make: *** [clean] Fehler 56
NO_PREPUBLISH=1 npm install --local && touch node_modules

Can anyone help me to get this to work?

arv commented 10 years ago

Looks like npm is having problems. What version of npm are you using?

Here is mine:

$ npm --version
1.3.17

and

$ node --version
v0.10.23
TitanNano commented 10 years ago

npm 1.2.18 node v0.10.5

okay thats seams to old I will update it.

TitanNano commented 10 years ago

just build the latest source, but it still fails...

node 0.10.29
npm 1.4.14
npm ERR! Error: EROFS, symlink '../semver/bin/semver'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Linux 3.11.10-11-desktop
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--local"
npm ERR! cwd /home/jovan/files/Add-ons/af/traceur-compiler
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path ../semver/bin/semver
npm ERR! code EROFS
npm ERR! errno 56
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/home/jovan/files/Add-ons/af/traceur-compiler/node_modules/promises-aplus-tests/node_modules/sinon/node_modules'
npm ERR! error rolling back  promises-aplus-tests@2.0.4 { [Error: ENOTEMPTY, rmdir '/home/jovan/files/Add-ons/af/traceur-compiler/node_modules/promises-aplus-tests/node_modules/sinon/node_modules']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: '/home/jovan/files/Add-ons/af/traceur-compiler/node_modules/promises-aplus-tests/node_modules/sinon/node_modules' }
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/home/jovan/files/Add-ons/af/traceur-compiler/node_modules/promises-aplus-tests/node_modules/sinon/node_modules/util/test'
npm ERR! error rolling back  sinon@1.9.1 { [Error: ENOTEMPTY, rmdir '/home/jovan/files/Add-ons/af/traceur-compiler/node_modules/promises-aplus-tests/node_modules/sinon/node_modules/util/test']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: '/home/jovan/files/Add-ons/af/traceur-compiler/node_modules/promises-aplus-tests/node_modules/sinon/node_modules/util/test' }
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/jovan/files/Add-ons/af/traceur-compiler/npm-debug.log
npm ERR! not ok code 0
make: *** [clean] Fehler 56
johnjbarton commented 10 years ago

Looks like you have a problem in your filesystem: https://github.com/npm/npm/issues/2423

On Thu, Jun 19, 2014 at 7:41 AM, Jovan Gerodetti notifications@github.com wrote:

just build the latest source, but I still fails...

node 0.10.29 npm 1.4.14

npm ERR! Error: EROFS, symlink '../semver/bin/semver' npm ERR! If you need help, you may report this entire log, npm ERR! including the npm and node versions, at: npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 3.11.10-11-desktop npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--local" npm ERR! cwd /home/jovan/files/Add-ons/af/traceur-compiler npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.14 npm ERR! path ../semver/bin/semver npm ERR! code EROFS npm ERR! errno 56 npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/home/jovan/files/Add-ons/af/traceur-compiler/node_modules/promises-aplus-tests/node_modules/sinon/node_modules' npm ERR! error rolling back promises-aplus-tests@2.0.4 { [Error: ENOTEMPTY, rmdir '/home/jovan/files/Add-ons/af/traceur-compiler/node_modules/promises-aplus-tests/node_modules/sinon/node_modules'] npm ERR! error rolling back errno: 53, npm ERR! error rolling back code: 'ENOTEMPTY', npm ERR! error rolling back path: '/home/jovan/files/Add-ons/af/traceur-compiler/node_modules/promises-aplus-tests/node_modules/sinon/node_modules' } npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/home/jovan/files/Add-ons/af/traceur-compiler/node_modules/promises-aplus-tests/node_modules/sinon/node_modules/util/test' npm ERR! error rolling back sinon@1.9.1 { [Error: ENOTEMPTY, rmdir '/home/jovan/files/Add-ons/af/traceur-compiler/node_modules/promises-aplus-tests/node_modules/sinon/node_modules/util/test'] npm ERR! error rolling back errno: 53, npm ERR! error rolling back code: 'ENOTEMPTY', npm ERR! error rolling back path: '/home/jovan/files/Add-ons/af/traceur-compiler/node_modules/promises-aplus-tests/node_modules/sinon/node_modules/util/test' } npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/jovan/files/Add-ons/af/traceur-compiler/npm-debug.log npm ERR! not ok code 0 make: *\ [clean] Fehler 56

— Reply to this email directly or view it on GitHub https://github.com/google/traceur-compiler/issues/1103#issuecomment-46568704 .

TitanNano commented 10 years ago

okay, figured it out. I am working in a VM and the traceur-compiler folder is inside a shared folder from the host machine and this is what npm does not like.