Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't run babel commands from npm #48

Open
supercoder123 opened this issue May 18, 2018 · 2 comments
Open

can't run babel commands from npm #48

supercoder123 opened this issue May 18, 2018 · 2 comments

Comments

@supercoder123
Copy link

npm run compile gives the following error

[email protected] compile C:\pro-mern-stack
  babel src –-presets react,es2015 –-out-dir static

–-presets doesn't exist. react,es2015 doesn't exist. –-out-dir doesn't exist
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] compile: `babel src –-presets react,es2015 –-out-dir static`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] compile 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\gf\AppData\Roaming\npm-cache\_logs\2018-05-18T08_19_12_931Z-debug.log

please help

@bilibilikanpei
Copy link

Have you install the bable , react..??

@supercoder123
Copy link
Author

yes i have

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants