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
Internal server error: [vite] Named export 'Alignment' not found. The requested module '@rive-app/react-canvas' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from '@rive-app/react-canvas';
const {Layout, Fit, Alignment} = pkg;
Using the suggested changes doesn't work. When they are implemented it says that the names don't exist in the package.
Getting this error when using '@rive-app/react-canvas' in Remix run
Typescript version: 5.1.6
React version: 18.2.0
Remix Run version: 2.3.1
The text was updated successfully, but these errors were encountered: