前端工程化【lerna】使用笔记On this page【lerna】使用笔记错误处理 lerna ERR! Cannot initialize lerna because your package manager has not been configured to use workspaces, and you have not explicitly specified any packages to operate on 【原因】在执行lerna init之前先执行npm init 【解决方法】将package.json文件删除再执行lerna init