DEV Community


nodejs project full&clean build with lerna monorepo

Dongsu Jang
Ho eyo he hum! Here the Jesters sing Ho Ho, But why they do, I'll never know.
・1 min read
$ rm -rf ~/.npm/_cacache 
$ npm cache clean --force
$ lerna clean
$ rm -rf node_modules
$ npm install
$ lerna bootstrap
$ lerna run build

If the nodejs fails, it will be due to npm and webpack,
as gem and nokogiri did in ruby.

Discussion (0)