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

npm start fails and produces reference error #25

Open
scmarlatt opened this issue Jun 5, 2017 · 1 comment
Open

npm start fails and produces reference error #25

scmarlatt opened this issue Jun 5, 2017 · 1 comment

Comments

@scmarlatt
Copy link

After reaching the step to run npm start at the top-level directory, I'm met with this error:

ReferenceError: Unknown plugin "transform-class-properties" specified in "/Users/scottmarlatt/.babelrc" at 0, attempted to resolve relative to "/Users/scottmarlatt"

Both babel-node server.js and babel-node start-client.js are failing. Can provide debug logs if needed, but I wasn't seeing anything useful. Is there something I am supposed to do with configuring babel that isn't mentioned in the readme?

@acco
Copy link
Member

acco commented Jun 14, 2017

Hey @scmarlatt

Hmm. I think this might be because you have a .babelrc up in /Users/scottmarlatt. And that .babelrc lists the plug-in. But unless you have a /Users/scottmarlatt/node_modules, that's gonna cause some issues.

In which directory is this project cloned to? You might try removing that .babelrc and seeing what happens.

Lmk

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