nuxt / nuxt/examples

auth/local getting error on nuxt generate command

Open
#37 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
236
Forks
51
Avg merge
3h 48m
Merged PRs (30d)
5

Description

first ssr is true when i execute this command it give me this error and compile not completed.
Screenshot from 2023-07-11 22-48-21

After I tried with ssr false and it works and command successfully executed. after I uploaded it into server but its not working site is loading but auth request always returns 404 not found error. Is this not working on generate ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing nuxt generate with SSR enabled and compare the reported compile error with the successful SSR-disabled run. Then inspect the deployed site's authentication request and confirm that generation completes and the request no longer returns 404.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt
Domain
authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.