Jump to content

Gulp Installation Issue


JCPalmer
 Share

Recommended Posts

I need to build babylon.js files.  Am using Eclipse 4.4 (Luna) on Ubuntu 14.04 LTS.  I built close to the directions on thread:

http://www.html5gamedevs.com/topic/7747-contribute-to-bjs-in-javascript/

 

That thread assumes you are using Windows. The changes I made are that I just installed command-line git from the Ubuntu package repository.  I built and installed Node from source (0.10.31).  This is because there is a name conflict with the name 'node' in the Ubuntu repository & things are not in the directory tree Gulp expects on linux of '/usr/local'.

 

I changed to the Gulp directory and typed 'sudo npm install -g gulp', and it worked see output below:

/babylon/Babylon.js/Tools/gulp$ sudo npm install -g gulp[sudo] password for jeff: /usr/local/bin/gulp -> /usr/local/lib/node_modules/gulp/bin/[email protected] /usr/local/lib/node_modules/gulp├── [email protected]├── [email protected]├── [email protected]├── [email protected]├── [email protected]├── [email protected]├── [email protected]├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])├── [email protected] ([email protected], [email protected], [email protected])├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])├── [email protected] ([email protected], [email protected], [email protected])└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

The problem starts with getting the dependencies: 'sudo npm install'

