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

Error: Couldn't find preset "" relative to directory "/Users/xxx/workspace/react-server-boilerplate/server" #20

Open
mrdulin opened this issue Jan 19, 2017 · 1 comment

Comments

@mrdulin
Copy link

mrdulin commented Jan 19, 2017

What's going on?

"scripts": {
    "start": "nodemon server/index.js --exec babel-node --presets es2015,stage-0"
  },

I think the readme.md file is wrong.

The correct script is:

"scripts": {
    "start": "nodemon server/index.js --exec babel-node --presets=es2015,stage-0"
  },

= symbol

@iamclaytonray
Copy link

+1 on your comment. For anyone who misses a small difference, this post has stage-0 and if you went by the repo, you installed stage-2. Just make sure your dependencies match with your .babelrc and use the correct script pointed out by @mrdulin

This issue should be closed now.

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