Strapi also offers a starters CLI to create a project with a pre-made frontend application (see our dedicated blog post). -no-run: Prevent Strapi from automatically starting the server (useful in combination with -quickstart).įor more information on available flags, see our CLI documentation. Check that the install was successful by querying node for its version number: node -v. ![]() Checking your version of npm and Node.js Using a Node version manager to install Node.js and npm Using a Node installer to install. -typescript/ -ts: Create a project in TypeScript. I guess you need to clear your cache and update your npm from the root of your nodejs installation folder. We do not recommend using a Node installer, since the Node installation process installs npm in a directory with local permissions and can cause permissions errors when you run npm packages globally.-template: Create a project with pre-made Strapi configurations (see Templates).-quickstart: Directly create the project in quickstart mode.There are other options that can be used when creating a new Strapi project, for example: The above installation guide only covers the basic installation option using the CLI. Download the Node.js source code or a pre-built installer for your platform, and start developing today. Latest Current Version: 19.8.1 (includes npm 9.5.1). ![]() (Custom installation type only) Name your project's database. Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. ![]() (Custom installation type only) Among the list of databases, choose a database for your Strapi project. Custom (manual settings), which allows to choose your preferred database.Quickstart (recommended), which uses the default database (SQLite).
0 Comments
Leave a Reply. |