摘要: 问题描述: 在使用rollup编译es6时,遇到报错Error: Unexpected token (Note that you need @rollup/plugin-json to import JSON files)问题 产生原因: 默认情况下rollup.js不支持导入json模块 解决方案 阅读全文
posted @ 2020-07-16 15:22 倚楼听雨vv 阅读(6795) 评论(0) 推荐(0)
摘要: 问题描述: 在使用rollup编译es6时,遇到报错Error: 'default' is not exported by node_modules\jquery\dist\jquery.js, imported by node_modules\bootstrap\js\src\util.js问题 阅读全文
posted @ 2020-06-18 15:55 倚楼听雨vv 阅读(4154) 评论(0) 推荐(0)
摘要: 问题描述: 在使用babel编译es6时,遇到报错Uncaught ReferenceError: regeneratorRuntime is not defined问题 产生原因: 脚本使用了ES7的 async/await regeneratorRuntime在浏览器上是不认识的,需要安装@ba 阅读全文
posted @ 2020-04-15 09:45 倚楼听雨vv 阅读(2015) 评论(0) 推荐(0)
摘要: 问题描述: 在使用webpack启动本地服务(webpack-dev-server)时,遇到报错“Error: listen EADDRINUSE: address already in use 127.0.0.1:9000”问题 解决方案: 打开cmd 运行netstat -ano,找到报错信息提 阅读全文
posted @ 2020-04-10 12:48 倚楼听雨vv 阅读(1410) 评论(0) 推荐(0)
摘要: 问题描述: 在使用babel编译es6时,遇到报错Error: Cannot find module '@babel/core’问题 产生原因: babel-loader和babel-core版本不对应所产生的, babel-loader 8.x对应babel-core 7.x babel-load 阅读全文
posted @ 2020-04-10 10:39 倚楼听雨vv 阅读(6633) 评论(0) 推荐(0)
摘要: 问题描述: 使用Sublime Text 3,通过Package Control安装了Emmet插件,使用时报please wait a bit while pyv8 binary is being downloaded。 解决方案: 去gihub下载pyv8,链接地址:https://github 阅读全文
posted @ 2020-04-02 11:21 倚楼听雨vv 阅读(664) 评论(0) 推荐(0)