You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrading Astro to v1.0.8 from previous versions which worked fine such as v1.0.7 somehow breaks @motionone/solid, where this error appears (can also be observed in minimal reproducible example below):
Motion is not defined
/node_modules/@motionone/solid/dist/source/index.jsx:21:47
ReferenceError: Motion is not defined
at eval (/node_modules/@motionone/solid/dist/source/index.jsx:21:47)
at async instantiateModule (file:///home/projects/github-hjzgx4/node_modules/vite/dist/node/chunks/dep-0fc8e132.js:50596:9
Some other information that might be relevant:
Version of @motionone/solid is 10.14.1.
Adding of @motionone/solid and @solid-primitives/props to vite.ssr.noExternal in astro.config.mjs is required for it to work without errors in previous versions of Astro.
What version of
astro
are you using?1.0.8
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
pnpm
What operating system are you using?
Mac
Describe the Bug
Upgrading Astro to v1.0.8 from previous versions which worked fine such as v1.0.7 somehow breaks
@motionone/solid
, where this error appears (can also be observed in minimal reproducible example below):Some other information that might be relevant:
@motionone/solid
is 10.14.1.@motionone/solid
and@solid-primitives/props
tovite.ssr.noExternal
inastro.config.mjs
is required for it to work without errors in previous versions of Astro.Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-hjzgx4
Participation
The text was updated successfully, but these errors were encountered: