Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I got this …

zuhair@DESKTOP-K9ATPC4 MINGW64 ~/Desktop/Bento/bento-starter (master) $ npm i npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but npm-shrinkwrap.json was generated for lockfileVersion@0. I’ll try to do my best with it!

iltorb@1.3.10 install C:\Users\zuhair\Desktop\Bento\bento-starter\node_modules\iltorb detect-libc prebuild-install || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=10.15.3 runtime=node arch=x64 platform=win32)

C:\Users\zuhair\Desktop\Bento\bento-starter\node_modules\iltorb>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” rebuild ) else (node “C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” rebuild ) gyp ERR! configure error gyp ERR! stack Error: Command failed: C:\Program Files\Python37\python.EXE -c import sys; print “%s.%s.%s” % sys.version_info[:3]; gyp ERR! stack File “<string>”, 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:294:12) gyp ERR! stack at ChildProcess.emit (events.js:189:13) gyp ERR! stack at maybeClose (internal/child_process.js:970:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) gyp ERR! System Windows_NT 10.0.17763 gyp ERR! command “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” “rebuild” gyp ERR! cwd C:\Users\zuhair\Desktop\Bento\bento-starter\node_modules\iltorb gyp ERR! node -v v10.15.3 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN eslint-config-airbnb@17.1.0 requires a peer of eslint-plugin-jsx-a11y@^6.1.1 but none is installed. You must install peer dependencies yourself. npm WARN eslint-config-airbnb@17.1.0 requires a peer of eslint-plugin-react@^7.11.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.8 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.8: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”})

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! iltorb@1.3.10 install: detect-libc prebuild-install || node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iltorb@1.3.10 install 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\zuhair\AppData\Roaming\npm-cache_logs\2019-04-24T21_41_32_370Z-debug.log

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

kefranabgcommented, May 2, 2019

bundlesize package dependency requires python 2.7. Can you start PowerShell as administrator and run : npm install -g windows-build-tools, install bento-starter dependency again and tell if it worked ?

windows-build-tools will install tools you need to compile native Node modules :

Foetus6907commented, Apr 26, 2019

@kefranabg windows 10

Read more comments on GitHub >

github_iconTop Results From Across the Web

step - npm
A simple control-flow library for node.JS that makes parallel execution, serial execution, and error handling painless.
Read more >
An Absolute Beginner's Guide to Using npm - NodeSource
The npm init command is a step-by-step tool to scaffold out your project. It will prompt you for input for a few aspects...
Read more >
Bitrise step for running npm commands - GitHub
Configuring the Step · Add the Run npm command Step to your Workflow preceding any build Step. · Set the Working directory. ·...
Read more >
Build a Node.js and React app with npm - Jenkins
2, This sh step (of the steps section) runs the shell script located in the jenkins/scripts directory from the root of the...
Read more >
How to publish a npm package in four steps
npm i is a shorthand for npm install and -D is a shorthand for --save-dev which means you'll be saving these as Dev...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found