Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
takiyao opened this issue Aug 18, 2024 · 0 comments

Comments

@takiyao
Copy link

takiyao commented Aug 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant