Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

picomatch/posix.js does not provide an export 'default' on new install via CLI. #404

Copy link
Copy link
@x8BitRain

Description

@x8BitRain
Issue body actions

Describe the bug

Initing a new project via npm create tutorial and starting the project results in

[astro-island] Error hydrating /node_modules/@tutorialkit/astro/dist/default/components/WorkspacePanelWrapper.tsx SyntaxError: The requested module '/node_modules/picomatch/posix.js?v=376cec49' does not provide an export named 'default' (at tutorial-runner.js?v=376cec49:1:8)

in the browser, without any modification to the project.

The demo project does not start and is stuck on "Preparing Environment".

This happens with npm, pnpm and bun, also tried to manually install picomatch and create a vite alias without success.

Link to a StackBlitz project which shows the error

No response

Steps to reproduce

  1. Run npm create tutorial, enter all default options
  2. Wait for localhost to open in browser
  3. check console.

Expected behavior

The default project should start without error.

Screenshots

image

Platform

  • TutorialKit version: 4.15.0
  • OS: Macos
  • Browser: Lastest chrome
  • Version: 131

Additional context

No response

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.