I’m getting “Cannot find module ‘wix-web-module’ or its corresponding type declarations” even though I’ve upgraded all the backend files to .web.js and added import { Permissions, webMethod } from ‘wix-web-module’;
I’m now trying update my Wix CLI to the latest version 1.1.61, hoping that will sync the wix types. though the entire command structure has changed. “wix dev” and “wix preview” are not recognized. there seems to be no documentation, as all the documents I can find reference the old commands that are supported.
It would really help the community assist you better if you could share some specific code examples. Of course, if your code includes any sensitive or private information, please make sure to temporarily replace those parts before sharing.