Package subpath './build/src/requireHook' is not defined #4768
-
Hi All, I am new to @adonisjs and trying to setup an existing project. After installing npm packages I run following command
but it results in following error
Following is the exports section in @adonisjs/assember/package.json file
How do I solve this issue? Any help in this regard is highly appreciated. Following is my development setup: Node: v23.0.0 (I tried multiple versions) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Can you please share your application as a Github repo for me to reproduce the issue? |
Beta Was this translation helpful? Give feedback.
It looks like you’re using AdonisJS 5, but the assembler version you installed is compatible with AdonisJS 6.
To keep using AdonisJS 5, please follow the recommended versions here: https://v6-migration.adonisjs.com/guides/stick-to-v5