I have a problem with building app process in Digital Ocean, I have an app already deployed and I have implemented a big refactor in the code structure, in my local I can make a build perfectly but when I tried to make build in digital ocean I have received an error with imports and exports
I have the same node version in Digital Ocean and local (v16.15.0)
any idea about the problem?
I fixed the bug, it was a problem with git, in my refactor I changed some filenames to use camelCase and the ToolBar file was being cached with its previous name.
I mean
previous name: src/components/Toolbar/ToolBar.tsx
current name: src/components/ToolBar/ToolBar.tsx
this failed because in the git repository it kept the old name while in my local repository it had the updated name.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.