mitosis icon indicating copy to clipboard operation
mitosis copied to clipboard

Initialization command directly reports an error

Open yangdan8 opened this issue 1 year ago • 1 comments

I am interested in helping provide a fix!

No

Which generators are impacted?

  • [X] 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

yangdan8 avatar Oct 24 '24 01:10 yangdan8

I can't really read or understand the log you provided. is this coming from pnpm create? is there anything else you can provide?

samijaber avatar Oct 24 '24 12:10 samijaber