visgl / react-google-maps

React components and hooks for the Google Maps JavaScript API
https://visgl.github.io/react-google-maps/
MIT License
1.31k stars 111 forks source link

The splatting operator '@' cannot be used to reference variables in an expression. '@vis' can be used only as an argument to a c ommand. To reference variables in an expression use '$vis' #580

Closed hitecSmartHome closed 1 month ago

hitecSmartHome commented 1 month ago

Description

At line:1 char:13

Steps to Reproduce

npm install @vis.gl/react-google-maps

Environment

Logs

No response

usefulthink commented 1 month ago

@hitecSmartHome was that PowerShell / Windows?

hitecSmartHome commented 1 month ago

Yes. It was vscode terminal on windows. But as soon as i submitted the issue, seen the solution in the Readme. Sorry for that

usefulthink commented 1 month ago

No worries 👍