Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "Ambiguous class, provide a unique identifier" with next.js 10.0.6 #106

Closed
flybayer opened this issue Jan 30, 2021 · 0 comments · Fixed by #107
Closed

Error "Ambiguous class, provide a unique identifier" with next.js 10.0.6 #106

flybayer opened this issue Jan 30, 2021 · 0 comments · Fixed by #107
Labels

Comments

@flybayer
Copy link
Member

We are having an issue with next.js 10.0.6 in Blitz where we get the "Ambiguous class, provide a unique identifier" error even though all classes have unique ids.

👉 https://github.com/blitz-js/blitz/pull/1828/checks?check_run_id=1795588783#step:9:104

Possible fix:

Disable this check, https://github.com/blitz-js/superjson/blob/main/src/registry.ts#L17, if you are explicitly providing an identifier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant