Skip to content

Conversation

@serhalp
Copy link
Member

@serhalp serhalp commented Jul 18, 2025

There's some intermittent issue in CI that I can't quite figure out:

> vue-tsc --noEmit && nuxi prepare playground && cd playground && vue-tsc --noEmit

[success] [nuxi] Types generated in playground/.nuxt
Error: netlify/edge-functions/geo.ts(1,15): error TS2305: Module '"@netlify/edge-functions"' has no exported member 'Context'.
Error: netlify/edge-functions/world-adder.ts(1,15): error TS2305: Module '"@netlify/edge-functions"' has no exported member 'Context'.

(example run: https://github.com/netlify/primitives/actions/runs/16378826884/job/46285296127?pr=365)

I think it's some issue at the intersection of npm workspaces + a non-workspace package.json within a workspace + referencing a dependency that happens to be in this workspace + maybe CI npm caching...?

Doesn't seem worth spending more time on to just type-check the nuxt module playground.

There's some intermittent issue in CI that I can't quite figure out:

```
> vue-tsc --noEmit && nuxi prepare playground && cd playground && vue-tsc --noEmit

[success] [nuxi] Types generated in playground/.nuxt
Error: netlify/edge-functions/geo.ts(1,15): error TS2305: Module '"@netlify/edge-functions"' has no exported member 'Context'.
Error: netlify/edge-functions/world-adder.ts(1,15): error TS2305: Module '"@netlify/edge-functions"' has no exported member 'Context'.
```

(example run: https://github.com/netlify/primitives/actions/runs/16378826884/job/46285296127?pr=365)

I think it's some issue at the intersection of npm workspaces + a non-workspace `package.json`
within a workspace + referencing a dependency that happens to be in this workspace + maybe CI npm
caching...?

Doesn't seem worth spending more time on to just type-check the nuxt module playground.
@serhalp serhalp marked this pull request as ready for review July 18, 2025 21:29
@serhalp serhalp requested a review from a team as a code owner July 18, 2025 21:29
@pieh pieh merged commit 958bab3 into main Jul 21, 2025
19 of 21 checks passed
@pieh pieh deleted the serhalp/frb-1943-fix-ci-flakes-in-netlifyprimitives branch July 21, 2025 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants