TooTallNate / proxy-agents

Node.js HTTP Proxy Agents Monorepo
https://proxy-agents.n8.io
871 stars 229 forks source link

how to build the entire package to generate the same output as installing in a node_modules #272

Open daniloab opened 5 months ago

daniloab commented 5 months ago

Hi there,

What is the right way to build this repo to result in an output as found in node_modules folder when installing it?

The build is breaking when trying to run from root:

d@d proxy-agents % pnpm build

> proxy-agent-monorepo@ build ~/projects/opensource/proxy-agents
> turbo run build

╭───────────────────────────────────────────────────────────────────────╮
│                                                                       │
│                  Update available v1.10.8 ≫ v1.11.3                   │
│    Changelog: https://github.com/vercel/turbo/releases/tag/v1.11.3    │
│               Run "npx @turbo/codemod update" to update               │
│                                                                       │
│     Follow @turborepo for updates: https://twitter.com/turborepo      │
╰───────────────────────────────────────────────────────────────────────╯
 ERROR  run failed: error preparing engine: Could not find "___ROOT___#build" in root turbo.json
Turbo error: error preparing engine: Could not find "___ROOT___#build" in root turbo.json
 ELIFECYCLE  Command failed with exit code 1.