Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to prerender all routes! #226

Open
mrozkosz opened this issue Dec 29, 2023 · 0 comments
Open

Unable to prerender all routes! #226

mrozkosz opened this issue Dec 29, 2023 · 0 comments

Comments

@mrozkosz
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant