Skip to content

Running website locally following the "Running Natively" guide fails. #642

@twoGiants

Description

@twoGiants

Expected Behavior

When following the "Running Natively" guide here I expect the website to start locally.

I am on Fedora 40. But it should not matter, its not an OS issue.

Actual Behavior

netlify-cli installation fails on Node v14.3.0. Quote from link:

Netlify CLI requires Node.js version 18.14.0 or above.

Steps to Reproduce the Problem

  1. Follow the guide here.

Additional Info

  • Error output:
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/home/stas/.nvm/versions/node/v14.3.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Linux 6.13.7-100.fc40.x86_64
gyp ERR! command "/home/stas/.nvm/versions/node/v14.3.0/bin/node" "/home/stas/.nvm/versions/node/v14.3.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/stas/Dev/active/tekton/forks/tekton-website/node_modules/netlify-cli/node_modules/unix-dgram
gyp ERR! node -v v14.3.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok

> [email protected] install /home/stas/Dev/active/tekton/forks/tekton-website/node_modules/netlify-cli/node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)

sharp: Installation error: Expected Node.js version >=14.15.0 but found 14.3.0
sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=18.14.0"} (current: {"node":"14.3.0","npm":"6.14.5"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions