Pre-requisites
Prerequisites for Run and Build Mantis.
No need to install or configure tools like Webpack or Babel—everything is preconfigured and handled in the background, allowing you to focus entirely on development.
Pre-requisites
Mantis is based on node and Vite. Please check the following prerequisites before jumping into it.
Node is the primary prerequisite for Mantis. Open your command terminal and check using the node -v command
c:\> node -v
v22.x.xPackage Manager - npm or yarn
c:\> npm -v
v11.6.1c:\> yarn -v
v4.10.3Package Manager - yarn
This project uses Yarn (via Corepack) for dependency management. The required Yarn version is specified in the package.json file, and Corepack ensures the correct version is used automatically. There's no need to install Yarn globally.
If Corepack is not available: Corepack is included with Node.js version 16.10+ by default. If it's not installed or enabled:
Ensure you’re using Node.js 16.10 or higher.
Enable Corepack by running :
corepack enableIf Corepack is unavailable, update Node.js to a supported version.
After Corepack is enabled, simply run yarn commands, and the correct version will be handled for you automatically. For more information about Yarn and Corepack, refer to the documentation:
Troubleshooting
If you face the following error in your terminal, it means Yarn is not installed in your system.
c:\> yarn -v
'yarn' is not recognized as an internal or external command,
operable program or batch file.Please install it using this link, as it does not come with Node automatically.
Last updated