0

i'm getting this error while trying to upgrade an angular projet from v14 to v15. I checked all the checkpoints todo in order to upgrade to the new version.

I've already did those manipulations:

  • Delete the node_modules folder
  • Delete the .angular folder
  • Delete the package-lock.json
  • npm cache clean --force
  • npm i

Now, when i do a "ng start" i'm getting this error

"[webpack-dev-middleware] HookWebpackError: Unexpected end of JSON input"

This package seems to be a dependency of "@angular-devkit/build-angular".

And i have this package on my package.json as 15.1.4 version.

I don't know what to do more...

Thank you all!

Ricardo Machado
  • 787
  • 1
  • 8
  • 16

0 Answers0