반응형
증상

npm run build 하니까 이런 에러가 발생했다.
해결방법
node modules를 삭제하면 된다.
rm -rf node_modules/
그리고 다시 install 후 build하면된다.
npm i
npm run build
Reference
Any Idea why vite.js is having issues in react with esbuild
I tried installing react app with vite and after installation when i tried using npm run dev it keeps throwing this error, dyld: Symbol not found: _clock_gettime Referenced from: /Users/KELVIN/De...
stackoverflow.com
반응형
댓글