[email protected] postinstall: `node scripts/build.js`

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

node-sass@4.7.2 postinstall: `node scripts/build.js`_第1张图片

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 [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":
"win32","arch":"x64"})
npm WARN [email protected] 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! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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

node-sass@4.7.2 postinstall: `node scripts/build.js`_第2张图片

npm install node-sass

node-sass@4.7.2 postinstall: `node scripts/build.js`_第3张图片

npm install

node-sass@4.7.2 postinstall: `node scripts/build.js`_第4张图片

npm run dev

node-sass@4.7.2 postinstall: `node scripts/build.js`_第5张图片

node-sass@4.7.2 postinstall: `node scripts/build.js`_第6张图片

http://127.0.0.1:8080

node-sass@4.7.2 postinstall: `node scripts/build.js`_第7张图片

node-sass@4.7.2 postinstall: `node scripts/build.js`_第8张图片


---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

E:\WorkspaceZengWenFeng>npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass

E:\WorkspaceZengWenFeng>
E:\WorkspaceZengWenFeng>
E:\WorkspaceZengWenFeng>

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
E:\WorkspaceZengWenFeng>npm install node-sass



npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: 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 [email protected]: The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2

> [email protected] install E:\WorkspaceZengWenFeng\node_modules\node-sass
> node scripts/install.js

Cached binary found at C:\Users\Administrator\AppData\Roaming\npm-cache\node-sass\4.14.1\win32-x64-79_binding.node

> [email protected] postinstall E:\WorkspaceZengWenFeng\node_modules\node-sass
> node scripts/build.js

Binary 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 [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32"
,"arch":"x64"})
npm WARN [email protected] requires a peer of stylus@>=0.52.4 but none is installed. You must install peer dependencies yourself.

+ [email protected]
added 97 packages from 109 contributors, removed 2 packages, moved 1 package and audited 1123 packages in 32.23s

2 packages are looking for funding
  run `npm fund` for details

found 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 [email protected] requires a peer of stylus@>=0.52.4 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32"
,"arch":"x64"})

audited 1123 packages in 6.192s

2 packages are looking for funding
  run `npm fund` for details

found 270 vulnerabilities (19 low, 142 moderate, 82 high, 27 critical)
  run `npm audit fix` to fix them, or `npm audit` for details

E:\WorkspaceZengWenFeng>
E:\WorkspaceZengWenFeng>
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
E:\WorkspaceZengWenFeng>npm run dev

> [email protected] dev E:\WorkspaceZengWenFeng
> webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 DONE  Compiled successfully in 18773ms                                                                                                  下下午午11:14:
37

 I  Your application is running here: http://localhost:8080

你可能感兴趣的:(vue.js,vue,vue.js)