agargaro / three.ez

Simplify three.js development, including events, drag & drop, binding, focus management, smart rendering, tweening and more.
https://agargaro.github.io/three.ez/
MIT License
222 stars 8 forks source link

PowerShell issue: The splatting operator '@' cannot be used to reference variables in an expression #93

Open takiyao opened 1 month ago

takiyao commented 1 month ago

When I try to npm install, I get:

"The splatting operator '@' cannot be used to reference variables in an expression. '@three' can be used only as an argument to a command. To reference variables in an expression use '$three'.

  • CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
  • FullyQualifiedErrorId : SplattingNotPermitted"

Solution: You can escape the @ symbol in PowerShell by using a backtick before it:

npm install `@three.ez/instanced-mesh