Dinushi94 / CICD

0 stars 0 forks source link

Initialize a new React app using Vite #2

Open Dinushi94 opened 4 months ago

Dinushi94 commented 4 months ago

`npm create vite@latest react_frontend --template react Need to install the following packages: create-vite@latest Ok to proceed? (y) y npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: 'create-vite@5.2.3', npm WARN EBADENGINE required: { node: '^18.0.0 || >=20.0.0' }, npm WARN EBADENGINE current: { node: 'v16.13.1', npm: '8.1.2' } npm WARN EBADENGINE } √ Select a framework: » React √ Select a variant: » JavaScript

Scaffolding project in C:\Users\Dinumsi\Desktop\react_frontend...

Done. Now run:

cd react_frontend npm install npm run dev

npm notice npm notice New major version of npm available! 8.1.2 -> 10.8.1 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1 npm notice Run npm install -g npm@10.8.1 to update! npm notice PS C:\Users\Dinumsi\Desktop> cd react_frontend PS C:\Users\Dinumsi\Desktop\react_frontend> PS C:\Users\Dinumsi\Desktop\react_frontend> npm install npm WARN EBADENGINE Unsupported engine {`