摘要:
在本地环境或者cicd时,有node-sass依赖,在install时出现以下报错: 1 npm ERR! In file included from ../src/binding.cpp:1: 2 npm ERR! In file included from ../../nan/nan.h:58: 阅读全文
摘要:
问题详情 webpack5使用自定义配置构建项目成功后,运行项目在浏览器控制台提示:Uncaught ReferrnceError: process is not defined。 原因是webpack 5 不再自动 polyfill Node.js 的核心模块,这意味着如果你在浏览器或类似的环境中 阅读全文
摘要:
1 these dependencies were not found: 2 core-js/modules/es.regexp.dot-all.js in ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref–12-0!. 阅读全文
摘要:
问题:浏览器控制台会输出warning,提示:ReferenceError: __VUE_OPTIONS_API__, __VUE_PROD_DEVTOOLS__ is not defined.官方文档解释为: Starting with 3.0.0-rc.3, esm-bundler builds 阅读全文
摘要:
错误信息:Vue is a constructor and should be called with the `new` keyword原因:在vue项目中使用第三方依赖,当依赖不是vue插件而又了使用Vue.use的时候,会报此错误;解决方法: 1 import Vue from 'vue' 2 阅读全文