node-sass@4.7.2 postinstall: `node scripts/build.js`

2024-01-14 00:52

本文主要是介绍node-sass@4.7.2 postinstall: `node scripts/build.js`,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

Can‘t find Python executable “D:\Python36\python.EXE“, you can set the PYTHON env variable.-CSDN博客

gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (E:\Workspace_gitee\VBlog-master\blog\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:321:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Windows_NT 10.0.19045
gyp ERR! command "D:\\nodejs\\node.exe" "E:\\Workspace_gitee\\VBlog-master\\blog\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--ver
bose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd E:\Workspace_gitee\VBlog-master\blog\node_modules\node-sass
gyp ERR! node -v v13.9.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Build failed with error code: 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":
"win32","arch":"x64"})
npm WARN stylus-loader@3.0.1 requires a peer of stylus@>=0.52.4 but none is installed. You must install peer dependencies yourself.npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.7.2 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.7.2 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2024-01-13T14_55_05_172Z-debug.log

=======

npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass

npm install node-sass

npm install

npm run dev

http://127.0.0.1:8080


---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------E:\WorkspaceZengWenFeng>npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sassE:\WorkspaceZengWenFeng>
E:\WorkspaceZengWenFeng>
E:\WorkspaceZengWenFeng>---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
E:\WorkspaceZengWenFeng>npm install node-sassnpm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is kn
own to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated fsevents@1.2.13: The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2> node-sass@4.14.1 install E:\WorkspaceZengWenFeng\node_modules\node-sass
> node scripts/install.jsCached binary found at C:\Users\Administrator\AppData\Roaming\npm-cache\node-sass\4.14.1\win32-x64-79_binding.node> node-sass@4.14.1 postinstall E:\WorkspaceZengWenFeng\node_modules\node-sass
> node scripts/build.jsBinary found at E:\WorkspaceZengWenFeng\node_modules\node-sass\vendor\win32-x64-79\binding.node
Testing binary
Binary is fine
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32"
,"arch":"x64"})
npm WARN stylus-loader@3.0.1 requires a peer of stylus@>=0.52.4 but none is installed. You must install peer dependencies yourself.+ node-sass@4.14.1
added 97 packages from 109 contributors, removed 2 packages, moved 1 package and audited 1123 packages in 32.23s2 packages are looking for fundingrun `npm fund` for detailsfound 270 vulnerabilities (19 low, 142 moderate, 82 high, 27 critical)run `npm audit fix` to fix them, or `npm audit` for details---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------E:\WorkspaceZengWenFeng>npm install
npm WARN stylus-loader@3.0.1 requires a peer of stylus@>=0.52.4 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32"
,"arch":"x64"})audited 1123 packages in 6.192s2 packages are looking for fundingrun `npm fund` for detailsfound 270 vulnerabilities (19 low, 142 moderate, 82 high, 27 critical)run `npm audit fix` to fix them, or `npm audit` for detailsE:\WorkspaceZengWenFeng>
E:\WorkspaceZengWenFeng>
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
E:\WorkspaceZengWenFeng>npm run dev> vueblog@1.0.0 dev E:\WorkspaceZengWenFeng
> webpack-dev-server --inline --progress --config build/webpack.dev.conf.js---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------DONE  Compiled successfully in 18773ms                                                                                                  下下午午11:14:
37I  Your application is running here: http://localhost:8080

这篇关于node-sass@4.7.2 postinstall: `node scripts/build.js`的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/603390

相关文章

据阿谱尔APO Research调研显示,2023年全球髓内钉市场销售额约为4.7亿美元

根据阿谱尔 (APO Research)的统计及预测,2023年全球髓内钉市场销售额约为4.7亿美元,预计在2024-2030年预测期内将以超过3.82%的CAGR(年复合增长率)增长。 髓内钉市场是指涉及髓内钉制造、分销和销售的行业。髓内钉是一种用于整形外科手术的医疗器械,用于稳定长骨骨折,特别是股骨、胫骨和肱骨。髓内钉通常由不銹钢或钛等材料制成,并插入骨的髓管中,以在愈合过程中提供结构支

js+css二级导航

效果 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Con

js小题:通过字符串执行同名变量怎么做

在JavaScript中,你不能直接使用一个字符串来直接引用一个变量,因为JavaScript是一种静态类型语言(尽管它的类型在运行时可以变化),变量的名字在编译时就被确定了。但是,有几种方法可以实现类似的功能: 使用对象(或Map)来存储变量: 你可以使用一个对象来存储你的变量,然后使用字符串作为键来访问这些变量。 let myVars = { 'var1': 'Hello', 'var

图形编辑器基于Paper.js教程03:认识Paper.js中的所有类

先来认一下Paper的资源对象,小弟有哪些,有个整体的认识。认个脸。 在Paper.js的 官方文档中类大致有如下这些: 基类: ProjectViewItemPointToolSizeSegmentRectangleCurveCurveLocationMatrixColorStyleTweenToolEventGradientGradientStopEvent 二级或三级类 继承Ite

HTML文档插入JS代码的几种方法

在HTML文档里嵌入客户端JavaScript代码有4中方法: 1.内联,放置在< script>和标签对之间。 2.放置在由< script>标签的src属性指定的外部文件中。 3.放置在HTML事件处理程序中,该事件处理程序由onclick或onmouseover这样的HTML属性值指定。 4.放在一个URL里,这个URL使用特殊的“javascript:”协议。 在JS编程中,主张

js 正则表达式出现问题

帮同事写个页面,出现正则表达式不管怎么改都没法匹配的情况。。。。 reg = /^sy[0-9]+$/i; if(rtx.match(reg) == null){ alert("请输入正确的RTX账号!"); return false; } 因为之前一直用的是 reg ="/^sy[0-9]+$/i"; 写PHP写习惯了。。外面多写了两个双引号……T.T 改

bootstrap和JS相关

下表列出了模态框中要用到事件。这些事件可在函数中当钩子使用。 bootstrap 显示隐藏div $('.show-info').click(function () {var show = $(this).data('show');if(show =='all'){$('#creative').show();$('#plan').show();$('#plan').attr('class','

sublime配置node.js

1、下载Nodejs插件,下载地址为: https://github.com/tanepiper/SublimeText-Nodejs(见本人网盘) 下载zip压缩包后解压,文件名改为Nodejs 2、打开Sublime Text3,点击菜单“Perferences” =>“Browse Packages”打开“Packages”文件夹,并将第1部的Nodejs文件夹剪切进来 3

Lodash-js工具库

1. Lodash 简介 Lodash 是一个现代 实用工具库,提供了许多有用的函数,帮助开发者处理常见的编程任务,如数组操作、对象处理、字符串处理等。Lodash 使得代码更简洁、更高效,极大地提高了开发效率。Lodash 的设计灵感来自于 Underscore.js,但提供了更多的功能和更好的性能。 2. 安装 Lodash Lodash 可以通过多种方式安装: 具体安装:参考官网

js实现继承的多种方式

1:原型链方式,即子类通过prototype将所有在父类中通过prototype追加的属性和方法都追加到Child,从而实现了继承   function Person(){   }   Person.prototype.hello = "hello";   Person.prototype.sayHello = function(){     alert(this.h