Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
852 views
in Technique[技术] by (71.8m points)

yarnpkg - Yarn error "no such option" with --dev flag

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
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You probably installed yarn using this: $ apt install cmdtest

Use this instead: $ npm install --global yarn


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...