You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I notices to issues related to osm-auth. I want to document them here FYI and so others might find them. We will be moving our OsmAuth server side, so the issue is not pressing for us ATM.
Error Uncaught Error: DYNAMIC_SERVER_USAGE when
I documented the error at blitz-js/blitz#4232 with a log of the error message. I now notice, that this error goes away once we remove the osm-auth dependency. So I assume this is where it came from.
Maybe relevant: In our previous setup as a regular React App, there was also a console error in dev mode related to some re-rendering. This might be the same issues that shows different in the different environments.
Error Module '"osm-auth"' has no exported member 'osmAuth'.ts(2305)
I get this error on this line: import { osmAuth } from 'osm-auth'
Screenshot:
The text was updated successfully, but these errors were encountered:
The error is coming from TypeScript so maybe there is a problem with how the export appears in our osm-auth.d.ts file. I'm not really familiar with how this should look..
Unfortunately I know nothing about how to handle the esm/mjs/ts situation that comes with creating packages (and everything else for that matter :)). Maybe https://www.youtube.com/watch?v=eh89VE3Mk5g has a hint?
We are migrating radverkehrsatlas.de https://github.com/FixMyBerlin/atlas-app to NextJS using the App Directory and BlitzJS.
I notices to issues related to
osm-auth
. I want to document them here FYI and so others might find them. We will be moving our OsmAuth server side, so the issue is not pressing for us ATM.Error
Uncaught Error: DYNAMIC_SERVER_USAGE
whenI documented the error at blitz-js/blitz#4232 with a log of the error message. I now notice, that this error goes away once we remove the osm-auth dependency. So I assume this is where it came from.
Maybe relevant: In our previous setup as a regular React App, there was also a console error in dev mode related to some re-rendering. This might be the same issues that shows different in the different environments.
Error
Module '"osm-auth"' has no exported member 'osmAuth'.ts(2305)
I get this error on this line:
import { osmAuth } from 'osm-auth'
Screenshot:
The text was updated successfully, but these errors were encountered: