Skip to content

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

@sei-aderr

Description

@sei-aderr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions