Open-props import
FiLip2201 opened this issue · comments
Describe the bug
After installing this package, it throws the error "Cannot use import statement outside a module" regarding open-props.
To Reproduce
Steps to reproduce the behavior:
- Create new, clean SolidStart app
- Install this package
- Use any component from this lib
- Npm run dev -> refresh localhost:3000
Desktop (tested on 2 computers):
- OS: Win 11
- npm 9.8.1 (also tested on pnpm 7.25.1)
- node version 20.4.0 (also tested on 19.9.0)
Additional context
[vite] Error when evaluating SSR module /src/root.tsx: failed to import "@bedrock-layout/solid"
|- D:\PROJECTS\WALLO\wallobserver2\node_modules\@bedrock-layout\solid\lib\index.m.js:1
import oe from "open-props";
^^^^^^
SyntaxError: Cannot use import statement outside a module
Stale issue message