fdaciuk / workflow-reactjs

My workflow with ReactJS + Webpack 3+
146 stars 51 forks source link

Module build failed when starting (SyntaxError on index.js) #9

Closed willianribeiro closed 7 years ago

willianribeiro commented 7 years ago

Hi! (-; I'm having issues to start application.

I followed this steps:

But when I run yarn start I get this error:

image

I don't change anything. am I missing something?

Thank You!

willianribeiro commented 7 years ago

The code that are triggering error is:

image

fdaciuk commented 7 years ago

Hi @willianribeiro! Could you check if you have a .babelrc file on root of your project?

willianribeiro commented 7 years ago

The problem was exactly what you guessed!

I don't know why, but my project was without all the files who starts with "." . Maybe I have copied and pasted by graphical interface and this files were hidden.

Thanks a lot!

fdaciuk commented 7 years ago

I'm glad you did it! As soon as possible, I'm going to automate this workflow to start a new project using a CLI tool =) For now, try to clone it instead download a zip file, and everything will works like a charm :D

willianribeiro commented 7 years ago

Nice! A CLI tool is a great idea (-;