I got error about @swc/helpers when deploying on Vercel
Unanswered
Sloth bear posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
Sloth bearOP
[Error: ENOENT: no such file or directory, lstat '/vercel/path0/node_modules/next/nodemodules/@swc/helpers//_interop_require_default/package.json'] {
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/vercel/path0/node_modules/next/nodemodules/@swc/helpers//_interop_require_default/package.json'
errno: -2,
code: 'ENOENT',
syscall: 'lstat',
path: '/vercel/path0/node_modules/next/nodemodules/@swc/helpers//_interop_require_default/package.json'
![Image](https://cdn.discordapp.com/attachments/1216386190182322246/1216386190614466570/Screenshot_2567-03-10_at_20.43.19.png?ex=660032eb&is=65edbdeb&hm=8ba1cd9293be2556a1635a73c43ff72384b87fc12948cfd7430a4c0f1e628140&)
5 Replies
![Avatar](https://cdn.discordapp.com/embed/avatars/1.png)
Toyger
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
Sloth bearOP
Thanks for your response but i have try it still giving same error
![Image](https://cdn.discordapp.com/attachments/1216386190182322246/1216388593816440833/Screenshot_2567-03-10_at_21.13.14.png?ex=66003528&is=65edc028&hm=c33c1c47fa1628f8ce85db44b8de5ad1b2313833c862408f5814480ab56889e6&)
building in local is working tho but vercel giving error
![Avatar](https://cdn.discordapp.com/embed/avatars/1.png)
Toyger
what version of nextjs are you using? maybe it make sense to update to latest one and try with it
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
Sloth bearOP
Thanks i can fix it now