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
When I build my project using this library with sveltekit using pnpm run build, I get the following error message:
Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import '/Users/jur/repos/node_modules/nanoid/non-secure' is not supported resolving ES modules imported from /Users/jur/repos/gpt/.svelte-kit/output/server/entries/endpoints/api/chat/_server.ts.js
Did you mean to import nanoid/non-secure/index.js?
I don't exactly understand the problem but this nanoid issue might help: ai/nanoid#365.
The text was updated successfully, but these errors were encountered:
When I build my project using this library with sveltekit using
pnpm run build
, I get the following error message:I don't exactly understand the problem but this nanoid issue might help: ai/nanoid#365.
The text was updated successfully, but these errors were encountered: