Skip to content

can't run babel commands from npm #48

@supercoder123

Description

@supercoder123

npm run compile gives the following error

pro-mern-stack@1.1.1 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! pro-mern-stack@1.1.1 compile: `babel src –-presets react,es2015 –-out-dir static`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the pro-mern-stack@1.1.1 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions