--- title: 'DF9002: Installed Package Not Found' description: 'The install finished, but a package is not in the project node_modules.' --- ## Message > The install finished, but "`{name}`" is not in `{cwd}`/node_modules. ## Cause The package manager exited with code 0, but `/node_modules/` does not exist. This happens when `cwd` points at a directory other than the one the package manager installed into, for example the workspace root instead of the package that runs the dev server. ## Fix Set `cwd` to the project that receives the dependency. In a workspace, that is the package whose dev server mounts the onboarding handler. ## Source - [`packages/hub-ui-onboard/src/install.ts`](https://github.com/devframes/devframe/blob/main/packages/hub-ui-onboard/src/install.ts): `runInstall` checks each named package after the command succeeds. Path, URL and alias specs are not checked, because their installed name is not in the spec.