前端执行npm run build的时候出错

提问 未结 2 72
sheng790202
sheng790202 2020-01-05
悬赏:20积分
版本:renren-fast 开发环境:jdk8 idea,
img[//cdn.renren.io/20157202001051715533603.png] 前端执行npm run build的时候出错
回帖
  • sheng790202
    sheng790202 (楼主)
    2020-01-05
    我把node降级了,就OK了
    0 回复
  • liyufeng
    2020-01-07
    { "name": "renren-fast-vue", "version": "1.2.2", "description": "renren-fast-vue基于vue、element-ui构建开发,实现renren-fast后台管理前端功能,提供一套更优的前端解决方案。", "author": "daxiong.yang <daxiong.yang@qq.com>", "private": true, "scripts": { "dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js", "start": "npm run dev", "unit": "jest --config test/unit/jest.conf.js --coverage", "e2e": "node test/e2e/runner.js", "test": "npm run unit && npm run e2e", "lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs", "build": "node build/build.js" }, 在package.json 把 build的句子改成 node build/build.js 就能打包了
    0 回复