Reputation: 61
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
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
Reputation: 512
Hope you ran the below from npm prompt
npm install --save-dev @babel/core @babel/cli
Upvotes: 1