DevExtreme React - Create a New Application
To resolve issues when you create a new application with DevExtreme CLI, perform the following troubleshooting steps:
Check Node.js and NPM Versions
Ensure the latest Node.js and NPM are installed on your machine.
To check your Node.js version, run the following command in terminal:
node -v
To update Node.js, follow the Node.js download instructions.
Run the following commands to check and update your NPM version:
npm -v npm i -g npm@latest
Check DevExtreme CLI version
To check and update the DevExtreme CLI version installed on your machine, run the following commands:
npm list -g devextreme-cli npm i -g devextreme-cli@latest
Clear NPM Cache
If the previous steps do not resolve your issue, run the following command to clear the NPM cache:
npm cache clean --force
If the issue persists, create a ticket in the DevExpress Support Center. Include the following information in your ticket:
- Node.js and NPM versions.
- Commands you executed.
- The NPM log file. You can find this file in the following directories:
C:\Users\your_username\AppData\Local\npm-cache\_logs
on Windows/Users/your_username/.npm/_logs/
on macOS~/.npm/_logs/
on Linux
If you have technical questions, please create a support ticket in the DevExpress Support Center.