Team,
I’m trying to deploy website from GitHub (github.com/arskarthikeyan/floral-fusion-creations), however,i’m getting build error all the time.
11:14:46 PM: Failed during stage ‘Install dependencies’: dependency_installation script returned non-zero exit code: 1
11:14:46 PM: npm error code E404
11:14:46 PM: npm error 404 Not Found - GET https://registry.npmjs.org/@remix-run%2Fvite - Not found
11:14:46 PM: npm error 404
11:14:46 PM: npm error 404 ‘@remix-run/vite@latest’ is not in this registry.
11:14:46 PM: npm error 404
11:14:46 PM: npm error 404 Note that you can also install from a
11:14:46 PM: npm error 404 tarball, folder, http url, or git url.
11:14:46 PM: npm error A complete log of this run can be found in: /opt/buildhome/.npm/_logs/2025-03-20T17_44_35_329Z-debug-0.log
11:14:46 PM: Error during npm install
11:14:46 PM: Failing build: Failed to install dependencies
Options tried
@remix-run/vite is in package.json: We’ve verified that @remix-run/vite is present in devDependencies.
Correct Build Command: The Netlify build command is correctly set to npm run build.
vite.config.ts Configured: We’ve ensured that vite.config.ts includes the Remix Vite plugin.
.npmrc: We’ve created an .npmrc file in the root directory.
Node Engine: We’ve defined the Node.js version
Since we’ve already confirmed that @remix-run/vite is in the package.json file,
Pls check and help.
Regards,
Karthikeyan