Skip to content

Conversation

tjenkinson
Copy link

Hey,

We are getting ERR_UNSUPPORTED_DIR_IMPORT and this fixes it. Looks like the generated code is invalid when node is in esm mode.

Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import '<snip>/node_modules/.pnpm/@[email protected]/node_modules/@pgsql/parser/wasm/v17/types' is not supported resolving ES modules imported from <snip>/node_modules/.pnpm/@[email protected]/node_modules/@pgsql/parser/wasm/v17/index.js

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.

1 participant