# Troubleshooting This page contains tips for troubleshooting errors that you may encounter while developing your OSDK React application. If you have other issues or are unable to resolve your issue with this guide, [report an issue](../../getting-help/issues/index.md#report-an-issue) to Palantir Support. ## Workspace errors If working from within the Palantir platform, you will be using a VS Code workspace running on Palantir's Code Workspaces infrastructure. Further troubleshooting information can be found in the following documentation: * [VS Code workspace troubleshooting](../../vs-code/troubleshooting/index.md) * [Code Workspaces troubleshooting](../../code-workspaces/troubleshooting/index.md) ## npm troubleshooting steps If you are having issues running your npm commands, try the following troubleshooting steps: * Delete the lock file (`package-lock.json`) and the dependency folder (`node_modules/`), then re-run the failing command. * Pause and resume the workspace. ### `NPM MODULE_NOT_FOUND` error: Adding new dependencies Code Repositories requires your dependencies to be explicitly declared. By default, we add the following npm repositories: * Common OSDK dependencies: `foundry-sdk-asset-bundle`, `osdk-templates-bundle` * [npmjs.com ↗](https://www.npmjs.com/) mirror: `external-npm-npmjs` * Your OSDK: `SDK Artifacts Repository - ` ![The "Libraries" setting page in Code Repositories.](../../../assets/ed7dcc91d35bcc98e44e94b038aa2230c8a571c1fc38d2fea7093e4aebd9ba2d.webp) The `npm install ` command may fail if you try to add a package that is not present in any of the backing repositories. For example, if the package you try to install is private, you must ensure it is present as a repository Artifact. Review our [Artifacts documentation](../../code-repositories/artifact-repositories-overview/index.md) for more information. Example error: ![A "Module not found" npm error.](../../../assets/fbbb3573c522c170c92ae882601a9a6a06d2355e5569af383a0e2a697c83dac7.webp) :::callout{theme="warning"} The error `code E401 Incorrect or missing password` will be emitted by npm when **npmjs.com** is unreachable from within a VS Code workspace. :::