maierfelix / PokeMMO

:video_game: Pokemon MMO engine with realtime editor
http://maierfelix.github.io/PokeMMO/?debug_mode=true&bgm=false
Other
729 stars 79 forks source link

couldn't find preset "es2015" #21

Open kurodenjiro opened 7 years ago

kurodenjiro commented 7 years ago

untitled

chaze117 commented 7 years ago

I got the same error.

lubien commented 7 years ago

Seems it's isn't in the package.json file. Try npm i -D babel-preset-es2015

chaze117 commented 7 years ago

Now everything is starting but when I try to connect 127.0.0.1:449 the site says "Upgrade Required"

lubien commented 7 years ago

I'm not sure what this means tbh. Hopefully the author can help you

maierfelix commented 7 years ago

The es15 preset is present here - cloning the project and doing a fresh npm install should behave correctly. However I used some dumb libraries like nodemon and webpack in the past to !(simplify) the setup process. If someone is willed to get rid of all dependencies expect babel, then I would really appreciate it because the setup process would be much more stable without all these tons of shitty dependencies.

Cheers!

widd commented 6 years ago

I ran into the same issue and ended up just explicitly adding it in #25 - should be fixed now.