HI all
Apologies for ubuntu request but has anyone ever managed to
successfully install and use Angularjs and Slim or Laravel the PHP
frameworks on Ubuntu 13.04 or 13.10.
I'm on the point of frustration because I find no detailed info/tut on
installing Angularjs that actually works.
Same with the other two.
I tried npm install angular but get a mind numbing variety of errors.
I have angular js downloaded into my /Downloads but can find no
instruction on where or how to install it.
Frankly I dislike having to use PHP and Angular but it is the only
choice at this time.
Hoping for some pointers and help
thanks in advance
Roger
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit
(/usr/share/node-gyp/lib/configure.js:431:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(child_process.js:789:12)
gyp ERR! System Linux 3.11.0-17-generic
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd
/home/user/node_modules/angular/node_modules/jsdom/node_modules/contextify
gyp ERR! node -v v0.10.15
gyp ERR! node-gyp -v v0.10.9
gyp ERR! not ok
npm WARN This failure might be due to the use of legacy binary "node"
npm ERR! Error: ENOENT, lstat
'/home/user/node_modules/angular/node_modules/jsdom/node_modules/htmlparser2/node_modules/domelementtype/readme.md'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR! reportbug --attach /home/user/npm-debug.log npm
npm ERR! System Linux 3.11.0-17-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "angular"
npm ERR! cwd /home/user
npm ERR! node -v v0.10.15
npm ERR! npm -v 1.2.18
npm ERR! path
/home/user/node_modules/angular/node_modules/jsdom/node_modules/htmlparser2/node_modules/domelementtype/readme.md
npm ERR! fstream_path
/home/user/node_modules/angular/node_modules/jsdom/node_modules/htmlparser2/node_modules/domelementtype/readme.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! error rolling back Error: ENOTEMPTY, rmdir
'/home/user/node_modules/angular/node_modules/jsdom/node_modules/htmlparser2/node_modules/readable-stream'
npm ERR! error rolling back jsdom@0.8.11 { [Error: ENOTEMPTY, rmdir
'/home/user/node_modules/angular/node_modules/jsdom/node_modules/htmlparser2/node_modules/readable-stream']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path:
'/home/user/node_modules/angular/node_modules/jsdom/node_modules/htmlparser2/node_modules/readable-stream'
}
npm ERR! Error: ENOENT, lstat
'/home/user/node_modules/angular/node_modules/jsdom/node_modules/htmlparser2/node_modules/domhandler/index.js'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR! reportbug --attach /home/user/npm-debug.log npm
npm ERR! System Linux 3.11.0-17-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "angular"
npm ERR! cwd /home/user
npm ERR! node -v v0.10.15
npm ERR! npm -v 1.2.18
npm ERR! path
/home/user/node_modules/angular/node_modules/jsdom/node_modules/htmlparser2/node_modules/domhandler/index.js
npm ERR! fstream_path
/home/user/node_modules/angular/node_modules/jsdom/node_modules/htmlparser2/node_modules/domhandler/index.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat
'/home/user/node_modules/angular/node_modules/jsdom/node_modules/request/node_modules/hawk/README.md'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR! reportbug --attach /home/user/npm-debug.log npm
npm ERR! System Linux 3.11.0-17-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "angular"
npm ERR! cwd /home/user
npm ERR! node -v v0.10.15
npm ERR! npm -v 1.2.18
npm ERR! path
/home/user/node_modules/angular/node_modules/jsdom/node_modules/request/node_modules/hawk/README.md
npm ERR! fstream_path
/home/user/node_modules/angular/node_modules/jsdom/node_modules/request/node_modules/hawk/README.md
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat
'/home/user/node_modules/angular/node_modules/jsdom/node_modules/request/node_modules/node-uuid/benchmark/benchmark.js'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR! reportbug --attach /home/user/npm-debug.log npm
npm ERR! System Linux 3.11.0-17-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "angular"
npm ERR! cwd /home/user
npm ERR! node -v v0.10.15
npm ERR! npm -v 1.2.18
npm ERR! path
/home/user/node_modules/angular/node_modules/jsdom/node_modules/request/node_modules/node-uuid/benchmark/benchmark.js
npm ERR! fstream_path
/home/user/node_modules/angular/node_modules/jsdom/node_modules/request/node_modules/node-uuid/benchmark/benchmark.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm http GET https://registry.npmjs.org/combined-stream
npm http GET https://registry.npmjs.org/async
npm ERR! Error: ENOENT, open
'/home/user/node_modules/angular/node_modules/jsdom/node_modules/request/node_modules/tough-cookie/test.js'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR! reportbug --attach /home/user/npm-debug.log npm
npm ERR! System Linux 3.11.0-17-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "angular"
npm ERR! cwd /home/user
npm ERR! node -v v0.10.15
npm ERR! npm -v 1.2.18
npm ERR! path
/home/user/node_modules/angular/node_modules/jsdom/node_modules/request/node_modules/tough-cookie/test.js
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! Error: ENOENT, open
'/home/user/node_modules/angular/node_modules/jsdom/node_modules/htmlparser2/node_modules/readable-stream/passthrough.js'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR! reportbug --attach /home/user/npm-debug.log npm
npm ERR! System Linux 3.11.0-17-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "angular"
npm ERR! cwd /home/user
npm ERR! node -v v0.10.15
npm ERR! npm -v 1.2.18
npm ERR! path
/home/user/node_modules/angular/node_modules/jsdom/node_modules/htmlparser2/node_modules/readable-stream/passthrough.js
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! Error: ENOENT, utime
'/home/user/node_modules/angular/node_modules/jsdom/node_modules/request/node_modules/http-signature/lib/parser.js'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR! reportbug --attach /home/user/npm-debug.log npm
npm ERR! System Linux 3.11.0-17-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "angular"
npm ERR! cwd /home/user
npm ERR! node -v v0.10.15
npm ERR! npm -v 1.2.18
npm ERR! path
/home/user/node_modules/angular/node_modules/jsdom/node_modules/request/node_modules/http-signature/lib/parser.js
npm ERR! fstream_path
/home/user/node_modules/angular/node_modules/jsdom/node_modules/request/node_modules/http-signature/lib/parser.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call utimes
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:305:19
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! error rolling back Error: ENOTEMPTY, rmdir
'/home/user/node_modules/angular/node_modules/jsdom/node_modules/htmlparser2/node_modules/domutils/lib'
npm ERR! error rolling back angular@1.2.10 { [Error: ENOTEMPTY, rmdir
'/home/user/node_modules/angular/node_modules/jsdom/node_modules/htmlparser2/node_modules/domutils/lib']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path:
'/home/user/node_modules/angular/node_modules/jsdom/node_modules/htmlparser2/node_modules/domutils/lib'
}
npm ERR! contextify@0.1.7 install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the contextify@0.1.7 install script.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls contextify
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.11.0-17-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "angular"
npm ERR! cwd /home/user
npm ERR! node -v v0.10.15
npm ERR! npm -v 1.2.18
npm ERR! code ELIFECYCLE
npm ERR! Error: ENOENT, lstat
'/home/user/node_modules/angular/node_modules/jsdom/node_modules/request/node_modules/mime/types/mime.types'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR! reportbug --attach /home/user/npm-debug.log npm
npm ERR! System Linux 3.11.0-17-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "angular"
npm ERR! cwd /home/user
npm ERR! node -v v0.10.15
npm ERR! npm -v 1.2.18
npm ERR! path
/home/user/node_modules/angular/node_modules/jsdom/node_modules/request/node_modules/mime/types/mime.types
npm ERR! fstream_path
/home/user/node_modules/angular/node_modules/jsdom/node_modules/request/node_modules/mime/types/mime.types
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/user/npm-debug.log
npm ERR! not ok code 0