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

Update gatsby template #721

Open
xlc opened this issue Nov 29, 2024 · 1 comment
Open

Update gatsby template #721

xlc opened this issue Nov 29, 2024 · 1 comment

Comments

@xlc
Copy link

xlc commented Nov 29, 2024

It is 4 years old with many warnings and built error on macos

  ⚙️  gatsby [5/6] info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.10.5/libvips-8.10.5-darwin-arm64v8.tar.br
ERR! sharp Prebuilt libvips 8.10.5 binaries are not yet available for darwin-arm64v8
info sharp Attempting to build from source via node-gyp but this may fail due to the above error
info sharp Please see https://sharp.pixelplumbing.com/install for required dependencies
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | arm64
(node:40876) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
gyp info find Python using Python version 3.13.0 found at "/opt/homebrew/opt/[email protected]/bin/python3.13"
(node:40876) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
gyp ERR! UNCAUGHT EXCEPTION 
gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
gyp ERR! stack     at createConfigFile (/Users/xiliangchen/projects/jam-rpc-spec/build/docs/gatsby/node_modules/node-gyp/lib/configure.js:118:21)
gyp ERR! stack     at /Users/xiliangchen/projects/jam-rpc-spec/build/docs/gatsby/node_modules/node-gyp/lib/configure.js:85:9
gyp ERR! stack     at /Users/xiliangchen/projects/jam-rpc-spec/build/docs/gatsby/node_modules/mkdirp/index.js:30:20
gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:188:23)
gyp ERR! System Darwin 24.1.0
gyp ERR! command "/opt/homebrew/Cellar/node/23.3.0/bin/node" "/Users/xiliangchen/projects/jam-rpc-spec/build/docs/gatsby/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /Users/xiliangchen/projects/jam-rpc-spec/build/docs/gatsby/node_modules/sharp
gyp ERR! node -v v23.3.0
gyp ERR! node-gyp -v v5.1.1
gyp ERR! Node-gyp failed to build your package.
gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
@xlc
Copy link
Author

xlc commented Nov 29, 2024

Maybe it is abandoned and should just use the playground instead?

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