首页 > 解决方案 > 如何修复 nativescript-vue 中的“包名称必须类似于:com.company.Name”错误

问题描述

使用 tns run 命令构建应用程序时,我无法解决错误问题。错误"Package name must look like: com.company.Name",告诉我在哪里寻找解决方案,查看 package.json 并没有找到类似的东西。感谢!

包.json:

{
  "name": "bocorp.ru",
  "version": "1.0.0",
  "description": "Biult",
  "author": "AIvanov",
  "license": "MIT",
  "nativescript": {
    "id": "asldj12j.sdflkjlasd0992",
    "templateVersion": "v2",
    "tns-android": {
      "version": "6.0.0"
    },
    "tns-ios": {
      "version": "6.0.1"
    }
  },
  "dependencies": {
    "axios": "^0.19.0",
    "nativescript-vue": "^2.4.0",
    "tns-core-modules": "^6.0.0",
    "vuex": "^3.1.1"
  },
  "devDependencies": {
    "@babel/core": "^7.0.0",
    "@babel/preset-env": "^7.0.0",
    "babel-loader": "^8.0.2",
    "nativescript-dev-webpack": "^1.0.0",
    "nativescript-vue-template-compiler": "^2.0.0",
    "nativescript-worker-loader": "~0.9.0",
    "node-sass": "^4.9.2",
    "vue-loader": "^15.4.0"
  }
}

标签: vue.jsnpmnativescript

解决方案


推荐阅读