QualiTests-Mac-mini-2:stf03012017 qualitest$ sudo npm install -g stf
npm WARN prepublish-on-install As of npm@5, prepublish scripts will run only for npm publish.
npm WARN prepublish-on-install (In npm@4 and previous versions, it also runs for npm install.)
npm WARN prepublish-on-install See the deprecation note in npm help scripts for more information.
npm WARN lifecycle [email protected]~prepublish: cannot run in wd %s %s (wd=%s) [email protected] bower install && not-in-install && gulp build || in-install /Users/qualitest/Desktop/stf03012017/stf
/usr/local/bin/stf -> /usr/local/lib/node_modules/stf/bin/stf
[email protected] install /usr/local/lib/node_modules/stf/node_modules/bunyan/node_modules/dtrace-provider
node scripts/install.js
[email protected] install /usr/local/lib/node_modules/stf/node_modules/dtrace-provider
node scripts/install.js
[email protected] install /usr/local/lib/node_modules/stf/node_modules/bufferutil
node-gyp rebuild
gyp WARN EACCES user "root" does not have permission to access the dev dir "/Users/qualitest/.node-gyp/6.9.2"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/stf/node_modules/bufferutil/.node-gyp"
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/bufferutil.node
[email protected] install /usr/local/lib/node_modules/stf/node_modules/jpeg-turbo
node-pre-gyp install --fallback-to-build
gyp WARN EACCES user "root" does not have permission to access the dev dir "/Users/qualitest/.node-gyp/6.9.2"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/stf/node_modules/jpeg-turbo/.node-gyp"
make: * No rule to make target ../.node-gyp/6.9.2/include/node/common.gypi', needed byMakefile'. Stop.
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 16.3.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/usr/local/lib/node_modules/stf/node_modules/jpeg-turbo/lib/binding/node-v48-darwin-x64/jpegturbo.node" "--module_name=jpegturbo" "--module_path=/usr/local/lib/node_modules/stf/node_modules/jpeg-turbo/lib/binding/node-v48-darwin-x64"
gyp ERR! cwd /usr/local/lib/node_modules/stf/node_modules/jpeg-turbo
gyp ERR! node -v v6.9.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/local/lib/node_modules/stf/node_modules/jpeg-turbo/lib/binding/node-v48-darwin-x64/jpegturbo.node --module_name=jpegturbo --module_path=/usr/local/lib/node_modules/stf/node_modules/jpeg-turbo/lib/binding/node-v48-darwin-x64' (1)
node-pre-gyp ERR! stack at ChildProcess.
node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:877:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
node-pre-gyp ERR! System Darwin 16.3.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/stf/node_modules/jpeg-turbo/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /usr/local/lib/node_modules/stf/node_modules/jpeg-turbo
node-pre-gyp ERR! node -v v6.9.2
node-pre-gyp ERR! node-pre-gyp -v v0.6.19
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/local/lib/node_modules/stf/node_modules/jpeg-turbo/lib/binding/node-v48-darwin-x64/jpegturbo.node --module_name=jpegturbo --module_path=/usr/local/lib/node_modules/stf/node_modules/jpeg-turbo/lib/binding/node-v48-darwin-x64' (1)
/usr/local/lib
└── (empty)
npm ERR! Darwin 16.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "stf"
npm ERR! node v6.9.2
npm ERR! npm v4.0.5
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the jpeg-turbo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs jpeg-turbo
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls jpeg-turbo
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/qualitest/Desktop/stf03012017/npm-debug.log
QualiTests-Mac-mini-2:stf03012017 qualitest$ node -v
v6.9.2
QualiTests-Mac-mini-2:stf03012017 qualitest$
It says what the error is. Do not use root or sudo with npm.
On Wed, Jan 4, 2017 at 13:59 madangopal918 notifications@github.com wrote:
QualiTests-Mac-mini-2:stf03012017 qualitest$ sudo npm install -g stf
npm WARN prepublish-on-install As of npm@5, prepublish scripts will run
only for npm publish.npm WARN prepublish-on-install (In npm@4 and previous versions, it also
runs for npm install.)npm WARN prepublish-on-install See the deprecation note in npm help
scripts for more information.npm WARN lifecycle [email protected]~prepublish: cannot run in wd %s %s (wd=%s)
[email protected] bower install && not-in-install && gulp build || in-install
/Users/qualitest/Desktop/stf03012017/stf/usr/local/bin/stf -> /usr/local/lib/node_modules/stf/bin/stf
[email protected] install
/usr/local/lib/node_modules/stf/node_modules/bunyan/node_modules/dtrace-providernode scripts/install.js
[email protected] install
/usr/local/lib/node_modules/stf/node_modules/dtrace-providernode scripts/install.js
[email protected] install
/usr/local/lib/node_modules/stf/node_modules/bufferutilnode-gyp rebuild
gyp WARN EACCES user "root" does not have permission to access the dev dir
"/Users/qualitest/.node-gyp/6.9.2"gyp WARN EACCES attempting to reinstall using temporary dev dir
"/usr/local/lib/node_modules/stf/node_modules/bufferutil/.node-gyp"CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/bufferutil.node
[email protected] install
/usr/local/lib/node_modules/stf/node_modules/jpeg-turbonode-pre-gyp install --fallback-to-build
gyp WARN EACCES user "root" does not have permission to access the dev dir
"/Users/qualitest/.node-gyp/6.9.2"gyp WARN EACCES attempting to reinstall using temporary dev dir
"/usr/local/lib/node_modules/stf/node_modules/jpeg-turbo/.node-gyp"make: * No rule to make target ../.node-gyp/6.9.2/include/node/common.gypi',
needed byMakefile'. Stop.gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit
(/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:215:12)gyp ERR! System Darwin 16.3.0
gyp ERR! command "/usr/local/bin/node"
"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"build" "--fallback-to-build"
"--module=/usr/local/lib/node_modules/stf/node_modules/jpeg-turbo/lib/binding/node-v48-darwin-x64/jpegturbo.node"
"--module_name=jpegturbo"
"--module_path=/usr/local/lib/node_modules/stf/node_modules/jpeg-turbo/lib/binding/node-v48-darwin-x64"gyp ERR! cwd /usr/local/lib/node_modules/stf/node_modules/jpeg-turbo
gyp ERR! node -v v6.9.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node
/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build
--fallback-to-build
--module=/usr/local/lib/node_modules/stf/node_modules/jpeg-turbo/lib/binding/node-v48-darwin-x64/jpegturbo.node
--module_name=jpegturbo
--module_path=/usr/local/lib/node_modules/stf/node_modules/jpeg-turbo/lib/binding/node-v48-darwin-x64'
(1)node-pre-gyp ERR! stack at ChildProcess.
(/usr/local/lib/node_modules/stf/node_modules/jpeg-turbo/node_modules/node-pre-gyp/lib/util/compile.js:83:29)node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:877:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:226:5)node-pre-gyp ERR! System Darwin 16.3.0
node-pre-gyp ERR! command "/usr/local/bin/node"
"/usr/local/lib/node_modules/stf/node_modules/jpeg-turbo/node_modules/.bin/node-pre-gyp"
"install" "--fallback-to-build"node-pre-gyp ERR! cwd
/usr/local/lib/node_modules/stf/node_modules/jpeg-turbonode-pre-gyp ERR! node -v v6.9.2
node-pre-gyp ERR! node-pre-gyp -v v0.6.19
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node
/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build
--fallback-to-build
--module=/usr/local/lib/node_modules/stf/node_modules/jpeg-turbo/lib/binding/node-v48-darwin-x64/jpegturbo.node
--module_name=jpegturbo
--module_path=/usr/local/lib/node_modules/stf/node_modules/jpeg-turbo/lib/binding/node-v48-darwin-x64'
(1)/usr/local/lib
└── (empty)
npm ERR! Darwin 16.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g"
"stf"npm ERR! node v6.9.2
npm ERR! npm v4.0.5
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-pre-gyp install
--fallback-to-buildnpm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-pre-gyp
install --fallback-to-build'.npm ERR! Make sure you have the latest version of node.js and npm
installed.npm ERR! If you do, this is most likely a problem with the jpeg-turbo
package,npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project
with:npm ERR! npm bugs jpeg-turbo
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls jpeg-turbo
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/qualitest/Desktop/stf03012017/npm-debug.log
QualiTests-Mac-mini-2:stf03012017 qualitest$ node -v
v6.9.2
QualiTests-Mac-mini-2:stf03012017 qualitest$
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/openstf/stf/issues/520, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB-_SAPtJBUSH59GOz0EE30pUG5oczFks5rOycxgaJpZM4LaSoe
.
Ok but I tried without using sudo, still i'm getting warnings and errors. In terminal 1 : All requirements had been installed and i'm getting stuck in Installation part npm install -g stf and not able to proceed further for building and running part. In terminal 2 : i'm running rethinkdb.
So please do help.
Sorry but you're opening too many basic issues like this. We provide the
software and it works. It's your responsibility to have your environment
set up properly. I don't think we can provide any more advice to you, it's
starting to take way too much time.
On Wed, Jan 4, 2017 at 14:42 madangopal918 notifications@github.com wrote:
Ok but I tried without using sudo, still i'm getting warnings and errors.
In terminal 1 : All requirements had been installed and i'm getting stuck
in Installation part npm install -g stf and not able to proceed further for
building and running part. In terminal 2 : i'm running rethinkdb.So please do help.
—
You are receiving this because you commented.Reply to this email directly, view it on GitHub
https://github.com/openstf/stf/issues/520#issuecomment-270298811, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAB-_bbG9DzGU8-d1VZjS3Xp8uCJ5Q3Jks5rOzE2gaJpZM4LaSoe
.