Upgrade your project will take few moments using those steps:
$ npm i -g @sugoi/cli && npm i -D @sugoi/cli
{% hint style="info" %} Run those commands under you SugoiJS project {% endhint %}
V4 change the signature of the server init method by removing the unused serverMetaKey
argument. This cause the following change:
HttpServer.init(BootstrapModule, "/", null, Authorization)
to
HttpServer.init(BootstrapModule, "/", Authorization)
Once commands are done you are ready to go by using the build command:
$ sgi build