我正在尝试在主机上部署 laravel 10 项目。使用 laravel 微风项目和 npm 运行时的一些问题。 服务器使用 nvm 0.39.3 和 npm 9.6.5,gallium v16.20.0
npm run dev
回报
LARAVEL v10.8.0 plugin v0.7.4
➜ APP_URL: http://xxxx.xxx
Error: Failed to scan for dependencies from entries:
/home/c/cn18045/public_html/resources/js/app.js
npm run build
回报
failed to load config from /home/c/cn18045/public_html/vite.config.js