Open CosmicHazel opened 5 months ago
Ensure that the user running the bun run start command has the necessary permissions to access and modify the files and directories involved in the build process. This includes the project directory itself and any output directories like .vite.
ls -l <project-directory>
Look for lines that show the permissions for directories and files. If necessary, adjust the permissions using chmod
or change the ownership with chown
.
Ensure all your dependencies, including Vite and Bun, are up to date. Sometimes, bugs that cause permission issues are fixed in newer versions.
Update your packages:
npm update
# or
yarn upgrade
If you have downloaded/installed bun from snap or any where else remove it and install it using following command:
curl -fsSL https://bun.sh/install | bash # for macOS, Linux, and WSL
Describe the bug
Cannot run bun run start
How To Reproduce
Ubuntu, WSL.
Follow the instructions in readme exactly
Expected behavior
server starts
Screenshots and logs
Configuration
Additional context
Add any other context about the problem here.