Bedrock-Layouts / Solid-Bedrock

solid.js port of Bedrock Layout Primitives

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  1. Create new, clean SolidStart app
  2. Install this package
  3. Use any component from this lib
  4. 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