vue-cli3打包时遇到Cannot assign to read only property 'exports' of object '#<Object>'问题的解决方法. 大致是说,在webpack打包的时候,可以在js文件中混用require和export.但是不能混用import 以及module.exports. 因为webpack 2中不允许混用import和module.exports,   为了使编译好的程序能在大多数浏览器下运行.webpack里面有一个编译器叫Babel,…
问题描述:    从http://git.oschina.net/flashsword20/webmagic 下载最新代码,按照http://webmagic.io/docs/zh/posts/ch3-build-source/ 说明的方法导入进eclipse,编译然后就提示如下错误: Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.18 from https://repo.maven.apache…
Python抓取中文网页乱码 :Eclipse+pydev2.2+python2.7  :Apatana Studio3+ pydev2.2+python2.7      run时设置 run-->run configurations->python run->选中当前运行文件->Common-> Encoding ->Others->输入"GBK" 中文是:运行-->运行配置->python run->选中当前运行文件-&g…
如果项目有添加有WB引用,比如引用其它网站的WEB服务等,那么VS在编译时会自动生成个 [项目名称].Serializers.dll的文件,就是把引用服务中的相关对象信息生成硬编码的程序集,以提高效率. 但是,如果在远程服务器上使用msbuil构建时,服务器上如果没安装有winsdk,那么构建就会失败,出现类似这样的信息: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2769,5): error M…
终于找到了自己想要的答案,顶顶,吼吼~ 我今天安装VMware Workstation时,总是提示我Error 1324. The path My Documents contains a invalid character.我在网上找了一下原因,都说是文件名的错误.安装其他软件时,也有可能出现这个错误.下面是我从网上摘下来的 现象:安装软件时出现如下提示:Error 1324.The path My Documents contains a invalid character. 原因:my d…
在Linux上登录MySQL时出现如下提示,如下图: 通过查找资料了解到: MySQL有两种连接方式: (1)TCP/IP (2)socket 对mysql.sock来说,其作用是程序与mysqlserver处于同一台机器,发起本地连接时可用. 例如你无须定义连接host的具体IP地址,只要为空或localhost就可以. 在此种情况下,即使你改变mysql的外部port也是一样可能正常连接. 因为你在my.ini中或my.cnf中改变端口后,mysql.sock是随每一次 mysql serv…
右键,选择BuildPath: 可以编辑Output folder,指定编译后的文件的存放目录,一般是target/classes目录…
问题: 32位程序在64位系统上调用GetModuleFileNameEx()遍历获取64位进程的全路径失败,得到的路径都为空. 根据官方的说法: For the best results use the following table to convert paths. Windows 2000 = GetModuleFileNameEx() Windows XP x32 = GetProcessImageFileName() Windows XP x64 = GetProcessImageF…
TMD,老TMD困扰我,每次新建MVC项目后就提示这个,原因在此: public class Public_Class   <==此处应为:Public_Class : Controller { public JsonResult ResultJson(string code, string message, string tbId, string callbackType, string url, string o1, string o2) { return Json(new {... },…
重装numpy: sudo pip uninstall numpy sudo pip install numpy 是没有用的... 解决的办法就是: sudo apt-get install python-numpy…