PokeMMO icon indicating copy to clipboard operation
PokeMMO copied to clipboard

couldn't find preset "es2015"

Open kurodenjiro opened this issue 8 years ago • 6 comments

untitled

kurodenjiro avatar Jun 23 '17 19:06 kurodenjiro

I got the same error.

chaze117 avatar Jul 19 '17 09:07 chaze117

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

lubien avatar Jul 19 '17 10:07 lubien

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

chaze117 avatar Jul 21 '17 06:07 chaze117

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

lubien avatar Jul 21 '17 18:07 lubien

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!

maierfelix avatar Jul 23 '17 19:07 maierfelix

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

widd avatar Jan 06 '18 02:01 widd