摘要: 在本地环境或者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: 阅读全文
posted @ 2024-05-14 09:08 keRee 阅读(38) 评论(0) 推荐(0) 编辑
摘要: Error: Cannot find module 'node:events'nodejs版本太低了,升级新版本即可! 阅读全文
posted @ 2023-07-18 19:10 keRee 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 问题详情 webpack5使用自定义配置构建项目成功后,运行项目在浏览器控制台提示:Uncaught ReferrnceError: process is not defined。 原因是webpack 5 不再自动 polyfill Node.js 的核心模块,这意味着如果你在浏览器或类似的环境中 阅读全文
posted @ 2022-10-10 14:31 keRee 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 错误信息: /usr/src/node_modules/.pnpm/typescript@4.8.3/node_modules/typescript/lib/typescript.js:43192 ts.Debug.assert(typeof typeReferenceDirectiveName " 阅读全文
posted @ 2022-09-22 14:46 keRee 阅读(5080) 评论(0) 推荐(1) 编辑
摘要: 错误信息: Error: Cannot find module 'sanitize.css/page.css' Require stack: - /usr/src/node_modules/.pnpm/postcss-normalize@9.0.0/node_modules/postcss-norm 阅读全文
posted @ 2022-09-22 14:22 keRee 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 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!. 阅读全文
posted @ 2022-08-17 16:44 keRee 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 在VSCode中,我们打开终端,运行某些脚本工具时(此处运行的时ts-node),提示: ts-node : 无法加载文件 C:\Program Files\nodejs\node_global\ts-node.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.micro 阅读全文
posted @ 2022-04-21 14:00 keRee 阅读(3145) 评论(0) 推荐(1) 编辑
摘要: 问题:浏览器控制台会输出warning,提示:ReferenceError: __VUE_OPTIONS_API__, __VUE_PROD_DEVTOOLS__ is not defined.官方文档解释为: Starting with 3.0.0-rc.3, esm-bundler builds 阅读全文
posted @ 2022-04-02 09:13 keRee 阅读(2100) 评论(0) 推荐(0) 编辑
摘要: 错误信息:Vue is a constructor and should be called with the `new` keyword原因:在vue项目中使用第三方依赖,当依赖不是vue插件而又了使用Vue.use的时候,会报此错误;解决方法: 1 import Vue from 'vue' 2 阅读全文
posted @ 2020-05-15 16:04 keRee 阅读(1643) 评论(0) 推荐(1) 编辑
摘要: 问题描述 在webpack利用打包css文件时出现: 解决方法 安装node-sass模块即可解决 阅读全文
posted @ 2017-01-10 11:10 keRee 阅读(13018) 评论(0) 推荐(0) 编辑