anchengjian/vue-nw-seed

npm run build时间很长超时

tadada opened this issue · 2 comments

vue的静态文件编译的很快,但是在执行build-nw.js的时候卡住了,是不是在下载nw的模板之类的东西?能否提前下载好?放到哪个目录?
蟹蟹!

nw.build()函数执行了没反应,打了点log发现nwbuilder的参数为:
{ files: [ '/home/shao/Desktop/vue-nw-seed-master/dist/**' ], platforms: [ 'win32', 'win64' ], version: '0.14.7', flavor: 'normal', cacheDir: '/home/shao/Desktop/vue-nw-seed-master/node_modules/_nw-builder-cache', buildDir: '/home/shao/Desktop/vue-nw-seed-master/releases', winIco: '/home/shao/Desktop/vue-nw-seed-master/build/setup_resources/logo.ico', macIcns: '/home/shao/Desktop/vue-nw-seed-master/build/setup_resources/logo.icns', buildType: [Function: buildType], appName: false, appVersion: false, currentPlatform: 'linux64', downloadUrl: 'https://dl.nwjs.io/', manifestUrl: 'https://nwjs.io/versions.json', forceDownload: false, macCredits: false, macZip: null, zip: null, zipOptions: null, macPlist: false, winVersionString: {}, argv: [] }
其中cacheDir我在node_modules里面并没找到,不知道是不是这个原因

All right, its a mistake, is downloading....