Skip to content

[Bug?]: dev hmr error: "template2 is not a function" #1930

Description

@drdxk

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

npm run dev causes HMR error for notes template

Expected behavior 🤔

no error

Steps to reproduce 🕹

Steps:

  1. npm init solid@latest
  2. select TypeScript, notes
  3. npm i
  4. npm run dev, open browser
  5. modify src/routes/(home).tsx, e.g. add extra "!"
  6. observe browser state

Context 🔦

No response

Your environment 🌎

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.x2.xtargeting SolidStart 2.x versionsbugSomething isn't working

    Type

    No type

    Fields

    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