Error: Cannot load preset env relative to / in a browser
问题 I am creating interactive JavaScript coding exercise using ACE editor. to execute entered code have have to transform code. for that i am using @balel/core transform method. I am facing below problems when I use presets: ["env"] in options i am getting Error: Cannot load preset env relative to / in a browser . I already did npm install babel-preset-env to install preset transform is not overriding option babelrc: true 回答1: cannot run babe-core in browser begin with version 6.0. only node so