taro npm run dev:weapp启动失败

在这里插入图片描述
先检查一下自己本地taro的版本是多少

taro -V

看看与自己项目的是不是不一致,不一致可以降版本~~

{ "name": "jz-taro", "version": "4.0.0", "private": true, "description": "jiezhang", "templateInfo": { "name": "taro-ui", "typescript": true, "css": "stylus" }, "scripts": { "build:weapp": "set NODE_ENV=production && taro build --type weapp", "build:swan": "taro build --type swan", "build:alipay": "taro build --type alipay", "build:tt": "taro build --type tt", "build:h5": "taro build --type h5", "build:rn": "taro build --type rn", "build:qq": "taro build --type qq", "build:jd": "taro build --type jd", "build:quickapp": "taro build --type quickapp", "pro:weapp": "set NODE_ENV=production && taro build --type weapp --watch", "dev:weapp": "taro build --type weapp --watch", "dev:swan": "npm run build:swan -- --watch", "dev:alipay": "npm run build:alipay -- --watch", "dev:tt": "npm run build:tt -- --watch", "dev:h5": "npm run build:h5 -- --watch", "dev:rn": "npm run build:rn -- --watch", "dev:qq": "npm run build:qq -- --watch", "dev:jd": "npm run build:jd -- --watch", "dev:quickapp": "npm run build:quickapp -- --watch" }, "browserslist": [ "last 3 versions", "Android >= 4.1", "ios >= 8" ], "author": "", "dependencies": { "@babel/runtime": "^7.7.7", "@tarojs/cli": "3.6.38", "@tarojs/components": "3.6.38", "@tarojs/plugin-framework-react": "3.6.38", "@tarojs/plugin-platform-weapp": "3.6.38", "@tarojs/react": "3.6.38", "@tarojs/runtime": "3.6.38", "@tarojs/taro": "3.6.38", "date-fns": "^2.21.3", "lodash": "4.17.15", "mobx": "5.15.7", "mobx-react": "6.3.1", "react": "^16.8.0", "react-dom": "^16.8.0", "taro-react-echarts": "^1.2.2", "taro-ui": "^3.3.0" }, "devDependencies": { "@babel/core": "^7.8.0", "@tarojs/mini-runner": "3.6.38", "@tarojs/webpack-runner": "3.6.38", "@types/react": "^17.0.2", "@types/webpack-env": "^1.13.6", "@typescript-eslint/eslint-plugin": "^4.15.1", "@typescript-eslint/parser": "^4.15.1", "babel-preset-taro": "3.2.0", "eslint": "^6.8.0", "eslint-config-taro": "3.2.0", "eslint-plugin-import": "^2.12.0", "eslint-plugin-react": "^7.8.2", "eslint-plugin-react-hooks": "^4.2.0", "node-sass": "^9.0.0", "stylelint": "9.3.0", "typescript": "^4.1.0" } } 这是packages.json中的配置
最新发布
09-24
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值