-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Description
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
Current Behavior
When you generate a new project via the console using the command gatsby new and enter the initial data, the following texts are displayed at the end of the process in the terminal: ✔ Created site from template
▸ Installing Gatsby...
npm error Exit handler never called!
npm error This is an error with npm itself. Please report this error at:
npm error https://github.com/npm/cli/issues
ERROR UNKNOWN
Command failed with exit code 1: npm install --loglevel error --color always --legacy-peer-deps --no-audit
Translated with DeepL.com (free version)
Expected Behavior
The completion of the process of generating a new local site in GatsbyJS
Steps To Reproduce
-
In this environment:
2.Distributor ID: Ubuntu
Description: Ubuntu 24.04.3 LTS
Release: 24.04
Codename: noble -
With this config...
-
Run: gatsby new
-
See error:
-
What would you like to call your site?
✔ · Calendar VeneHindustrial
What would you like to name the folder where your site will be created?
✔ VeneHindustrial/ calendar_v0.2
✔ Will you be using JavaScript or TypeScript?
· TypeScript
✔ Will you be using a CMS?
· Netlify CMS
✔ Would you like to install a styling system?
· Tailwind CSS
✔ Would you like to install additional features with other plugins?
· Add the Google gtag script for e.g. Google Analytics
· Add responsive images
· Add an automatic sitemap
· Generate a manifest file
Thanks! Here's what we'll now do:
🛠 Create a new Gatsby site in the folder calendar_v0.2
📚 Install and configure the plugin for Netlify CMS
🎨 Get you set up to use Tailwind CSS for styling your site
🔌 Install gatsby-plugin-google-gtag, gatsby-plugin-image, gatsby-plugin-sitemap, gatsby-plugin-manifest, gatsby-plugin-mdx
✔ Created site from template
▸ Installing Gatsby...
npm error Exit handler never called!
npm error This is an error with npm itself. Please report this error at:
npm error https://github.com/npm/cli/issues
ERROR UNKNOWN
Command failed with exit code 1: npm install --loglevel error --color always --legacy-peer-deps --no-audit

Environment
- npm: 10.9.3
- Node.js: v22.18.0
- OS Name: Ubuntu 24.04.3 LTS
- System Model Name: Lenovo Intel core 5 + VMWare 16.0
- npm config:
; copy and paste output from `npm config ls` here
; node bin location = /home/llabori/.nvm/versions/node/v22.18.0/bin/node
; node version = v22.18.0
; npm local prefix = /home/llabori/Documents/VeneHindustrial
; npm version = 10.9.3
; cwd = /home/llabori/Documents/VeneHindustrial
; HOME = /home/llabori
; Run npm config ls -l
to show all defaults.