question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error adding package - Unexpected token ] in JSON at position 1183

See original GitHub issue
ng add @ng-toolkit/universal
#Installing packages for tooling via npm.
#Two or more projects are using identical roots. Unable to determine project using current working directory. Using default workspace project instead.
#ERROR: Unexpected token ] in JSON at position 1183
#ERROR: If you think that this error shouldn't occur, please fill up bug report here: #https://github.com/maciejtreder/ng-toolkit/issues/new
#INFO: stacktrace has been sent to tracking system.
#Nothing to be done.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
LoudSoftwarecommented, Oct 3, 2018

+1 Am having the same issue right now. Can’t even tell what file it’s complaining about 🤷‍♀️

Edit: NVMD Fixed it. I had a trailing comma in my angular.json

0reactions
frankdazacommented, Apr 14, 2019

I had the same error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm ERR! Unexpected token < in JSON at position 12842
Try copying your json file into jsonlint.com. It will give you more information to show you if the issue you're having is truly...
Read more >
What Is JSON and How to Handle an “Unexpected Token” Error
The first thing to do in this situation is to confirm where the error is happening exactly. To ensure the error happens on...
Read more >
Unexpected token < in JSON at position 143711 after npm install
Hello,. I would like to install react-navigation but I have an error after a npm install. I try : npm install --save react-navigation...
Read more >
How to fix Unexpected Token in JSON error (for ... - YouTube
Not a programmer? Read this! ** - If you get this error in an app you didn't make, and/or you're not a web...
Read more >
Package Fails to Load in Unity 2020
When I try to load my package in 2020 I get this error:... ... Unexpected token in JSON at position 0 [NotFound]. UnityEditor....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found