kalepail
kalepail
CDCloudflare Developers
Created by kalepail on 4/16/2024 in #workers-help
[ERROR] Error: No such module "chunks/pages/buffer".
Got it!
...
export default defineConfig({
...
vite: {
...
resolve: {
alias: {
'buffer': 'node:buffer'
}
},
...
},
...
})
...
export default defineConfig({
...
vite: {
...
resolve: {
alias: {
'buffer': 'node:buffer'
}
},
...
},
...
})
3 replies
CDCloudflare Developers
Created by kalepail on 4/16/2024 in #workers-help
[ERROR] Error: No such module "chunks/pages/buffer".
Apps works fine locally as well as running with wrangler pages dev ./dist. It's only after I deploy that I get this issue
3 replies