Unexpected package.json
with "type": "commonjs"
break nextjs 14 complie
#956
Labels
bug
Something isn't working
Report a bug
importing ArkType will trigger the following error in nextjs 14:
🧩 Context
🧑💻 Repro
https://github.com/aidenlx/arktype-repro
It's likely due to
package.json
with only"type": "commonjs"
inout
directory. manually deleting them from the following solve the issue:node_modules/arktype/out/
node_modules/@arktype/schema/out/
node_modules/@arktype/util/out/
The text was updated successfully, but these errors were encountered: