-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
When copying the install command from here:
npm install kysely @xata.io/kysely @xata.io/client
When trying to run the command after pasting you get the following error:
At line:1 char:13
+ npm install @xata.io/kysely @xata.io/client
The splatting operator '@' cannot be used to reference variables in an expression. '@xata' can be used only as an
argument to a command. To reference variables in an expression use '$xata'.
At line:1 char:29
+ npm install @xata.io/kysely @xata.io/client
+ ~~~~~
The splatting operator '@' cannot be used to reference variables in an expression. '@xata' can be used only as an
argument to a command. To reference variables in an expression use '$xata'.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
This happens for me on windows 10 in the VSCode terminal.
The @xata.io
name for some reason causes issues for the parser in this case.
This can be fixed pretty easily by changing the command to wrap the dependency arguments in quotes like this:
npm install kysely '@xata.io/kysely' '@xata.io/client'
There are a few other places in the docs that don't have @xata.io/...
args wrapped in quotes.
Metadata
Metadata
Assignees
Labels
No labels