Skip to content

missing dependencies and CORS issue #14

@robverhoef

Description

@robverhoef

I was seeing some errors when running shell pnpm run build.
Fortunately this was an easy fix:

pnpm add @mui/system  
pnpm add @geojson  

I'm still seeing some other issues while building, about dynamically importing index.tsx. But the build succeeds.

After that, when running preview, I'm hitting a solid CORS problem.

Access to fetch at 'https://opensky-network.org/api/states/all?extended=1&lamin=0&lomin=0&lamax=0&lomax=0' from origin 'http://localhost:4173' has been blocked by CORS policy

I suspect this will not be an easy fix without a real server proxying for OpenSky requests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions