Chaben Jade Alagbay
Chaben Jade Alagbay

Reputation: 61

Unrecognized token in source text (for @ symbol)

Can somebody help me with this one? I really don't know why is this happening:

Unrecognized token in source text.
At line:1 char:13
+ npm install  <<<< @babel/core @babel/cli --save-dev
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : UnrecognizedToken

Upvotes: 5

Views: 5472

Answers (2)

Jackson Vasconcelos
Jackson Vasconcelos

Reputation: 101

Got the same error. You could try enclosing the text containing at-sign within apostrophes ('), like this:

npm install --save-dev '@babel/core' '@babel/cli'

Got the answer right here: https://github.com/ng-select/ng-select/issues/1114

Upvotes: 10

Rain.To
Rain.To

Reputation: 512

Hope you ran the below from npm prompt

npm install --save-dev @babel/core @babel/cli

Upvotes: 1

Related Questions