I have configure babel but while running I am facing below error
> npx babel node_modules/web-b/src/ -d dist --out-dir node_modules/web-b/src/
node_modules\web-b\src\graphql\mutations\cartValidate\cartvalidate.js -> node_modules\web-
b\src\graphql\mutations\cartValidate\cartvalidate.js
node_modules\web-b\src\graphql\mutations\cartValidate\cartvalidate.test.js -> node_modules\web-
b\src\graphql\mutations\cartValidate\cartvalidate.test.js
node_modules/web-b/src/index.js: Unexpected token (18:4)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! web-acc#0.1.0 transpile:buy: `npx babel node_modules/web-b/src/ -d dist --out-dir
node_modules/web-b/src/`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the web-acc#0.1.0 transpile:buy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\raj\AppData\Roaming\npm-cache\_logs\2020-04-26T05_21_30_237Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! web-acc#0.1.0 transpile:all: `npm run transpile:buy && npm run transpile:common && npm run
transpile:shop`
npm ERR! Exit status 1
Related
Could not find a required file. Name: index.js Searched in: C:\web devlopment\react-chat-application\chat-application\src npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! chat-application#0.1.0 start: react-scripts start npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the chat-application#0.1.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Black\AppData\Roaming\npm-cache_logs\2021-09-29T15_56_51_774Z-debug.log
Black#DESKTOP-N04CDRI MINGW64 /c/web devlopment/react-chat-application/chat-application (master) $
il-17g5-app#0.0.1 start /Users/ssurisettii/Documents/il-17g5-app
cross-env NODE_ENV=development npm run webpack-development
sh: cross-env: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! il-17g5-app#0.0.1 start: cross-env NODE_ENV=development npm run webpack-development
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the il-17g5-app#0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ssurisettii/.npm/_logs/2020-08-25T07_43_41_632Z-debug.log
1.remove node_moudles
2.remove packagelock.json
3.install npm
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! webapp#0.1.0 start: `rimraf ./build && react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the webapp#0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/admin-pc/.npm/_logs/2019-11-08T11_10_32_424Z-debug.log
uninstalled the nodejs LTS version.
install the nodejs current version in c:/windows/system32
and its working again!!
refer the Link:https://github.com/facebook/create-react-app/issues/6950
Hi I configured tailwind css with react but keep getting error when I run npm start sh: 1: tailwind: not found
demo#0.1.0 start /home/tarek/Documents/Tong/tripcanvas-assesment
npm run tailwind:css && react-scripts start
demo#0.1.0 tailwind:css /home/tarek/Documents/Tong/tripcanvas-assesment
tailwind build src/css/tailwind.src.css -c tailwind.js -o src/css/tailwind.css
sh: 1: tailwind: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! demo#0.1.0 tailwind:css: `tailwind build src/css/tailwind.src.css -c tailwind.js -o src/css/tailwind.css`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the demo#0.1.0 tailwind:css script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/tarek/.npm/_logs/2019-07-26T06_27_45_711Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! demo#0.1.0 start: `npm run tailwind:css && react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the demo#0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/tarek/.npm/_logs/2019-07-26T06_27_45_757Z-debug.log
Can you show us your package.json?
Have you installed scripts at all? npm or yarn
I have this error when I type "npm start" in my react application
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! questionnaire#0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the questionnaire#0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I tried to remove the folder node_modules and reinstall it with npm install, but then the problem reappers.
What can I do to fix it?