Skip to content

[clarin-dspace-v9-testing]: AAI/DiscoJuice scripts 404 on npm run start:dev — login/discojuice dropdown never opens #1394

Description

@amadulhaxxani

Context

While setting up CLARIN DSpace v9 for local development and Playwright UI testing (dspace-ui-tests against http://localhost:4000), the top-bar Login link does not open the Shibboleth / DiscoJuice dialog.

Symptoms

Browser console shows 404s for all AAI scripts; responses are text/html (Angular index.html), not JavaScript:

Refused to execute script from 'http://localhost:4000/aai/discojuice/discojuice.js' because its MIME type ('text/html') is not executable
Failed to load resource: 404 (Not Found) — aai.js, aai_config.js

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions