There's a small bug you may have noticed in which the platforms of our game move the very beginning of the level whenever the browser window is refreshed. This occurs since our
init() code is running before all of our game assets are loaded. Here I'll show you how to fix this using the power of promises and async / await.
hello i am getting this error at runtime
ERROR in ./src/js/canvas.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Cannot find module 'babel/preset-env'