Vite not working in macOS Monterey
See original GitHub issueDescribe the bug
Following the basic instructions does not work.
yarn create vite my-vite-app --template vue-ts
cd my-vite-app
yarn && yarn serve
- To
localhost:5000
Reproduction
N/A
System Info
System:
OS: macOS 12.0.1
CPU: (8) arm64 Apple M1
Memory: 1.42 GB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.9.1 - /usr/local/bin/node
Yarn: 1.22.15 - /opt/homebrew/bin/yarn
npm: 7.21.1 - /usr/local/bin/npm
Browsers:
Chrome: 95.0.4638.69
Firefox: 94.0.1
Safari: 15.1
npmPackages:
@vitejs/plugin-vue: ^1.9.3 => 1.9.4
vite: ^2.6.4 => 2.6.13
Used Package Manager
yarn
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn’t already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it’s a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Troubleshooting - Vite
If you are running Vite with WSL2, Vite cannot watch file changes in some conditions. See server.watch option. A full reload happens instead...
Read more >Laravel 9 (with Sail, Vite, Inertia and Vue ) - HMR not working?
I am working on a Macbook M1, sail (docker), vite, inertia, vuejs. It turned out the problem was case sensitive filenames. In my...
Read more >Unable to read current working directory: Operation not ...
Go to System Preferences -> Security & Privacy -> Privacy tab · Select "Full Disk Access" from the left-side menu · Add Terminal...
Read more >Use Siri on Mac - Apple Support
The top-right portion of the Mac desktop showing the Siri icon in the menu. Turn on Siri. On your Mac, choose Apple menu...
Read more >Comment installer MAC OS MONTEREY sans problème, on ...
Mac OS Monterey : https://www.apple.com/fr/ macos / monterey /Comment effectuer la mise à jour ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
please try changing the port. if i remember right, Apple have been so evil they took control over this port for a component
5000 port is used by Airplay Receiver, you can turn it off on System Preference => Sharing => Airplay Receiver