JohnJKerr / gatsby-creative

Gatsby implementation of Start Boostrap Creative template
MIT License
21 stars 9 forks source link

Simply does not work #10

Open YSternlicht opened 3 years ago

YSternlicht commented 3 years ago

No comment really needed, Ran gatsby new gatsby-creative https://github.com/JohnJKerr/gatsby-creative on windows 10

Getting this response

info Creating new site from git: https://github.com/JohnJKerr/gatsby-creative.git

Cloning into 'gatsby-creative'... remote: Enumerating objects: 52, done. remote: Counting objects: 100% (52/52), done. remote: Compressing objects: 100% (48/48), done. remote: Total 52 (delta 2), reused 39 (delta 2), pack-reused 0 Receiving objects: 100% (52/52), 1.39 MiB | 365.00 KiB/s, done. Resolving deltas: 100% (2/2), done. ←[2K←[1A←[2K←[G←[32msuccess←[39m Created starter directory layout

←[2K←[1A←[2K←[G←[34minfo←[39m Installing packages...

npm ERR! code 1 npm ERR! path C:\Users\MyName\Desktop\MyProjects\gatsby-creative\node_modules\sharp npm ERR! command failed npm ERR! command C:\windows\system32\cmd.exe /d /s /c (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy) npm ERR! info sharp Using cached C:\Users\MyName\AppData\Local\npm-cache_libvips\libvips-8.7.4-win32-x64.tar.gz npm ERR! info sharp Creating C:\Users\MyName\Desktop\MyProjects\gatsby-creative\node_modules\sharp\build\Release npm ERR! info sharp Copying DLLs from C:\Users\MyName\Desktop\MyProjects\gatsby-creative\node_modules\sharp\vendor\lib to C:\Users\MyName\Desktop\MyProjects\gatsby-creative\node_modules\sharp\build\Release npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@3.8.0 npm ERR! gyp info using node@15.8.0 | win32 | x64 npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: Command failed: C:\Python39\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3]; npm ERR! gyp ERR! stack File "", line 1 npm ERR! gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3]; npm ERR! gyp ERR! stack ^ npm ERR! gyp ERR! stack SyntaxError: invalid syntax npm ERR! gyp ERR! stack npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child_process:327:12) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:378:20) npm ERR! gyp ERR! stack at maybeClose (node:internal/child_process:1067:16) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) npm ERR! gyp ERR! System Windows_NT 10.0.18363 npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\MyName\Desktop\MyProjects\gatsby-creative\node_modules\node-gyp\bin\node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd C:\Users\MyName\Desktop\MyProjects\gatsby-creative\node_modules\sharp npm ERR! gyp ERR! node -v v15.8.0 npm ERR! gyp ERR! node-gyp -v v3.8.0 npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:

ERROR

Command failed with exit code 1: npm install

Error: Command failed with exit code 1: npm install

matintrenta commented 3 years ago

try run

npm install -g npm-check-updates ncu -u npm install