我迫不及待地根据一个使用Yarn 的教程创建了一个React应用程序.现在我要从头开始重新创建应用程序,因为我对reactstrap库不满意,我想切换到ReactBootstrap.
我重新安装了node.然而,当我运行create react应用程序时,它说要使用"Yarn "而不是"npm",如下所示:
yarn start
Starts the development server.
yarn build
Bundles the app into static files for production.
yarn test
Starts the test runner.
yarn eject
Removes this tool and copies build dependencies, configuration files
and scripts into the app directory. If you do this, you can’t go back!
We suggest that you begin by typing:
cd react-test
yarn start
我想使用npm,因为它似乎被更广泛地使用,并且有更多基于它的例子.我是被Yarn 缠住了,还是可以继续使用npm?