DEV Community

Nare Sai Chaitanya
Nare Sai Chaitanya

Posted on

Error while serving angular app in v14

Here is the error:

[webpack-dev-middleware] HookWebpackError: Unexpected end of JSON input
at makeWebpackError (D:\GitHub\TAP_New\onPOINT\ui\node_modules\webpack\lib\HookWebpackError.js:48:9)
at D:\GitHub\TAP_New\onPOINT\ui\node_modules\webpack\lib\Compilation.js:3060:12
at eval (eval at create (D:\GitHub\TAP_New\onPOINT\ui\node_modules\tapable\lib\HookCodeFactory.js:33:10), :44:1)
at fn (D:\GitHub\TAP_New\onPOINT\ui\node_modules\webpack\lib\Compilation.js:480:17)
at _next3 (eval at create (D:\GitHub\TAP_New\onPOINT\ui\node_modules\tapable\lib\HookCodeFactory.js:33:10), :41:1)
at eval (eval at create (D:\GitHub\TAP_New\onPOINT\ui\node_modules\tapable\lib\HookCodeFactory.js:33:10), :60:1)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
-- inner error --
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at D:\GitHub\TAP_New\onPOINT\ui\node_modules\@angular-devkit\build-angular\src\webpack\plugins\devtools-ignore-plugin.js:42:38
at fn (D:\GitHub\TAP_New\onPOINT\ui\node_modules\webpack\lib\Compilation.js:478:10)
at _next3 (eval at create (D:\GitHub\TAP_New\onPOINT\ui\node_modules\tapable\lib\HookCodeFactory.js:33:10), :41:1)
at eval (eval at create (D:\GitHub\TAP_New\onPOINT\ui\node_modules\tapable\lib\HookCodeFactory.js:33:10), :60:1)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
caused by plugins in Compilation.hooks.processAssets
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at D:\GitHub\TAP_New\onPOINT\ui\node_modules\@angular-devkit\build-angular\src\webpack\plugins\devtools-ignore-plugin.js:42:38
at fn (D:\GitHub\TAP_New\onPOINT\ui\node_modules\webpack\lib\Compilation.js:478:10)
at _next3 (eval at create (D:\GitHub\TAP_New\onPOINT\ui\node_modules\tapable\lib\HookCodeFactory.js:33:10), :41:1)
at eval (eval at create (D:\GitHub\TAP_New\onPOINT\ui\node_modules\tapable\lib\HookCodeFactory.js:33:10), :60:1)
at processTicksAndRejections (internal/process/task_queues.js:95:5)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs