Anyone Deployed a Filament App on Vercel?
I am getting the below message. Any insights appreciated.
vite v4.3.9 building for production...
transforming...
✓ 2 modules transformed.
✓ built in 220ms
Could not resolve "../../vendor/filament/forms/dist/module.esm" from "resources/js/app.js"
file: /vercel/path0/resources/js/app.js
error during build:
RollupError: Could not resolve "../../vendor/filament/forms/dist/module.esm" from "resources/js/app.js"
at error (file:///vercel/path0/node_modules/rollup/dist/es/shared/node-entry.js:2125:30)
at ModuleLoader.handleInvalidResolvedId (file:///vercel/path0/node_modules/rollup/dist/es/shared/node-entry.js:23938:24)
at file:///vercel/path0/node_modules/rollup/dist/es/shared/node-entry.js:23900:26
Error: Command "npm run build" exited with 1
1 Reply
composer install first