Hey if you are getting some error like (‘cross-env’ is not recognized as an internal or external command, operable program or batch file.) in your Node please follow the steps which i have mentioned in following:-
You need to make cross-env working globally instead of having it in the project.
Step 1:- remove node_modules
folder
Step 2:- run this Command so that you cross-env work globally.
npm install --global cross-env
Step 3:- Remove “cross-env”: “5.0.1” from the devDependencies section of the package.json file. You may actually skip this step and keep package.json. If you’d want.
Step 4:- Then run this command.
npm install --no-bin-links
Step 5:- After this finally you can run your main command
npm run dev
- Top 10 DevOps Trainers in the world - October 7, 2023
- What is Cookies and Why it is Used? - May 24, 2023
- TOP trends of transitions in TikTok - May 10, 2023