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

Unhandled error during execution of scheduler flush while redirecting with NuxtLink #10207

Closed
sei-aderr opened this issue Jan 24, 2024 · 1 comment

Comments

@sei-aderr
Copy link

sei-aderr commented Jan 24, 2024

Vue version

Vue 3 (Nuxt 3.9.3)

Link to minimal reproduction

https://github.com/mlte-team/mlte

Steps to reproduce

  1. Clone repo and set up base python env
python -m venv
source ./env/bin/activate
poetry install
  1. Set up base data by running the 4 jupyter notebooks in demo/simple
cd demo/simple
pip install -r requirements.txt

Then run the notebooks in order, negotiation, requirements, evidence, report which should place data in demo/simple/store

  1. In demo/simple, run an instance of the backend store and keep it running mlte store --backend-uri local://store/ --allowed-origins http://localhost:3000

  2. Set up frontend

cd mlte/frontend/nuxt-app
npm i --ignore-scripts
npm install
npx gulp compile
npx gulp init
  1. Run frontend, in mlte/frontend/nuxt-app, run npm run dev
  2. Navigate to localhost:3000
  3. Select a model and version
  4. Open Reports dropdown
  5. Click View button
  6. Error should appear

What is expected?

The NuxtLink should just reroute to the page it is directed at

What is actually happening?

The URL updates in the bar, the page does not redirect but I see this error in the console

image

System Info

Running on chrome,

  System:
    OS: macOS 14.2.1
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 10.85 GB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.11.0 - /usr/local/opt/node@20/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 10.2.4 - /usr/local/opt/node@20/bin/npm
  Browsers:
    Chrome: 120.0.6099.234
    Safari: 17.2.1

Any additional comments?

Seemed to start happening after a recent upgrade to nuxt 3.9.3 although as I keep testing with different versions of nuxt and node I am still seeing the issue. Apologize for the painful reproduction steps, just don't have time at the moment to try and get something similar set up in one of the online environments.

@sei-aderr
Copy link
Author

Looks to be being addressed in several other threads, closing this issue.

nuxt/nuxt#13309
#10055
#10184

@github-actions github-actions bot locked and limited conversation to collaborators Feb 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant