solidjs / solid-start

SolidStart, the Solid app framework
https://start.solidjs.com
MIT License
4.93k stars 371 forks source link

[Bug?]: bun create solid error on windows 11 #1511

Closed lenhosseini closed 1 month ago

lenhosseini commented 1 month ago

Duplicates

Latest version

Current behavior 😯

Running bun create solid on Windows 11 (x64) with Bun v1.1.10 results in the following Error

❯ bun create solid
1 | (function (entry, fetcher)
    ^
SyntaxError: Export named 'addAbortListener' not found in module 'events'.

Bun v1.1.10 (Windows x64)

Expected behavior 🤔

bun create solid should work as expected and create a scaffold project.

Steps to reproduce 🕹

Steps:

  1. On Windows 11 (x64)
  2. Install Bun v.1.1.10
  3. Run bun create solid

Context 🔦

No response

Your environment 🌎

System:
  OS: Windows 11 (x64)
Binaries: 
  Bun: v1.1.10 (Windows x64)
lenhosseini commented 1 month ago

Found the issue, didn't have node installed. After installing node, the cli worked as expected with Bun.