-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Version
No response
Describe the problem
The error occurs because the build cannot open the server/assets directory.
This issue is caused by the change introduced in remix-run/react-router#13547, which removed the server/assets directory.
Additional info
✗ Build failed in 1.76s
[[react-router-amplify-hosting] ENOENT: no such file or directory, lstat '/Users/fossamagna/git/react-router-amplify/packages/vite-plugin-react-router-amplify-hosting/.tmp/integration/rr-hob2h3gk8sg/build/server/assets'
Error: ENOENT: no such file or directory, lstat '/Users/fossamagna/git/react-router-amplify/packages/vite-plugin-react-router-amplify-hosting/.tmp/integration/rr-hob2h3gk8sg/build/server/assets'] {
errno: -2,
code: 'PLUGIN_ERROR',
syscall: 'lstat',
path: '/Users/fossamagna/git/react-router-amplify/packages/vite-plugin-react-router-amplify-hosting/.tmp/integration/rr-hob2h3gk8sg/build/server/assets',
pluginCode: 'ENOENT',
plugin: 'react-router-amplify-hosting',
hook: 'writeBundle'
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working