Files
medusa-store/docs/content/troubleshooting/create-medusa-app-errors/_other-errors.mdx
2023-07-28 11:42:06 +03:00

32 lines
1.2 KiB
Plaintext

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
As a last resort to resolve your issue, please try to clear your `npx` cache, as it could hold a cached version of `create-medusa-app` with errors.
<Tabs groupId="operating-systems" queryString="os">
<TabItem value="unix" label="MacOS and Linux" default>
Run the following command:
```bash
rm -rf "$(npm config get cache)/_npx"
```
Try running the `create-medusa-app` command again.
</TabItem>
<TabItem value="windows" label="Windows">
First, find the cache directory with the following command:
```bash
npm config get cache
```
The npx cache should be in the directory `<NPM_CACHE>/_npx`, where `<NPM_CACHE>` is the cache directory returned by the previous command. Delete that directory and try running the `create-medusa-app` command again.
</TabItem>
</Tabs>
If your issue persists, please try to search through [our GitHub issues](https://github.com/medusajs/medusa/issues) to see if there's a solution for your issue. If not, please [create an issue on GitHub](https://github.com/medusajs/medusa/issues/new?assignees=olivermrbl&labels=status:+needs+triaging,+type:+bug&template=bug_report.md&title=) and our team will help you resolve it soon.