potential issue: babel-eslint dependency
Opened this issue · 0 comments
In https://github.com/unepwcmc/restoration-marketplace/pull/27, in order to use the local version of the component library and successfully run the webpack dev server (with yarn dev
), the babel-eslint
dependency needed moving out of devDependencies
and into the main dependencies
section before running yarn build-lib
. Without doing this, webpack said it couldn't find the babel-eslint
module and errored out
In my case the dist
folder had already been generated and needed deleting before rerunning yarn build-lib
after the dependency change - yarn build-lib
didn't seem to bring in the missing package without fully deleting the dist
folder and rebuilding from scratch. May have also needed to delete node_modules
and rerun yarn install
between the dependency change and yarn build-lib
Comment in PR linked above regarding this: https://github.com/unepwcmc/restoration-marketplace/pull/27#issuecomment-1147641142