/babylon/Babylon.js/Tools/gulp$ sudo npm installnpm WARN package.json [email protected] No repository field.npm WARN deprecated [email protected]: use gulp-rimraf insteadnpm ERR! Error: EPERM, symlink '../rimraf/bin.js'npm ERR!  { [Error: EPERM, symlink '../rimraf/bin.js'] errno: 50, code: 'EPERM', path: '../rimraf/bin.js' }npm ERR! npm ERR! Please try running this command again as root/Administrator.npm ERR! System Linux 3.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path ../rimraf/bin.jsnpm ERR! code EPERMnpm ERR! errno 50npm ERR! stack Error: EPERM, symlink '../rimraf/bin.js'npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/semver/test/index.js'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/semver/test/index.jsnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/semver/test/index.jsnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/through2'npm ERR! error rolling back  [email protected] { [Error: ENOTEMPTY, rmdir '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/through2']npm ERR! error rolling back   errno: 53,npm ERR! error rolling back   code: 'ENOTEMPTY',npm ERR! error rolling back   path: '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/through2' }npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/multipipe/History.md'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/multipipe/History.mdnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/multipipe/History.mdnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/lodash.template/index.js'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/lodash.template/index.jsnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/lodash.template/index.jsnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/dateformat/lib/dateformat.js'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/dateformat/lib/dateformat.jsnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/dateformat/lib/dateformat.jsnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/vinyl/package.json'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/vinyl/package.jsonnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/gulp-util/node_modules/vinyl/package.jsonnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-util/node_modules/lodash.template/node_modules/lodash._escapestringchar'npm ERR! error rolling back  [email protected] { [Error: ENOTEMPTY, rmdir '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-util/node_modules/lodash.template/node_modules/lodash._escapestringchar']npm ERR! error rolling back   errno: 53,npm ERR! error rolling back   code: 'ENOTEMPTY',npm ERR! error rolling back   path: '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-util/node_modules/lodash.template/node_modules/lodash._escapestringchar' }npm ERR! Error: ENOENT, open '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-util/node_modules/lodash.template/node_modules/lodash.defaults/LICENSE.txt'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-util/node_modules/lodash.template/node_modules/lodash.defaults/LICENSE.txtnpm ERR! code ENOENTnpm ERR! errno 34npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-util/node_modules/minimist/test/parse.js'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-util/node_modules/minimist/test/parse.jsnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-util/node_modules/minimist/test/parse.jsnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, chmod '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/vinyl-fs/.jshintrc'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/vinyl-fs/.jshintrcnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/vinyl-fs/.jshintrcnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! fstream_finish_call chmodnpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:305:19npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/resolve'npm ERR! error rolling back  [email protected] { [Error: ENOTEMPTY, rmdir '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/resolve']npm ERR! error rolling back   errno: 53,npm ERR! error rolling back   code: 'ENOTEMPTY',npm ERR! error rolling back   path: '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/resolve' }npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/async/README.md'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/async/README.mdnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/async/README.mdnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, open '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/minimatch/package.json'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/minimatch/package.jsonnpm ERR! code ENOENTnpm ERR! errno 34npm ERR! Error: ENOENT, open '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/glob2base/package.json'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/glob2base/package.jsonnpm ERR! code ENOENTnpm ERR! errno 34npm ERR! Error: ENOENT, open '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/glob/package.json'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/glob/package.jsonnpm ERR! code ENOENTnpm ERR! errno 34npm ERR! Error: ENOENT, open '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/unique-stream/package.json'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/unique-stream/package.jsonnpm ERR! code ENOENTnpm ERR! errno 34npm ERR! Error: ENOENT, open '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/ordered-read-streams/package.json'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/ordered-read-streams/package.jsonnpm ERR! code ENOENTnpm ERR! errno 34npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/mkdirp/node_modules/minimist'npm ERR! error rolling back  [email protected] { [Error: ENOTEMPTY, rmdir '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/mkdirp/node_modules/minimist']npm ERR! error rolling back   errno: 53,npm ERR! error rolling back   code: 'ENOTEMPTY',npm ERR! error rolling back   path: '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/mkdirp/node_modules/minimist' }npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/through2/package.json'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/through2/package.jsonnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-stream/node_modules/through2/package.jsonnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/gulp-util/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/package.json'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/gulp-util/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/package.jsonnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/gulp-util/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex/package.jsonnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/lib/gaze.js'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/lib/gaze.jsnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_modules/gaze/lib/gaze.jsnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/gulp-util/node_modules/through2/node_modules/readable-stream'npm ERR! error rolling back  [email protected] { [Error: ENOTEMPTY, rmdir '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/gulp-util/node_modules/through2/node_modules/readable-stream']npm ERR! error rolling back   errno: 53,npm ERR! error rolling back   code: 'ENOTEMPTY',npm ERR! error rolling back   path: '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/gulp-util/node_modules/through2/node_modules/readable-stream' }npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/lib/_stream_passthrough.js'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/lib/_stream_passthrough.jsnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/lib/_stream_passthrough.jsnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/uglify-js/lib/parse.js'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/uglify-js/lib/parse.jsnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-uglify/node_modules/uglify-js/lib/parse.jsnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/liftoff/artwork/liftoff-icon.eps'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/liftoff/artwork/liftoff-icon.epsnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp/node_modules/liftoff/artwork/liftoff-icon.epsnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/byline/test/rfc.txt'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/byline/test/rfc.txtnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/byline/test/rfc.txtnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! Error: ENOENT, lstat '/babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/typescript/bin/tsc.js'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.13.0-34-genericnpm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"npm ERR! cwd /babylon/Babylon.js/Tools/Gulpnpm ERR! node -v v0.10.31npm ERR! npm -v 1.4.23npm ERR! path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/typescript/bin/tsc.jsnpm ERR! fstream_path /babylon/Babylon.js/Tools/Gulp/node_modules/gulp-tsc/node_modules/typescript/bin/tsc.jsnpm ERR! fstream_type Filenpm ERR! fstream_class FileWriternpm ERR! code ENOENTnpm ERR! errno 34npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)npm ERR! npm ERR! Additional logging details can be found in:npm ERR!     /babylon/Babylon.js/Tools/Gulp/npm-debug.lognpm ERR! not ok code 0

I now also see a log file in the current directory which was not there before.  It is not quite the same as the output.  Can anyone see the problem?  I had been turning on .js generation in the Palantir Typescript plug-in, but that has 2 problems:

  • I does not create those 3 unprintable chars at the beginning of each .js.  This flags all .js as modified.
  • This does not generate the combined babylon.js

 

Thanks,

Jeff

npm-debug.log.txt

Link to comment
Share on other sites

Fixed this in a pretty bizarre way.  As I mentioned in the thread listed in the first post of this thread, I use Truecrypt volumes for my source code backup, and Windows / Linux / Mac cross development.  Basically, you have a large, single OS file of the entire project.  Truecrypt runs on all the systems.  Copy the file anywhere, and you can mount it as a volume on a directory, here '/babylon', or a drive letter on windows.

 

Anyway, I took the volume over to my Mac.  The install went just as documented, except all commands are preceded with 'sudo' to become admin.  It worked.  The 'gulp' command worked.

 

Brought the file / volume back to Ubuntu, and it now had a 'build' sub-directory in 'Gulp'.  The 'gulp' command worked here too.

 

There is still a problem.  If someone understands what, please comment.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...