07 2021 档案
安装了vs2019 编译node-sass node-gyp 找不到编译器的解决方法
摘要:1 新建powershell脚本文件 <# This is a workaround for "node-gyp is unable to find msbuild if VS2019 is installed" https://github.com/nodejs/node-gyp/issues/1
阅读全文
node-sass安装失败之npm ERR! Failed at the node-sass@4.9.4 postinstall script.
摘要:node-sass安装失败之npm ERR! Failed at the node-sass@4.9.4 postinstall script. 一个npm install报了一堆问题 gyp verb check python checking for Python executable "pyt
阅读全文
Node.js安装及环境配置之Windows篇
摘要:Node.js安装及环境配置之Windows篇 Node.js安装及环境配置之Windows篇 from:https://www.cnblogs.com/zhouyu2017/p/6485265.html 一、安装环境 1、本机系统:Windows 10 Pro(64位)2、Node.js:v6.9
阅读全文
npm源切换,从淘宝源切换至npm源
摘要:从淘宝源切换至npm源 npm config set registry=http://registry.npmjs.org 但是老这样切来切去有点low啊,这时候nrm就派上用场了,nrm是什么?简单点说nrm就是专门用来管理和快速切换私人配置的registry的一个工具。 cnpm
阅读全文
找不到Python问题解决 (转)
摘要:找不到Python问题解决 一、背景介绍: 在解决完npm超时问题后,执行指令npm install,会报找不到Python的错误 二、问题分析 因此考虑到node-gyp是否已经安装,然后控制台输入查看node-gyp命令:node-gyp list,结果如下: 果然是在解决上个npm超时问题时把
阅读全文