Skip to content

Initialization command directly reports an error #1603

@yangdan8

Description

@yangdan8

I am interested in helping provide a fix!

No

Which generators are impacted?

  • All
  • Angular
  • HTML
  • Preact
  • Qwik
  • React
  • React-Native
  • Solid
  • Stencil
  • Svelte
  • Vue
  • Web components

Reproduction case

https://mitosis.builder.io/playground

Expected Behaviour

normal operation

Actual Behaviour

E:\mitosis>npm create @builder.io/mitosis@latest
所在位置 行:1 字符: 13

  • pnpm create @builder.io/mitosis@latest
  •         ~~~~~~~~
    

无法使用展开运算符“@”以在表达式中引用变量。只能将“@builder”作为命令的参数。要在表达式中引用变量,请使用“$builder”。
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : SplattingNotPermitted

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions