caiqingheng@localhost salary-wechat % npm install moment

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 known to be problematic.  See https://v8.dev/blog/math-random for details.

npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.

npm ERR! code 1

npm ERR! path /Users/caiqingheng/Documents/wechatCode/salary-wechat/node_modules/node-sass

npm ERR! command failed

npm ERR! command sh -c node scripts/build.js

npm ERR! Building: /usr/local/bin/node /Users/caiqingheng/Documents/wechatCode/salary-wechat/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=

npm ERR! gyp info it worked if it ends with ok

npm ERR! gyp verb cli [

npm ERR! gyp verb cli   '/usr/local/bin/node',

npm ERR! gyp verb cli   '/Users/caiqingheng/Documents/wechatCode/salary-wechat/node_modules/node-gyp/bin/node-gyp.js',

npm ERR! gyp verb cli   'rebuild',

npm ERR! gyp verb cli   '--verbose',

npm ERR! gyp verb cli   '--libsass_ext=',

npm ERR! gyp verb cli   '--libsass_cflags=',

npm ERR! gyp verb cli   '--libsass_ldflags=',

npm ERR! gyp verb cli   '--libsass_library='

npm ERR! gyp verb cli ]

npm ERR! gyp info using node-gyp@3.8.0

npm ERR! gyp info using node@16.15.0 | darwin | x64

npm ERR! gyp verb command rebuild []

npm ERR! gyp verb command clean []

npm ERR! gyp verb clean removing "build" directory

npm ERR! gyp verb command configure []

npm ERR! gyp verb check python checking for Python executable "/usr/bin/python3" in the PATH

npm ERR! gyp verb `which` succeeded /usr/bin/python3 /usr/bin/python3

npm ERR! gyp ERR! configure error

npm ERR! gyp ERR! stack Error: Command failed: /usr/bin/python3 -c import sys; print "%s.%s.%s" % sys.version_info[:3];

npm ERR! gyp ERR! stack   File "<string>", line 1

npm ERR! gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];

npm ERR! gyp ERR! stack                       ^

npm ERR! gyp ERR! stack SyntaxError: invalid syntax

npm ERR! gyp ERR! stack

npm ERR! gyp ERR! stack     at ChildProcess.exithandler (node:child_process:398:12)

npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:527:28)

npm ERR! gyp ERR! stack     at maybeClose (node:internal/child_process:1092:16)

npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)

npm ERR! gyp ERR! System Darwin 22.6.0

npm ERR! gyp ERR! command "/usr/local/bin/node" "/Users/caiqingheng/Documents/wechatCode/salary-wechat/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="

npm ERR! gyp ERR! cwd /Users/caiqingheng/Documents/wechatCode/salary-wechat/node_modules/node-sass

npm ERR! gyp ERR! node -v v16.15.0

npm ERR! gyp ERR! node-gyp -v v3.8.0

npm ERR! gyp ERR! not ok

npm ERR! Build failed with error code: 1

npm ERR! A complete log of this run can be found in:

npm ERR!     /Users/caiqingheng/.npm/_logs/2024-06-21T13_51_06_942Z-debug-0.log

caiqingheng@localhost salary-wechat % npm ERR! gyp

Unknown command: "ERR!"

To see a list of supported npm commands, run:

  npm help

caiqingheng@localhost salary-wechat % node-gyp -v

v10.1.0

caiqingheng@localhost salary-wechat % npm uninstall node-sass

added 92 packages, and audited 93 packages in 15s

12 packages are looking for funding

  run `npm fund` for details

found 0 vulnerabilities

caiqingheng@localhost salary-wechat % npm install sass --save-dev

added 18 packages, and audited 111 packages in 4s

15 packages are looking for funding

  run `npm fund` for details

found 0 vulnerabilities

caiqingheng@localhost salary-wechat % npm install

up to date, audited 111 packages in 1s

15 packages are looking for funding

  run `npm fund` for details

found 0 vulnerabilities

caiqingheng@localhost salary-wechat % clear

caiqingheng@localhost salary-wechat % ls

App.vue index.html package.json uni.promisify.adaptor.js

LICENSE main.js pages uni.scss

README.md manifest.json pages.json unpackage

common node_modules static uview-ui

components package-lock.json store

caiqingheng@localhost salary-wechat % npm install moment

added 1 package, and audited 112 packages in 2s

15 packages are looking for funding

  run `npm fund` for details

found 0 vulnerabilities

caiqingheng@localhost salary-wechat %

点赞(0) 打赏

评论列表 共有 0 条评论

暂无评论

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部