Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not install the package #52

Open
minhphan200677 opened this issue Oct 4, 2018 · 0 comments
Open

Can not install the package #52

minhphan200677 opened this issue Oct 4, 2018 · 0 comments

Comments

@minhphan200677
Copy link

I tried to install the package but always got the following error. Anyone can help? Thanks.

====Executing command 'npm install node-quickfix-ssl --save '====

npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EACCES: request to https://registry.npmjs.org/node-quickfix-ssl failed, reason: connect EACCES 104.16.24.35:443
npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation.

[email protected] preinstall C:\Users\minhp\source\repos\FixEngine\FixEngine\node_modules\node-quickfix-ssl
npm install nan && node-gyp clean && node-gyp configure && node-gyp build
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EACCES: request to https://registry.npmjs.org/nan failed, reason: connect EACCES 104.16.24.35:443
npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation.
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] No license field.

  • [email protected]
    added 1 package from 7 contributors in 0.751s
    C:\Users\minhp\source\repos\FixEngine\FixEngine\node_modules\node-quickfix-ssl>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" clean ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" clean )
    C:\Users\minhp\source\repos\FixEngine\FixEngine\node_modules\node-quickfix-ssl>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" configure ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" configure )
    gyp ERR! configure error
    gyp ERR! stack Error: Command failed: C:\Users\minhp\AppData\Local\Programs\Python\Python37-32\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
    gyp ERR! stack File "", line 1
    gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
    gyp ERR! stack ^
    gyp ERR! stack SyntaxError: invalid syntax
    gyp ERR! stack
    gyp ERR! stack at ChildProcess.exithandler (child_process.js:276:12)
    gyp ERR! stack at emitTwo (events.js:126:13)
    gyp ERR! stack at ChildProcess.emit (events.js:214:7)
    gyp ERR! stack at maybeClose (internal/child_process.js:915:16)
    gyp ERR! stack at Socket.stream.socket.on (internal/child_process.js:336:11)
    gyp ERR! stack at emitOne (events.js:116:13)
    gyp ERR! stack at Socket.emit (events.js:211:7)
    gyp ERR! stack at Pipe._handle.close [as _onclose] (net.js:561:12)
    gyp ERR! System Windows_NT 10.0.10586
    gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure"
    gyp ERR! cwd C:\Users\minhp\source\repos\FixEngine\FixEngine\node_modules\node-quickfix-ssl
    gyp ERR! node -v v8.12.0
    gyp ERR! node-gyp -v v3.8.0
    gyp ERR! not ok
    npm WARN [email protected] No repository field.
    npm WARN [email protected] No license field.
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! [email protected] preinstall: npm install nan && node-gyp clean && node-gyp configure && node-gyp build
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the [email protected] preinstall script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    npm ERR! A complete log of this run can be found in:
    npm ERR! C:\Users\minhp\AppData\Roaming\npm-cache_logs\2018-10-04T06_10_24_971Z-debug.log

====npm command completed with exit code 1====

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant