Effect CommunityEC
Effect Community3y ago
5 replies
minedeljkovic

Error in Node Module Resolution: @sqlfx/mysql Dependency Issue

I'm getting an error in node module resolution
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './internal/stream' is not defined by "exports" in
...

while using the @sqlfx/mysql since it seems that mysql package depends on internals of @sqlfx/sql here: https://github.com/tim-smart/sqlfx/blob/31671c614aab2e50e24efe039c667107b3bee84e/packages/mysql/src/index.ts#L19.
The internals on the other hand are not exported from the sql package: https://github.com/tim-smart/sqlfx/blob/31671c614aab2e50e24efe039c667107b3bee84e/packages/sql/package.json#L56-L112

Is this a bug in the library or my usage seems wrong?
Was this page helpful?