简体   繁体   English

okta laravel vue 开发从 ubuntu 终端获取保存错误

[英]okta laravel vue development getting save error from ubuntu terminal

I am doing a tutorial using laravel and vuew and okta.我正在做一个使用 laravel 和 vuew 和 okta 的教程。 From here but when I run the command 这里开始,但是当我运行命令时

yarn add --save vue-router axios @okta/okta-vue

It gives me the error它给了我错误

Usage: yarn [options]

yarn: error: no such option: --save

UPDATE:更新:

install安装

npm install --save axios vue-axios
yarn add vue-router axios @okta/okta-vue

Still did not solve the issue还是没有解决问题

maybe you use也许你用

npm add --save vue-router axios kta/okta-vue
npm run serve

it works!有用!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM