零号智能

  • Python
  • 部署
  • go
  • VPS
  • 运维
  • 生活琐事
  • html
零号智能
Fantasia's blog npc0.com.
  1. 首页
  2. 部署
  3. 正文

vue3踩坑日记

2020年11月30日 3352点热度 0人点赞 0条评论

yarn install *** 错误:   warning package.json: No license field

百度你肯定找到一堆 "录下有没有package.json文件,确定一下有没有lincense属性。"

实际上却是!!插入"license": "ISC" 即可。。不是插入 "lincense": "ISC",请记住了。

例子:

{
"name": "operat",
"license": "ISC",
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "vite build"
},
"dependencies": {
"bootstrap": "^4.5.3",
"element-plus": "^1.0.1-beta.0",
"vue": "^3.0.2",
"vue-router": "^4.0.0-rc.5"
},
"devDependencies": {
"@vue/compiler-sfc": "^3.0.2",
"babel-plugin-component": "^1.1.1",
"vite": "^1.0.0-rc.8"
}
}

 

 

本作品采用 知识共享署名 4.0 国际许可协议 进行许可
标签: vue yarn
最后更新:2021年5月22日

vpc

这个人很懒,什么都没留下

点赞
< 上一篇

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

COPYRIGHT © 2021 npc0.com. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

粤ICP备19157245号-1

粤公网安备 44030702002746号