Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Failed to fetch dynamically imported module #1144

@ObserverOfTime

Description

@ObserverOfTime

Describe the bug

sapper build, sapper export & sapper dev all result in the same error.

The page loads for a split second but then is replaced by this message:

500 Failed to fetch dynamically imported module: http://localhost:3000/routes/index.svelte

Logs

Nothing in the server logs. This is in the browser console:

Failed to load resource: the server responded with a status of 404 (Not Found)

To Reproduce

Or just view the error on the deployed site.

Expected behaviour

I expected the page to work as it used to.

Information about your Sapper Installation:

  • Browser and version: Chromium 80.0.3987.149 / Firefox 75.0b11
  • Operating system: Arch Linux x86_64
  • Hosting environment: local / GitHub Pages
  • Application type: exported
  • Sapper version: v0.27.12
  • Svelte version: v3.20.1
  • Node version: v13.12.0
  • Webpack version: v4.42.1

Severity

This issue is blocking my usage of Sapper entirely.

Additional context

Seems to be related to #464 but I can't find a working solution.

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