standalone build, dd-trace not being included in monorepo build
Unanswered
Giant panda posted this in #help-forum
Giant pandaOP
Hey all!
Using turborepo and Yarn, with Next13 (Page router)
In the
However when doing a standalone build, it seems not all node_modules are moved over - notable dd-trace is missing now in the built package.
Has anyone seen this behaviour before? I have a specific use case where I'm trying to wrap an open-next exported server-function in a custom handler to handle dd-tracing
Using turborepo and Yarn, with Next13 (Page router)
In the
./site/package.json we have the dd-trace package installed, and in the project root node_modules folder, the dd-trace package is present. However when doing a standalone build, it seems not all node_modules are moved over - notable dd-trace is missing now in the built package.
Has anyone seen this behaviour before? I have a specific use case where I'm trying to wrap an open-next exported server-function in a custom handler to handle dd-tracing
1 Reply
Giant pandaOP
Very similar to this issue here: https://github.com/vercel/next.js/issues/48017