TwicPics / components

A Web component library that brings the power of TwicPics to your favorite web framework.
MIT License
54 stars 2 forks source link

[Nuxt 3.0.0-rc.14] - ERROR Cannot start nuxt: Cannot set properties of undefined (setting 'twicpics') #45

Closed wilrelic closed 1 year ago

wilrelic commented 1 year ago

Getting this error with the module in Nuxt3 after upgrading to latest RC. I think it is referencing the config variable in nuxt.config.ts.

ERROR Cannot start nuxt: Cannot set properties of undefined (setting 'twicpics')

Please advise.

mbgspcii commented 1 year ago

Hi @wilrelic and thank you for using the components and opening this issue.

Could you tell me which version of TwicComponents you are using?

The issue you describe should have been fixed either in the latest Nuxt version ("nuxt": "3.0.0") or in the 0.13.1 version of TwicComponents.

If you are using a lower version, we recommend to upgrade to version 0.14.1.

Hoping that the version change will fix the problem. If not, please keep us informed and we will look for a new solution.

Regards.

Miguel

Strift commented 1 year ago

Hi @wilrelic,

From the name of the issue, it appears that you are using Nuxt 3 RC14. The components package is intended to be used with the latest stable version of Nuxt 3: https://github.com/nuxt/framework/releases/tag/v3.0.0

Cheers,

mbgspcii commented 1 year ago

Hi @wilrelic,

Do you still face the problem ?

Regards.

Miguel