You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The build process is consistently failing with exit code 127, indicating that the vite command is not found during the build process. Here are the specific details:
10:17:29 PM: > [email protected] build
10:17:29 PM: > vite build
10:17:29 PM: sh: 1: vite: not found
### Expected behavior
npm install should install all dependencies, including Vite
- vite build command should be available and execute successfully
- Build should complete and deploy the site
### Screen Recording / Screenshot
_No response_
### Platform
Browser name = Chrome
Full version = 130.0.0.0
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
performance.memory = {
"totalJSHeapSize": 279102224,
"usedJSHeapSize": 260989468,
"jsHeapSizeLimit": 4294705152
}
Username = alpsla
Chat ID = ff7732ad13c7
### Additional context
Things Already Tried:
1. Updated build command to include explicit install
2. Verified Vite is in devDependencies
3. Confirmed Node version is set correctly
4. Added NPM_FLAGS with --legacy-peer-deps
Additional Context:
The build process seems to be unable to find the vite executable even though it's listed in devDependencies and should be installed during the npm install step.
The text was updated successfully, but these errors were encountered:
Describe the bug
The build process is consistently failing with exit code 127, indicating that the
vite
command is not found during the build process. Here are the specific details:Current Behavior:
npm run build
stepEnvironment Details:
npm install && npm run build
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-yn7aou
Steps to reproduce
Steps to Reproduce:
Relevant Configuration Files:
package.json:
netlify.toml:
Error Log:
Browser name = Chrome
Full version = 130.0.0.0
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
performance.memory = {
"totalJSHeapSize": 279102224,
"usedJSHeapSize": 260989468,
"jsHeapSizeLimit": 4294705152
}
Username = alpsla
Chat ID = ff7732ad13c7
The text was updated successfully, but these errors were encountered: