收藏
回答

无法构建npm 提示没有找到可以构建的npm包?

开发者工具版本 1.05.2103200

package.json

{
  "name": "cxd_fa",
  "version": "1.0.0",
  "scripts": {
    "compile": "./node_modules/typescript/bin/tsc",
    "tsc": "node ./node_modules/typescript/lib/tsc.js",
    "ttsc": "node ./node_modules/ttypescript/lib/tsc.js",
    "eslint": "eslint --fix miniprogram/app.ts miniprogram/pages miniprogram/adviser miniprogram/saas  miniprogram/store miniprogram/utils"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "mobx-miniprogram": "^4.13.2",
    "mobx-miniprogram-bindings": "^1.2.1",
    "moment": "^2.29.1",
    "weui-miniprogram": "^1.0.6"
  },
  "devDependencies": {
    "@typescript-eslint/eslint-plugin": "^4.10.0",
    "@typescript-eslint/parser": "^4.10.0",
    "babel-eslint": "^10.1.0",
    "eslint": "^7.15.0",
    "eslint-plugin-import": "^2.22.1",
    "miniprogram-api-typings": "^3.2.0",
    "ttypescript": "^1.5.12",
    "typescript": "^3.9.7",
    "typescript-transform-paths": "2.2.1"
  },
  "main": ".eslintrc.js",
  "repository": {
    "type": "git",
    "url": "http://g.miinno.cn/tencent/wax_cxd_work_fa.git"
  },
  "description": ""
}



project.config.json

{
  "description": "项目配置文件",
  "packOptions": {
    "ignore": []
  },
  "miniprogramRoot": "miniprogram/",
  "compileType": "miniprogram",
  "libVersion": "2.16.1",
  "projectname": "cxd_operate_dev_v1_potential",
  "scripts": {
    "beforeCompile": "npm run tsc",
    "beforePreview": "npm run tsc",
    "beforeUpload": "npm run tsc"
  },
  "setting": {
    "urlCheck": false,
    "es6": true,
    "enhance": false,
    "postcss": true,
    "preloadBackgroundData": false,
    "minified": true,
    "newFeature": false,
    "coverView": true,
    "nodeModules": true,
    "autoAudits": false,
    "showShadowRootInWxmlPanel": true,
    "scopeDataCheck": false,
    "uglifyFileName": false,
    "checkInvalidKey": true,
    "checkSiteMap": true,
    "uploadWithSourceMap": true,
    "compileHotReLoad": false,
    "useMultiFrameRuntime": true,
    "useApiHook": true,
    "useApiHostProcess": false,
    "babelSetting": {
      "ignore": [],
      "disablePlugins": [],
      "outputPath": ""
    },
    "enableEngineNative": false,
    "useIsolateContext": true,
    "useCompilerModule": true,
    "userConfirmedUseCompilerModuleSwitch": false,
    "userConfirmedBundleSwitch": false,
    "packNpmManually": false,
    "packNpmRelationList": [],
    "minifyWXSS": true,
    "bundle": false
  },
  "simulatorType": "qywx_simulator_plugin",
  "simulatorPluginLibVersion": {
    "qywx_simulator_plugin": "2.4.0"
  },
  "appid": "wx3e862335bbc1dfa9",
  "condition": {
    "plugin": {
      "list": []
    },
    "game": {
      "list": []
    },
    "gamePlugin": {
      "list": []
    },
    "miniprogram": {
      "list": [
        {
          "name": "客户列表",
          "pathName": "pages/customer/index",
          "query": "",
          "scene": null
        },
        {
          "name": "线索详情",
          "pathName": "pages/customer/clue/index",
          "query": "id=1",
          "scene": null
        },
        {
          "name": "工具",
          "pathName": "pages/tools/index",
          "query": "",
          "scene": null
        },
        {
          "name": "auth",
          "pathName": "pages/auth/index",
          "query": "",
          "scene": null
        },
        {
          "name": "noAuth",
          "pathName": "pages/noAuth/index",
          "query": "",
          "scene": null
        },
        {
          "name": "客户档案",
          "pathName": "pages/customer/profile/index",
          "query": "",
          "scene": null
        },
        {
          "name": "编辑客户档案",
          "pathName": "pages/customer/editProfile/index",
          "query": "id=1",
          "scene": null
        },
        {
          "name": "客户统计",
          "pathName": "pages/statistics/customer/index",
          "query": "",
          "scene": null
        },
        {
          "name": "客户量排名",
          "pathName": "pages/statistics/adviserRanking/index",
          "query": "id=1",
          "scene": null
        },
        {
          "name": "沟通量排名",
          "pathName": "pages/statistics/contactRanking/index",
          "query": "",
          "scene": null
        },
        {
          "name": "销售名片列表",
          "pathName": "pages/extended/saleCard/index",
          "query": "",
          "scene": null
        },
        {
          "name": "创建销售名片",
          "pathName": "pages/extended/saleCard/add/index",
          "query": "",
          "scene": null
        },
        {
          "name": "工具/话术库",
          "pathName": "pages/extended/reply/index",
          "query": "",
          "scene": null
        },
        {
          "name": "素材列表",
          "pathName": "pages/extended/material/index",
          "query": "",
          "scene": null
        },
        {
          "name": "店铺活动列表",
          "pathName": "pages/extended/material/promotion/index",
          "query": "",
          "scene": null
        },
        {
          "name": "车辆介绍列表",
          "pathName": "pages/extended/material/vehicle/index",
          "query": "",
          "scene": null
        },
        {
          "name": "一键拉群",
          "pathName": "pages/product/openChatGroup/index",
          "query": "",
          "scene": null
        },
        {
          "name": "创建群发任务",
          "pathName": "pages/product/addMsgTemplateS/index",
          "query": "",
          "scene": null
        },
        {
          "name": "客户跟进阶段",
          "pathName": "pages/customer/editStage/index",
          "query": "id=1",
          "scene": null
        },
        {
          "name": "跟进记录",
          "pathName": "pages/customer/stageLog/index",
          "query": "id=1",
          "scene": null
        },
        {
          "name": "首页",
          "pathName": "pages/index/index",
          "query": "id=1",
          "scene": null
        },
        {
          "name": "海报",
          "pathName": "pages/poster/index",
          "query": "",
          "scene": null
        },
        {
          "name": "文章列表",
          "pathName": "pages/extended/material/news/index",
          "query": "",
          "scene": null
        },
        {
          "name": "pages/extended/saleCard/old/index",
          "pathName": "pages/extended/saleCard/old/index",
          "query": "",
          "scene": null
        },
        {
          "name": "群群发",
          "pathName": "pages/product/addMsgTemplateM/index",
          "query": "",
          "scene": null
        },
        {
          "name": "pages/customer/editStage/index",
          "pathName": "pages/customer/editStage/index",
          "query": "id=e477d9f5-d2e0-4f2c-82a1-000d3153b89d",
          "scene": null
        },
        {
          "name": "pages/customer/profile/index",
          "pathName": "pages/customer/profile/index",
          "query": "id=e477d9f5-d2e0-4f2c-82a1-000d3153b89d",
          "scene": null
        },
        {
          "name": "pages/customer/editProfile/index",
          "pathName": "pages/customer/editProfile/index",
          "query": "id=e477d9f5-d2e0-4f2c-82a1-000d3153b89d",
          "scene": null
        },
        {
          "name": "添加话术",
          "pathName": "pages/extended/reply/add/index",
          "query": "",
          "scene": null
        },
        {
          "name": "pages/extended/reply/send/index",
          "pathName": "pages/extended/reply/send/index",
          "query": "",
          "scene": null
        },
        {
          "name": "销售员登录",
          "pathName": "pages/login/index",
          "scene": null
        }
      ]
    }
  }
}


之前可以构建的 现在怎么不行了

最后一次编辑于  2021-06-15
回答关注问题邀请回答
收藏
登录 后发表内容