Skip to content
This repository was archived by the owner on Mar 9, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants