node-webkit 打包桌面程序,谷歌内核对html5和css3的兼容性问题。

html-css09

node-webkit 打包桌面程序,谷歌内核对html5和css3的兼容性问题。,第1张

QQ浏览器的内核是由你电脑上的IE版本决定的,你装个IE11,那么QQ浏览器就肯定支持CSS3和HTML5了啊。不过,作为开发者,建议你电脑上至少要安装Chrome和FireFox,再加上本身的IE(版本至少9+),只要应用程序在这三种浏览器中都测试无误,那基本上就没问题了。当然,如果需要兼顾IE的早期版本,那么建议你用虚拟机装上IE6、IE7来进行测试。

报错信息如下:

ERROR in ./node_modules/[email protected]@extract-text-webpack-plugin/dist/loader.js?{"omit":1,"remove":true}!D:/work/nl_web/node_modules/[email protected]@vue-style-loader!D:/work/nl_web/node_modules/[email protected]@css-loader?{"sourceMap":true}!./node_modules/[email protected]@vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-6cf3286b","scoped":true,"hasInlineConfig":false}!D:/work/nl_web/node_modules/[email protected]@sass-loader/lib/loader.js?{"sourceMap":true}!./node_modules/[email protected]@vue-loader/lib/selector.js?type=styles&index=0!./src/components/audioItem1/audioItem1.vue

Module build failed: Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin, refer to https://github.com/webpack/extract-text-webpack-plugin for the usage example

    at Object.pitch (d:\work\nl_web\node_modules\[email protected]@extract-text-webpack-plugin\dist\loader.js:57:11)

解释原因:

saas是一个日本人搞得ruby语言中使用的一个预编译器,以前使用的时候我们需要安装ruby环境,后来gulp整合了saas也是挺好用的,

但是,node-saas就需要python环境了,所以很多人又不知道,就升级了node,导致node-saas无法使用了。

解决办法:

第一步:npm install -g node-gyp

第二步:npm install --global --production windows-build-tools // 如果是windows7系统请安装[email protected]

第三步:npm rebuild node-sass, 即可解决