-
Notifications
You must be signed in to change notification settings - Fork 11
Migration Guide
Thord Setsaas edited this page Sep 19, 2021
·
2 revisions
Upgrading from 1.x.x
to 2.x.x
requires some manual steps to get it working.
- Upgrade
NodeJS >= v12
andnpm >= v6
- Make sure to upgrade any other services you are using to
>= v0.0.2
, because of the upgrade to latestsocket.io
, it will only accept connections from clients of newer version - Apply latest database migrations
- Pull latest changes
- Remove old
node_modules
rm -rf node_modules
- Install dependencies
npm install
- Remove any old generated
Marko
templates from previous versions. If this step is not done you will see an error likeError: Cannot find module 'marko/src/html'
when trying to start.
find src/ -name "*.marko.js" -type f -delete
- Run the new version like before!
DEBUG=kcapp* npm run <env>
General
Information
Technical Details
Other