Conversion from Yarn to NPM

Created by Ben Cox, Modified on Thu, 3 Jul at 8:39 AM by Ben Cox

CONVERT THE APP

Delete old modules and packages
Remove-Item -Recurse -Force node_modules, build, .cache, yarn.lock, package-lock.json


Clean Cache

npm cache clean --force


Re-install NPM packages

npm install


Re-build admin panel

npm run build


Push changes to git

UPDATE DIGITAL OCEAN

In app settings set build command to
npm run build

set start command to
npm start






Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article