Error "Cannot read properties of undefined" with Plasmic + Nu

Hello there. When trying to use plasmic with Nuxt (3.5.2). I get the following error logged into the browser’s console:

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'PLASMIC_QUIET')

What’s the recommended way to fix this?

I could make it work by adding this to my nuxt.config.ts:

vite: {
        define: {
            'process.env.PLASMIC_QUIET': 'true',
        }
    }

I think it would be worth to add this info to the documentation

Hello @entire_grasshopper! Thanks for the report. Working on changes to avoid this kind of error

This should be fixed in the newer versions!