github 2.0分支跑不起来

来源:21-2 nodejs调试

TheLostman

2018-05-10

折腾了好久,实在搞不清楚哪里问题T_T,只会写后端...请老师指点迷津

module.js:549

    throw err;

    ^


Error: Cannot find module './check-versions'

    at Function.Module._resolveFilename (module.js:547:15)

    at Function.Module._load (module.js:474:25)

    at Module.require (module.js:596:17)

    at require (internal/module.js:11:18)

    at Object.<anonymous> (/Users/zhulinfeng/Documents/GitSpace/vue-sell/build/build.js:2:1)

    at Module._compile (module.js:652:30)

    at Object.Module._extensions..js (module.js:663:10)

    at Module.load (module.js:565:32)

    at tryModuleLoad (module.js:505:12)

    at Function.Module._load (module.js:497:3)

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! sell@1.0.0 build: `node build/build.js`

npm ERR! Exit status 1

npm ERR! 

npm ERR! Failed at the sell@1.0.0 build script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.


npm ERR! A complete log of this run can be found in:

npm ERR!     /Users/zhulinfeng/.npm/_logs/2018-05-09T17_28_19_090Z-debug.log


写回答

1回答

ustbhuangyi

2018-05-10

你是不是只复制了部分代码呀,整个 build 目录页需要复制喔

0
4
TheLostman
回复
ustbhuangyi
OK,2.0分支下面果然是少了这个文件
2018-05-10
共4条回复

Vue.js2.5+cube-ui重构饿了么App(经典再升级)

掌握Vue1.0到2.0再到2.5最全版本应用与迭代,打造极致流畅的WebApp

9868 学习 · 4162 问题

查看课程