remix-run / remix

Build Better Websites. Create modern, resilient user experiences with web fundamentals.
https://remix.run
MIT License
28.42k stars 2.39k forks source link

playground template Error #9640

Open 19Qingfeng opened 1 week ago

19Qingfeng commented 1 week ago

Reproduction

  1. forx remix and checkout dev.
  2. run pnpm install.
  3. run pnpm new:playground dev.
  4. cd playground/dev.
  5. run npm run dev.
  6. get error about Cannot use import statement outside a module.

System Info

mac M1 & last version chrome
node v18.18.0

Used Package Manager

pnpm

Expected Behavior

Start the playground normally

Actual Behavior

image
brophdawg11 commented 1 week ago

Until we can get around to fixing the playground, I think you can get this fixed up locally via the steps in https://github.com/remix-run/remix/issues/7463