Yarn error “no such option” with --dev flag

99封情书 提交于 2019-12-10 17:06:52

问题


ignite-ir-boilerplate was not able to be installed. Is it a valid NPM module?

Command failed: yarn add ignite-ir-boilerplate --dev
Usage: yarn [options]

yarn: error: no such option: --dev

回答1:


You probably installed yarn using this: $ apt install cmdtest

Use this instead: $ npm install --global yarn



来源:https://stackoverflow.com/questions/45430645/yarn-error-no-such-option-with-dev-flag

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!