
环境问题 | 报错
错错错是我的错
夏大爷耶耶耶
花开生两面
人生佛魔间
展开
-
mac电脑终端nvm切换node版本有效,而在VSCode终端里node版本无法切换
VSCode终端里node版本无法切换原创 2023-06-05 11:32:49 · 1362 阅读 · 7 评论 -
yarn报错(error /Users/edy/Desktop/xsite/node_modules/node-sass: Command failed.Exit code: 1)
Output:Building: /Users/edy/.nvm/versions/node/v14.17.0/bin/node /Users/edy/Desktop/shandong-xsite/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=gyp info it worked if it ends原创 2022-10-12 10:21:50 · 952 阅读 · 0 评论 -
./src/app/imgs/XXX.gif Module build failed: TypeError [ERR_INVALID_ARG_TYPE]: The “from“ argument
./src/app/imgs/XXX.gifModule build failed: TypeError [ERR_INVALID_ARG_TYPE]: The "from" argument must be of type string. Received undefined原创 2022-10-12 10:08:09 · 430 阅读 · 0 评论 -
启app报错 - No toolchains found in the NDK toolchains folder for ABI with prefix: arm····
No toolchains found in the NDK toolchains folder for ABI with prefixreact-native 启项目原创 2022-10-11 18:57:29 · 742 阅读 · 0 评论 -
entrypoint size limit: The following entrypoint(s) combined asset size exceeds ······webpack打包体积过大
webpack打包体积过大项目启动不了原创 2022-09-23 17:29:44 · 1572 阅读 · 0 评论 -
Sourcetree拉取代码失败(git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch
sourcetree拉取代码失败git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch --no-tags origingit -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks pull origin saic-wechatLive-20220827hint: Pulling without spe原创 2022-09-08 16:48:23 · 2212 阅读 · 0 评论 -
苹果电脑macOS的各种问题(安装包;系统升级软件闪退解决方法;VSCode终端输入找不到命令、删除依赖报错)
安装homebrew包管理工具;nvm安装;MacOS系统升级到12.4版本出现大波软件闪退Mac的VSCode里终端里输入命令会出现 zsh: command not found;删除node_modules时报错:rm: node_modules: is a directory原创 2022-07-18 15:51:07 · 2152 阅读 · 6 评论 -
npm安装指定版本的npm、typescript、yarn、lerna并查看版本号+nvm安装切换不同版本node
先全局卸载:npm uninstall -g typescript再安装指定版本:npm install -g typescript@2.9.2查看版本号:tsc -vyarn、lerna类似。原创 2022-05-18 18:02:29 · 4973 阅读 · 0 评论 -
Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported ····
解决方法:切换node版本试试。nvm ls 列出安装的所有node版本nvm use 版本号 切换node -v 查看node版本号原创 2022-04-24 10:37:37 · 252 阅读 · 0 评论 -
sourcetree提交报错 git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ······
sourcetree提交报错找到项目目录→输入cd .git→输入cd hooks→输入命令rm .\pre-commit原创 2022-05-13 14:17:27 · 2757 阅读 · 0 评论 -
解决Android 模拟机开机黑屏问题、npm内存溢出问题
Android模拟机开机黑屏,试试Android Studio中顶部菜单栏中File中的Settings,Settings里搜Android SDK,找到其中的SDK Tools,勾选最高版本,点击下面的ok。在模拟器编辑界面,修改“Boot option”为“cold boot”,保存后即可正常使用npm内存溢出问题先输入命令:npm run start --max-old-space-size=8092再输入命令启动app:yarnandroid...原创 2022-04-26 11:37:21 · 3255 阅读 · 0 评论 -
VSCode yarn时报错(yarn : 无法加载文件因为在此系统上禁止运行脚本。执行命令:set-ExecutionPolicy RemoteSigned仍报错)
yarn : 无法加载文件因为在此系统上禁止运行脚本。执行命令:set-ExecutionPolicy RemoteSigned仍报错原创 2022-05-18 17:27:58 · 395 阅读 · 0 评论