Node.js
For any issues with node.js, npm, or pnpm
Node.js is a JavaScript runtime that allows you to run JavaScript outside of the browser and is used to run Dyad apps locally.
Install Node.js
If the app prompts you with the 'Install Node.js' setup step, follow the instructions provided. It will instruct you to download the right node.js installer for your computer.
Common Issues
Still stuck? Click the Help button, then Report a bug. This will pre-populate a GitHub issue with your system information and recent logs, which will help us debug what's going on.
FAQ
Do I need to install pnpm?
pnpm is a modern alternative to npm which is faster and much more efficient, by making sure node_modules are reused across your Dyad apps. This helps Dyad apps from consuming lots of disk space.
Dyad will try to install pnpm on startup, but if it fails (e.g. permissions error), then it will fallback to using npm.
We recommend installing pnpm manually, then restarting Dyad.