You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an error related to the Babel compiler (Did you mean "@babel/env"?) found in the Address Book challenge documentation as written for the cohorts of April 2019 and June 2019. It appears during the webkit and babel installation, near the end of the scaffolding process with Yarn.
Background
This issue has been seen in various forms at CraftOverflow previously: #33 #38
Implementation code
During the scaffolding procedure as discussed in the course material as of June 2019, the installation of webkit and babel is recommended as follows,
Problem
This is an error related to the Babel compiler (Did you mean "@babel/env"?) found in the Address Book challenge documentation as written for the cohorts of April 2019 and June 2019. It appears during the webkit and babel installation, near the end of the scaffolding process with Yarn.
Background
This issue has been seen in various forms at CraftOverflow previously:
#33
#38
Implementation code
During the scaffolding procedure as discussed in the course material as of June 2019, the installation of webkit and babel is recommended as follows,
yarn add webpack webpack-cli babel-loader babel-preset-es2015 babel-polyfill babel-register --dev
which results in an eventual error from the
yarn run build
command,With the help of Faraz, we settled on the solution of,
yarn add webpack webpack-cli babel-loader babel-preset-env babel-polyfill babel-register --dev
webpack.config.js
file,presets: ["es2015"]
withpresets: ["env"]
.yarn.lock
file.package.json
file as follows,yarn add babel-preset-env
.yarn run build
successfully.Markdown guide
The text was updated successfully, but these errors were encountered: