Skip to content

Unable to prerender all routes! #226

@mrozkosz

Description

@mrozkosz

To Reproduce
Steps to reproduce the behavior:

  1. npm run build

Screenshots


 ERROR  Failed to compile with 1 error                                                                                                                  1:04:44 PM

 error  

[prerender-spa-plugin] Unable to prerender all routes!

 ERROR  Error: Build failed with errors.
Error: Build failed with errors.
    at /Users/matthew/Documents/hello-world/node_modules/@vue/cli-service/lib/commands/build/index.js:207:23
    at /Users/matthew/Documents/hello-world/node_modules/webpack/lib/webpack.js:157:8
    at /Users/matthew/Documents/hello-world/node_modules/webpack/lib/HookWebpackError.js:68:3
    at Hook.eval [as callAsync] (eval at create (/Users/matthew/Documents/hello-world/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/Users/matthew/Documents/hello-world/node_modules/tapable/lib/Hook.js:18:14)
    at Cache.shutdown (/Users/matthew/Documents/hello-world/node_modules/webpack/lib/Cache.js:150:23)
    at /Users/matthew/Documents/hello-world/node_modules/webpack/lib/Compiler.js:1229:15
    at Hook.eval [as callAsync] (eval at create (/Users/matthew/Documents/hello-world/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/Users/matthew/Documents/hello-world/node_modules/tapable/lib/Hook.js:18:14)
    at Compiler.close (/Users/matthew/Documents/hello-world/node_modules/webpack/lib/Compiler.js:1222:23)
    at /Users/matthew/Documents/hello-world/node_modules/webpack/lib/webpack.js:156:16
    at finalCallback (/Users/matthew/Documents/hello-world/node_modules/webpack/lib/Compiler.js:441:32)
    at /Users/matthew/Documents/hello-world/node_modules/webpack/lib/Compiler.js:505:17
    at /Users/matthew/Documents/hello-world/node_modules/webpack/lib/HookWebpackError.js:68:3
    at Hook.eval [as callAsync] (eval at create (/Users/matthew/Documents/hello-world/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/Users/matthew/Documents/hello-world/node_modules/tapable/lib/Hook.js:18:14)
    at Cache.storeBuildDependencies (/Users/matthew/Documents/hello-world/node_modules/webpack/lib/Cache.js:122:37)
    at /Users/matthew/Documents/hello-world/node_modules/webpack/lib/Compiler.js:501:19
    at Hook.eval [as callAsync] (eval at create (/Users/matthew/Documents/hello-world/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:24:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/Users/matthew/Documents/hello-world/node_modules/tapable/lib/Hook.js:18:14)
    at /Users/matthew/Documents/hello-world/node_modules/webpack/lib/Compiler.js:498:23
    at Compiler.emitRecords (/Users/matthew/Documents/hello-world/node_modules/webpack/lib/Compiler.js:919:5)
    at /Users/matthew/Documents/hello-world/node_modules/webpack/lib/Compiler.js:490:11
    at /Users/matthew/Documents/hello-world/node_modules/webpack/lib/Compiler.js:885:14
    at _next0 (eval at create (/Users/matthew/Documents/hello-world/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:16:1)
    at eval (eval at create (/Users/matthew/Documents/hello-world/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:24:1)
    at /Users/matthew/Documents/hello-world/node_modules/prerender-spa-plugin/es6/index.js:148:9
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Process finished with exit code 1

Additional context
Package version: ^3.2.1
Vue version: ^2.6.14
Vue CLI version: X.X.X

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions