NPM Auto uninstalling my extensions

Wappler, when I'm updating the "CTRL-S" app, it automatically restarts the app and removes the packages that the extensions are using. @Teodor

After edit any 'api' action and take "CTRL-S" or Save project.

The wappler remove all packages.

Could you be more specific? Which packages exactly are removed and have used them in actions?

My packages is: ioredis, pino, pino-pretty, apm-server, pino-elasticsearch, etc… in this action have “ioredis” package for get json of a key in redis cache.

And all those packages are being uninstalled? Wappler don’t do that.

Only ioredus is optional but if you have specified Redis options in the server connect options it should stay

I tested it on another project and Wappler doesn't uninstall, I believe it's a bug in the project. Specifically in configuring packages, but I've spent hours trying to find it and I can't. I configured the previously included packages in "Extensions" and also with the "npm install *..." installation manual and the problem continues.

Is there a specific 3rd party Wappler extension that you are using? If those packages are listed there as dependencies they will be then installed. But if you remove the extension then they will be uninstalled

An application really bugged, unfortunately I'm having to install the package every time after updating the api. I give up.

I know this is old but i have just experienced the same problem.

I added an npm throught the project updated interface and on save i was prompted to update dependencies whereupon the extension was removed.

I tracked this down to an incorrect entry in the package-lock.json file which had an invalid entry (possible as a a result of a bad entry in an extension HJSON file?).
I manually removed the entry from package-lock.json and all seem well, now.