Skip to content

Can not install the package #52

@minhphan200677

Description

@minhphan200677

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.

node-quickfix-ssl@2.0.11 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 node-quickfix-ssl@2.0.11 No license field.

  • nan@2.4.0
    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 fix-engine@0.0.0 No repository field.
    npm WARN fix-engine@0.0.0 No license field.
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! node-quickfix-ssl@2.0.11 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 node-quickfix-ssl@2.0.11 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====

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions