'how can i fix vercel path error when deploying
My project works on local , but i try to deploy to vercel, i got this error Module not found: Can't resolve '../artifacts/contracts/Cartoonz.json' in '/vercel/path0/utils';
Here is my utils/interact.js
Solution 1:[1]
You have to run vercel from a directory that contains the assets folder, because the parent directories won't be uploaded to vercel.
Can you please post a screenshot of your folder structure, and tell us where you run the vercel command?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Boris K |
