Add package initialization warning (#18328)

This commit is contained in:
ian
2023-04-27 02:31:25 +08:00
committed by GitHub
parent 2bc226d16f
commit d168c8d951

View File

@@ -27,6 +27,12 @@ npx directus init
Will install the required database driver, and create a `.env` file based on the inputted values.
::: warning Initialize Node.js Package
Run `npm init` if your project folder does not contain a `package.json` file.
:::
### Bootstrap a Project
```bash