question-mark
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.

Problem installing Plugins / Windows10

See original GitHub issue

I was able to install a theme and the filesystem but failed at sharp and remark. Any clue what the problem is here?

PS C:\Users\Daniel Jakobian\Documents\HTML PROJECTS\gatsbyTest\gatsby-site> npm install --save gatsby-plugin-sharp sharp@0.17.3 install C:\Users\Daniel Jakobian\Documents\HTML PROJECTS\gatsbyTest\gatsby-site\node_modules\sharp node-gyp rebuild C:\Users\Daniel Jakobian\Documents\HTML PROJECTS\gatsbyTest\gatsby-site\node_modules\sharp>if not defined npm_config_node_gyp (node “C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-b in\…..\node_modules\node-gyp\bin\node-gyp.js” rebuild ) else (node “” rebuild ) gyp ERR! configure error gyp ERR! stack Error: Command failed: C:\Python27\python.exe -c import platform; print(platform.python_version()); gyp ERR! stack gyp ERR! stack at ChildProcess.exithandler (child_process.js:272:12) gyp ERR! stack at ChildProcess.emit (events.js:159:13) gyp ERR! stack at maybeClose (internal/child_process.js:943:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5) gyp ERR! System Windows_NT 10.0.16299 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\Daniel Jakobian\Documents\HTML PROJECTS\gatsbyTest\gatsby-site\node_modules\sharp gyp ERR! node -v v9.3.0 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok npm WARN gatsby-starter-hello-world@ No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“win32”,“arch”:“x64”}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! sharp@0.17.3 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the sharp@0.17.3 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\Daniel Jakobian\AppData\Roaming\npm-cache_logs\2017-12-20T13_45_48_365Z-debug.log

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
mpolinowskicommented, Dec 20, 2017

ah i remember, i had the same problem. this pngquant. exe was not installed. I think i npm installed pngquant-bin manually. make sure the exe shows up in the node_modules directory

1reaction
sebastienficommented, Dec 20, 2017

Could you try with Python 2.7 not 3 ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Trouble installing the plug-in? - Microsoft Support
Trouble installing the plug-in? · Make sure your computer operating system and web browser are on the list of supported platforms. · Go...
Read more >
Notepad++ Plugins Failing to Install on Windows 10 - Appuals
Notepad++ Plugins Failing to Install on Windows 10 · Method 1: Running Notepad++ as Administrator · Method 2: Installing the plugin via Plugin...
Read more >
Fixing “This Plugin is Not Supported” error in Windows 10/11
1. Enable Flash in Chrome. 2. Install the latest Flash player; Update Flash:Clear the browsing data in Chrome. 3. Use another browser to...
Read more >
Fix Chrome Plugins Not Working in Windows 10 - TechCult
How to Fix Chrome Plugins Not Working in Windows 10 · Method 1: Restart Chrome · Method 2: Update Chrome · Method 3:...
Read more >
How To Fix Can't Initialize Plugins Directory Windows 10
If disabling the plugin does not solve the problem, then you can try to install the plugin from scratch. Conclusion. If you're experiencing ......
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found