This question is locked. New answers and comments are not allowed.
According to this documentation:
http://docs.telerik.com/platform/appbuilder/running-appbuilder/running-the-cli/system-requirements-cli#linux-systems
Appbuilder should work on Ubuntu 14.04. But I'm afraid there are some assumptions being made on dependencies that are not there.
Here is my attempt to install it:
$ sudo npm install appbuilder -g
npm WARN excluding symbolic link docs/stylesheets/hightlight.css -> ../../node_modules/highlight.js/src/styles/solarized_light.css
> safefs@3.1.1 preinstall /usr/lib/node_modules/appbuilder/node_modules/watchr/node_modules/safefs
> node ./cyclic.js
> taskgroup@3.3.9 preinstall /usr/lib/node_modules/appbuilder/node_modules/watchr/node_modules/taskgroup
> node ./cyclic.js
> typechecker@2.0.8 preinstall /usr/lib/node_modules/appbuilder/node_modules/watchr/node_modules/typechecker
> node ./cyclic.js
> ambi@2.1.6 preinstall /usr/lib/node_modules/appbuilder/node_modules/watchr/node_modules/taskgroup/node_modules/ambi
> node ./cyclic.js
npm WARN excluding symbolic link docs/stylesheets/hightlight.css -> ../../node_modules/highlight.js/src/styles/solarized_light.css
> ambi@2.1.6 preinstall /usr/lib/node_modules/appbuilder/node_modules/watchr/node_modules/bal-util/node_modules/ambi
> node ./cyclic.js
/
> ref@0.1.3 install /usr/lib/node_modules/appbuilder/node_modules/ref
> node ./build.js
make: Entering directory `/usr/lib/node_modules/appbuilder/node_modules/ref/build'
CXX(target) Release/obj.target/binding/src/binding.o
make: g++: Command not found
make: *** [Release/obj.target/binding/src/binding.o] Error 127
make: Leaving directory `/usr/lib/node_modules/appbuilder/node_modules/ref/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Linux 3.13.0-34-generic
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/appbuilder/node_modules/ref
gyp ERR! node -v v0.10.31
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
Build failed
> appbuilder@2.4.1-150 preuninstall /usr/lib/node_modules/appbuilder
> node preuninstall.js
Error: Command failed: /bin/sh: 1: resources/platform-tools/android/linux/adb: Permission denied
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/usr/lib/node_modules/appbuilder/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash-node'
npm ERR! error rolling back appbuilder@2.4.1-150 { [Error: ENOTEMPTY, rmdir '/usr/lib/node_modules/appbuilder/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash-node']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path: '/usr/lib/node_modules/appbuilder/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash-node' }
npm ERR! ref@0.1.3 install: `node ./build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ref@0.1.3 install script.
npm ERR! This is most likely a problem with the ref package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls ref
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.13.0-34-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "appbuilder" "-g"
npm ERR! cwd /home/marco/source/telerik
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.23
npm ERR! code ELIFECYCLE
npm ERR! Error: ENOENT, lstat '/usr/lib/node_modules/appbuilder/node_modules/plistlib/node_modules/moment/test/lang/pl.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-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "appbuilder" "-g"
npm ERR! cwd /home/marco/source/telerik
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.23
npm ERR! path /usr/lib/node_modules/appbuilder/node_modules/plistlib/node_modules/moment/test/lang/pl.js
npm ERR! fstream_path /usr/lib/node_modules/appbuilder/node_modules/plistlib/node_modules/moment/test/lang/pl.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/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/usr/lib/node_modules/appbuilder/node_modules/fibers/bin/win32-x64-v8-3.6/fibers.node'
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-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "appbuilder" "-g"
npm ERR! cwd /home/marco/source/telerik
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.23
npm ERR! path /usr/lib/node_modules/appbuilder/node_modules/fibers/bin/win32-x64-v8-3.6/fibers.node
npm ERR! fstream_path /usr/lib/node_modules/appbuilder/node_modules/fibers/bin/win32-x64-v8-3.6/fibers.node
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/usr/lib/node_modules/appbuilder/node_modules/ffi/deps/libffi/configure'
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-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "appbuilder" "-g"
npm ERR! cwd /home/marco/source/telerik
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.23
npm ERR! path /usr/lib/node_modules/appbuilder/node_modules/ffi/deps/libffi/configure
npm ERR! fstream_path /usr/lib/node_modules/appbuilder/node_modules/ffi/deps/libffi/configure
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/usr/lib/node_modules/appbuilder/node_modules/moment/min/tests.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-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "appbuilder" "-g"
npm ERR! cwd /home/marco/source/telerik
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.23
npm ERR! path /usr/lib/node_modules/appbuilder/node_modules/moment/min/tests.js
npm ERR! fstream_path /usr/lib/node_modules/appbuilder/node_modules/moment/min/tests.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/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/marco/source/telerik/npm-debug.log
npm ERR! not ok code 0
http://docs.telerik.com/platform/appbuilder/running-appbuilder/running-the-cli/system-requirements-cli#linux-systems
Appbuilder should work on Ubuntu 14.04. But I'm afraid there are some assumptions being made on dependencies that are not there.
Here is my attempt to install it:
$ sudo npm install appbuilder -g
npm WARN excluding symbolic link docs/stylesheets/hightlight.css -> ../../node_modules/highlight.js/src/styles/solarized_light.css
> safefs@3.1.1 preinstall /usr/lib/node_modules/appbuilder/node_modules/watchr/node_modules/safefs
> node ./cyclic.js
> taskgroup@3.3.9 preinstall /usr/lib/node_modules/appbuilder/node_modules/watchr/node_modules/taskgroup
> node ./cyclic.js
> typechecker@2.0.8 preinstall /usr/lib/node_modules/appbuilder/node_modules/watchr/node_modules/typechecker
> node ./cyclic.js
> ambi@2.1.6 preinstall /usr/lib/node_modules/appbuilder/node_modules/watchr/node_modules/taskgroup/node_modules/ambi
> node ./cyclic.js
npm WARN excluding symbolic link docs/stylesheets/hightlight.css -> ../../node_modules/highlight.js/src/styles/solarized_light.css
> ambi@2.1.6 preinstall /usr/lib/node_modules/appbuilder/node_modules/watchr/node_modules/bal-util/node_modules/ambi
> node ./cyclic.js
/
> ref@0.1.3 install /usr/lib/node_modules/appbuilder/node_modules/ref
> node ./build.js
make: Entering directory `/usr/lib/node_modules/appbuilder/node_modules/ref/build'
CXX(target) Release/obj.target/binding/src/binding.o
make: g++: Command not found
make: *** [Release/obj.target/binding/src/binding.o] Error 127
make: Leaving directory `/usr/lib/node_modules/appbuilder/node_modules/ref/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Linux 3.13.0-34-generic
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/appbuilder/node_modules/ref
gyp ERR! node -v v0.10.31
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
Build failed
> appbuilder@2.4.1-150 preuninstall /usr/lib/node_modules/appbuilder
> node preuninstall.js
Error: Command failed: /bin/sh: 1: resources/platform-tools/android/linux/adb: Permission denied
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/usr/lib/node_modules/appbuilder/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash-node'
npm ERR! error rolling back appbuilder@2.4.1-150 { [Error: ENOTEMPTY, rmdir '/usr/lib/node_modules/appbuilder/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash-node']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path: '/usr/lib/node_modules/appbuilder/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash-node' }
npm ERR! ref@0.1.3 install: `node ./build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ref@0.1.3 install script.
npm ERR! This is most likely a problem with the ref package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls ref
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.13.0-34-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "appbuilder" "-g"
npm ERR! cwd /home/marco/source/telerik
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.23
npm ERR! code ELIFECYCLE
npm ERR! Error: ENOENT, lstat '/usr/lib/node_modules/appbuilder/node_modules/plistlib/node_modules/moment/test/lang/pl.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-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "appbuilder" "-g"
npm ERR! cwd /home/marco/source/telerik
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.23
npm ERR! path /usr/lib/node_modules/appbuilder/node_modules/plistlib/node_modules/moment/test/lang/pl.js
npm ERR! fstream_path /usr/lib/node_modules/appbuilder/node_modules/plistlib/node_modules/moment/test/lang/pl.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/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/usr/lib/node_modules/appbuilder/node_modules/fibers/bin/win32-x64-v8-3.6/fibers.node'
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-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "appbuilder" "-g"
npm ERR! cwd /home/marco/source/telerik
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.23
npm ERR! path /usr/lib/node_modules/appbuilder/node_modules/fibers/bin/win32-x64-v8-3.6/fibers.node
npm ERR! fstream_path /usr/lib/node_modules/appbuilder/node_modules/fibers/bin/win32-x64-v8-3.6/fibers.node
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/usr/lib/node_modules/appbuilder/node_modules/ffi/deps/libffi/configure'
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-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "appbuilder" "-g"
npm ERR! cwd /home/marco/source/telerik
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.23
npm ERR! path /usr/lib/node_modules/appbuilder/node_modules/ffi/deps/libffi/configure
npm ERR! fstream_path /usr/lib/node_modules/appbuilder/node_modules/ffi/deps/libffi/configure
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR! Error: ENOENT, lstat '/usr/lib/node_modules/appbuilder/node_modules/moment/min/tests.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-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "appbuilder" "-g"
npm ERR! cwd /home/marco/source/telerik
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.23
npm ERR! path /usr/lib/node_modules/appbuilder/node_modules/moment/min/tests.js
npm ERR! fstream_path /usr/lib/node_modules/appbuilder/node_modules/moment/min/tests.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/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/marco/source/telerik/npm-debug.log
npm ERR! not ok code 0