• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

使用node16 后搭建vue3又运行vue2+node12环境下搭建的老项目npm install遇到的报错问题

武飞扬头像
weixin_43048128
帮助1

  1.  
    D:\vuework\data_diaplay\work\mall\mall-admin-web>npm install
  2.  
     
  3.  
    > node-sass@4.13.0 install D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-sass
  4.  
    > node scripts/install.js
  5.  
     
  6.  
    Downloading binary from https://npm.taobao.org/mirrors/node-sass/v4.13.0/win32-x64-93_binding.node
  7.  
    Cannot download "https://npm.taobao.org/mirrors/node-sass/v4.13.0/win32-x64-93_binding.node":
  8.  
     
  9.  
    HTTP error 404 Not Found
  10.  
     
  11.  
    Hint: If github.com is not accessible in your location
  12.  
    try setting a proxy via HTTP_PROXY, e.g.
  13.  
     
  14.  
    export HTTP_PROXY=http://example.com:1234
  15.  
     
  16.  
    or configure npm proxy via
  17.  
     
  18.  
    npm config set proxy http://example.com:8080
  19.  
     
  20.  
    > node-sass@4.13.0 postinstall D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-sass
  21.  
    > node scripts/build.js
  22.  
     
  23.  
    Building: D:\nodejs\node.exe D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
  24.  
    gyp info it worked if it ends with ok
  25.  
    gyp verb cli [
  26.  
    gyp verb cli 'D:\\nodejs\\node.exe',
  27.  
    gyp verb cli 'D:\\vuework\\data_diaplay\\work\\mall\\mall-admin-web\\node_modules\\node-gyp\\bin\\node-gyp.js',
  28.  
    gyp verb cli 'rebuild',
  29.  
    gyp verb cli '--verbose',
  30.  
    gyp verb cli '--libsass_ext=',
  31.  
    gyp verb cli '--libsass_cflags=',
  32.  
    gyp verb cli '--libsass_ldflags=',
  33.  
    gyp verb cli '--libsass_library='
  34.  
    gyp verb cli ]
  35.  
    gyp info using node-gyp@3.8.0
  36.  
    gyp info using node@16.13.2 | win32 | x64
  37.  
    gyp verb command rebuild []
  38.  
    gyp verb command clean []
  39.  
    gyp verb clean removing "build" directory
  40.  
    gyp verb command configure []
  41.  
    gyp verb check python checking for Python executable "python2" in the PATH
  42.  
    gyp verb `which` failed Error: not found: python2
  43.  
    gyp verb `which` failed at getNotFoundError (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:13:12)
  44.  
    gyp verb `which` failed at F (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:68:19)
  45.  
    gyp verb `which` failed at E (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:80:29)
  46.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:89:16
  47.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\index.js:42:5
  48.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\windows.js:36:5
  49.  
    gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21)
  50.  
    gyp verb `which` failed python2 Error: not found: python2
  51.  
    gyp verb `which` failed at getNotFoundError (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:13:12)
  52.  
    gyp verb `which` failed at F (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:68:19)
  53.  
    gyp verb `which` failed at E (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:80:29)
  54.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:89:16
  55.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\index.js:42:5
  56.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\windows.js:36:5
  57.  
    gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21) {
  58.  
    gyp verb `which` failed code: 'ENOENT'
  59.  
    gyp verb `which` failed }
  60.  
    gyp verb check python checking for Python executable "python" in the PATH
  61.  
    gyp verb `which` failed Error: not found: python
  62.  
    gyp verb `which` failed at getNotFoundError (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:13:12)
  63.  
    gyp verb `which` failed at F (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:68:19)
  64.  
    gyp verb `which` failed at E (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:80:29)
  65.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:89:16
  66.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\index.js:42:5
  67.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\windows.js:36:5
  68.  
    gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21)
  69.  
    gyp verb `which` failed python Error: not found: python
  70.  
    gyp verb `which` failed at getNotFoundError (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:13:12)
  71.  
    gyp verb `which` failed at F (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:68:19)
  72.  
    gyp verb `which` failed at E (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:80:29)
  73.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:89:16
  74.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\index.js:42:5
  75.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\windows.js:36:5
  76.  
    gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21) {
  77.  
    gyp verb `which` failed code: 'ENOENT'
  78.  
    gyp verb `which` failed }
  79.  
    gyp verb could not find "python". checking python launcher
  80.  
    gyp verb could not find "python". guessing location
  81.  
    gyp verb ensuring that file exists: C:\Python27\python.exe
  82.  
    gyp ERR! configure error
  83.  
    gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
  84.  
    gyp ERR! stack at PythonFinder.failNoPython (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-gyp\lib\configure.js:484:19)
  85.  
    gyp ERR! stack at PythonFinder.<anonymous> (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-gyp\lib\configure.js:509:16)
  86.  
    gyp ERR! stack at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\graceful-fs\polyfills.js:284:29
  87.  
    gyp ERR! stack at FSReqCallback.oncomplete (node:fs:198:21)
  88.  
    gyp ERR! System Windows_NT 10.0.19042
  89.  
    gyp ERR! command "D:\\nodejs\\node.exe" "D:\\vuework\\data_diaplay\\work\\mall\\mall-admin-web\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
  90.  
    gyp ERR! cwd D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-sass
  91.  
    gyp ERR! node -v v16.13.2
  92.  
    gyp ERR! node-gyp -v v3.8.0
  93.  
    gyp ERR! not ok
  94.  
    Build failed with error code: 1
  95.  
    npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
  96.  
    npm WARN echarts-liquidfill@2.0.3 requires a peer of echarts@^4.1.0 but none is installed. You must install peer dependencies yourself.
  97.  
    npm WARN v-charts@1.19.0 requires a peer of echarts@>3.0.0 but none is installed. You must install peer dependencies yourself.
  98.  
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.3 (node_modules\fsevents):
  99.  
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
  100.  
     
  101.  
    npm ERR! code ELIFECYCLE
  102.  
    npm ERR! errno 1
  103.  
    npm ERR! node-sass@4.13.0 postinstall: `node scripts/build.js`
  104.  
    npm ERR! Exit status 1
  105.  
    npm ERR!
  106.  
    npm ERR! Failed at the node-sass@4.13.0 postinstall script.
  107.  
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  108.  
     
  109.  
    npm ERR! A complete log of this run can be found in:
  110.  
    npm ERR! D:\nodejs\node_global\_logs\2022-10-26T00_43_12_109Z-debug.log

解决方式:运行npm i node-sass --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/

  1.  
    D:\vuework\data_diaplay\work\mall\mall-admin-web>npm i node-sass --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
  2.  
    npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
  3.  
    npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
  4.  
    npm WARN deprecated har-validator@5.1.5: this library is no longer supported
  5.  
    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.
  6.  
     
  7.  
    > node-sass@4.14.1 install D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-sass
  8.  
    > node scripts/install.js
  9.  
     
  10.  
    Downloading binary from https://npm.taobao.org/mirrors/node-sass//v4.14.1/win32-x64-93_binding.node
  11.  
    Cannot download "https://npm.taobao.org/mirrors/node-sass//v4.14.1/win32-x64-93_binding.node":
  12.  
     
  13.  
    HTTP error 404 Not Found
  14.  
     
  15.  
    Hint: If github.com is not accessible in your location
  16.  
    try setting a proxy via HTTP_PROXY, e.g.
  17.  
     
  18.  
    export HTTP_PROXY=http://example.com:1234
  19.  
     
  20.  
    or configure npm proxy via
  21.  
     
  22.  
    npm config set proxy http://example.com:8080
  23.  
     
  24.  
    > node-sass@4.14.1 postinstall D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-sass
  25.  
    > node scripts/build.js
  26.  
     
  27.  
    Building: D:\nodejs\node.exe D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
  28.  
    gyp info it worked if it ends with ok
  29.  
    gyp verb cli [
  30.  
    gyp verb cli 'D:\\nodejs\\node.exe',
  31.  
    gyp verb cli 'D:\\vuework\\data_diaplay\\work\\mall\\mall-admin-web\\node_modules\\node-gyp\\bin\\node-gyp.js',
  32.  
    gyp verb cli 'rebuild',
  33.  
    gyp verb cli '--verbose',
  34.  
    gyp verb cli '--libsass_ext=',
  35.  
    gyp verb cli '--libsass_cflags=',
  36.  
    gyp verb cli '--libsass_ldflags=',
  37.  
    gyp verb cli '--libsass_library='
  38.  
    gyp verb cli ]
  39.  
    gyp info using node-gyp@3.8.0
  40.  
    gyp info using node@16.13.2 | win32 | x64
  41.  
    gyp verb command rebuild []
  42.  
    gyp verb command clean []
  43.  
    gyp verb clean removing "build" directory
  44.  
    gyp verb command configure []
  45.  
    gyp verb check python checking for Python executable "python2" in the PATH
  46.  
    gyp verb `which` failed Error: not found: python2
  47.  
    gyp verb `which` failed at getNotFoundError (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:13:12)
  48.  
    gyp verb `which` failed at F (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:68:19)
  49.  
    gyp verb `which` failed at E (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:80:29)
  50.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:89:16
  51.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\index.js:42:5
  52.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\windows.js:36:5
  53.  
    gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21)
  54.  
    gyp verb `which` failed python2 Error: not found: python2
  55.  
    gyp verb `which` failed at getNotFoundError (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:13:12)
  56.  
    gyp verb `which` failed at F (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:68:19)
  57.  
    gyp verb `which` failed at E (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:80:29)
  58.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:89:16
  59.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\index.js:42:5
  60.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\windows.js:36:5
  61.  
    gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21) {
  62.  
    gyp verb `which` failed code: 'ENOENT'
  63.  
    gyp verb `which` failed }
  64.  
    gyp verb check python checking for Python executable "python" in the PATH
  65.  
    gyp verb `which` failed Error: not found: python
  66.  
    gyp verb `which` failed at getNotFoundError (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:13:12)
  67.  
    gyp verb `which` failed at F (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:68:19)
  68.  
    gyp verb `which` failed at E (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:80:29)
  69.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:89:16
  70.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\index.js:42:5
  71.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\windows.js:36:5
  72.  
    gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21)
  73.  
    gyp verb `which` failed python Error: not found: python
  74.  
    gyp verb `which` failed at getNotFoundError (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:13:12)
  75.  
    gyp verb `which` failed at F (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:68:19)
  76.  
    gyp verb `which` failed at E (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:80:29)
  77.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:89:16
  78.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\index.js:42:5
  79.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\windows.js:36:5
  80.  
    gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21) {
  81.  
    gyp verb `which` failed code: 'ENOENT'
  82.  
    gyp verb `which` failed }
  83.  
    gyp verb could not find "python". checking python launcher
  84.  
    gyp verb could not find "python". guessing location
  85.  
    gyp verb ensuring that file exists: C:\Python27\python.exe
  86.  
    gyp ERR! configure error
  87.  
    gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
  88.  
    gyp ERR! stack at PythonFinder.failNoPython (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-gyp\lib\configure.js:484:19)
  89.  
    gyp ERR! stack at PythonFinder.<anonymous> (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-gyp\lib\configure.js:509:16)
  90.  
    gyp ERR! stack at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\graceful-fs\polyfills.js:284:29
  91.  
    gyp ERR! stack at FSReqCallback.oncomplete (node:fs:198:21)
  92.  
    gyp ERR! System Windows_NT 10.0.19042
  93.  
    gyp ERR! command "D:\\nodejs\\node.exe" "D:\\vuework\\data_diaplay\\work\\mall\\mall-admin-web\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
  94.  
    gyp ERR! cwd D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-sass
  95.  
    gyp ERR! node -v v16.13.2
  96.  
    gyp ERR! node-gyp -v v3.8.0
  97.  
    gyp ERR! not ok
  98.  
    Build failed with error code: 1
  99.  
    npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
  100.  
    npm WARN echarts-liquidfill@2.0.3 requires a peer of echarts@^4.1.0 but none is installed. You must install peer dependencies yourself.
  101.  
    npm WARN v-charts@1.19.0 requires a peer of echarts@>3.0.0 but none is installed. You must install peer dependencies yourself.
  102.  
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.3 (node_modules\fsevents):
  103.  
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
  104.  
     
  105.  
    npm ERR! code ELIFECYCLE
  106.  
    npm ERR! errno 1
  107.  
    npm ERR! node-sass@4.14.1 postinstall: `node scripts/build.js`
  108.  
    npm ERR! Exit status 1
  109.  
    npm ERR!
  110.  
    npm ERR! Failed at the node-sass@4.14.1 postinstall script.
  111.  
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  112.  
     
  113.  
    npm ERR! A complete log of this run can be found in:
  114.  
    npm ERR! D:\nodejs\node_global\_logs\2022-10-26T00_39_47_315Z-debug.log

npm install 还是报错

接着运行

node scripts/build.js

  1.  
    D:\vuework\data_diaplay\work\mall\mall-admin-web>node scripts/build.js
  2.  
    node:internal/modules/cjs/loader:936
  3.  
    throw err;
  4.  
    ^
  5.  
     
  6.  
    Error: Cannot find module 'D:\vuework\data_diaplay\work\mall\mall-admin-web\scripts\build.js'
  7.  
    [90m at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)[39m
  8.  
    [90m at Function.Module._load (node:internal/modules/cjs/loader:778:27)[39m
  9.  
    [90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)[39m
  10.  
    [90m at node:internal/main/run_main_module:17:47[39m {
  11.  
    code: [32m'MODULE_NOT_FOUND'[39m,
  12.  
    requireStack: []
  13.  
    }
  14.  
     
  15.  
    √ Installed 1 packages
  16.  
    √ Linked 219 latest versions D:\nodejs\node_global\node_modules\cnpm\bin\cnpm
  17.  
    [1/1] scripts.install node-sass@latest run "node scripts/install.js", root: "D:\\vuework\\data_diaplay\\work\\mall\\mall-admin-web\\node_modules\\_node-sass@7.0.3@node-sass" 24 packages from 27 contributors, removed 21 packages and updated 551 packages in 81.595s
  18.  
    Downloading binary from https://cdn.npmmirror.com/binaries/node-sass/v7.0.3/win32-x64-93_binding.node
  19.  
    Download completeiaplay\work\mall\mall-admin-web>cnpm install node-sass
  20.  
    Binary saved to D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_node-sass@7.0.3@node-sass\vendor\win32-x64-93\binding.node
  21.  
    Caching binary to C:\Users\dell\.npminstall_tarball\node-sass\7.0.3\win32-x64-93_binding.node
  22.  
    [1/1] scripts.install node-sass@latest finished in 2s
  23.  
    [1/1] scripts.postinstall node-sass@latest run "node scripts/build.js", root: "D:\\vuework\\data_diaplay\\work\\mall\\mall-admin-web\\node_modules\\_node-sass@7.0.3@node-sass"
  24.  
    Binary found at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_node-sass@7.0.3@node-sass\vendor\win32-x64-93\binding.node
  25.  
    Testing binary
  26.  
    Binary is fine
  27.  
    [1/1] scripts.postinstall node-sass@latest finished in 321ms
  28.  
    √ Run 1 scripts
  29.  
    deprecate node-sass@7.0.3 › request@^2.88.0 request has been deprecated, see https://github.com/request/request/issues/3142
  30.  
    deprecate node-sass@7.0.3 › request@2.88.2 › har-validator@~5.1.3 this library is no longer supported
  31.  
    deprecate node-sass@7.0.3 › request@2.88.2 › uuid@^3.3.2 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.
  32.  
    All packages installed (243 packages installed from npm registry, used 58s(network 42s), speed 75.18KB/s, json 56(384.17KB), tarball 2.69MB, manifests cache hit 163, etag hit 163 / miss 10)
  33.  
     

然后npm install +npm run dev项目运行成功

所有操作:

  1.  
    Microsoft Windows [版本 10.0.19042.1706]
  2.  
    (c) Microsoft Corporation。保留所有权利。
  3.  
     
  4.  
    C:\Windows\system32>cd c:\
  5.  
     
  6.  
    c:\>cd d:
  7.  
    D:\
  8.  
     
  9.  
    c:\>d:
  10.  
     
  11.  
    D:\>cd D:\vuework\data_diaplay\work\mall\mall-admin-web
  12.  
     
  13.  
    D:\vuework\data_diaplay\work\mall\mall-admin-web>npm i node-sass --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
  14.  
    npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
  15.  
    npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
  16.  
    npm WARN deprecated har-validator@5.1.5: this library is no longer supported
  17.  
    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.
  18.  
     
  19.  
    > node-sass@4.14.1 install D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-sass
  20.  
    > node scripts/install.js
  21.  
     
  22.  
    Downloading binary from https://npm.taobao.org/mirrors/node-sass//v4.14.1/win32-x64-93_binding.node
  23.  
    Cannot download "https://npm.taobao.org/mirrors/node-sass//v4.14.1/win32-x64-93_binding.node":
  24.  
     
  25.  
    HTTP error 404 Not Found
  26.  
     
  27.  
    Hint: If github.com is not accessible in your location
  28.  
    try setting a proxy via HTTP_PROXY, e.g.
  29.  
     
  30.  
    export HTTP_PROXY=http://example.com:1234
  31.  
     
  32.  
    or configure npm proxy via
  33.  
     
  34.  
    npm config set proxy http://example.com:8080
  35.  
     
  36.  
    > node-sass@4.14.1 postinstall D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-sass
  37.  
    > node scripts/build.js
  38.  
     
  39.  
    Building: D:\nodejs\node.exe D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
  40.  
    gyp info it worked if it ends with ok
  41.  
    gyp verb cli [
  42.  
    gyp verb cli 'D:\\nodejs\\node.exe',
  43.  
    gyp verb cli 'D:\\vuework\\data_diaplay\\work\\mall\\mall-admin-web\\node_modules\\node-gyp\\bin\\node-gyp.js',
  44.  
    gyp verb cli 'rebuild',
  45.  
    gyp verb cli '--verbose',
  46.  
    gyp verb cli '--libsass_ext=',
  47.  
    gyp verb cli '--libsass_cflags=',
  48.  
    gyp verb cli '--libsass_ldflags=',
  49.  
    gyp verb cli '--libsass_library='
  50.  
    gyp verb cli ]
  51.  
    gyp info using node-gyp@3.8.0
  52.  
    gyp info using node@16.13.2 | win32 | x64
  53.  
    gyp verb command rebuild []
  54.  
    gyp verb command clean []
  55.  
    gyp verb clean removing "build" directory
  56.  
    gyp verb command configure []
  57.  
    gyp verb check python checking for Python executable "python2" in the PATH
  58.  
    gyp verb `which` failed Error: not found: python2
  59.  
    gyp verb `which` failed at getNotFoundError (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:13:12)
  60.  
    gyp verb `which` failed at F (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:68:19)
  61.  
    gyp verb `which` failed at E (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:80:29)
  62.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:89:16
  63.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\index.js:42:5
  64.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\windows.js:36:5
  65.  
    gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21)
  66.  
    gyp verb `which` failed python2 Error: not found: python2
  67.  
    gyp verb `which` failed at getNotFoundError (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:13:12)
  68.  
    gyp verb `which` failed at F (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:68:19)
  69.  
    gyp verb `which` failed at E (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:80:29)
  70.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:89:16
  71.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\index.js:42:5
  72.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\windows.js:36:5
  73.  
    gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21) {
  74.  
    gyp verb `which` failed code: 'ENOENT'
  75.  
    gyp verb `which` failed }
  76.  
    gyp verb check python checking for Python executable "python" in the PATH
  77.  
    gyp verb `which` failed Error: not found: python
  78.  
    gyp verb `which` failed at getNotFoundError (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:13:12)
  79.  
    gyp verb `which` failed at F (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:68:19)
  80.  
    gyp verb `which` failed at E (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:80:29)
  81.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:89:16
  82.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\index.js:42:5
  83.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\windows.js:36:5
  84.  
    gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21)
  85.  
    gyp verb `which` failed python Error: not found: python
  86.  
    gyp verb `which` failed at getNotFoundError (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:13:12)
  87.  
    gyp verb `which` failed at F (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:68:19)
  88.  
    gyp verb `which` failed at E (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:80:29)
  89.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:89:16
  90.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\index.js:42:5
  91.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\windows.js:36:5
  92.  
    gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21) {
  93.  
    gyp verb `which` failed code: 'ENOENT'
  94.  
    gyp verb `which` failed }
  95.  
    gyp verb could not find "python". checking python launcher
  96.  
    gyp verb could not find "python". guessing location
  97.  
    gyp verb ensuring that file exists: C:\Python27\python.exe
  98.  
    gyp ERR! configure error
  99.  
    gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
  100.  
    gyp ERR! stack at PythonFinder.failNoPython (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-gyp\lib\configure.js:484:19)
  101.  
    gyp ERR! stack at PythonFinder.<anonymous> (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-gyp\lib\configure.js:509:16)
  102.  
    gyp ERR! stack at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\graceful-fs\polyfills.js:284:29
  103.  
    gyp ERR! stack at FSReqCallback.oncomplete (node:fs:198:21)
  104.  
    gyp ERR! System Windows_NT 10.0.19042
  105.  
    gyp ERR! command "D:\\nodejs\\node.exe" "D:\\vuework\\data_diaplay\\work\\mall\\mall-admin-web\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
  106.  
    gyp ERR! cwd D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-sass
  107.  
    gyp ERR! node -v v16.13.2
  108.  
    gyp ERR! node-gyp -v v3.8.0
  109.  
    gyp ERR! not ok
  110.  
    Build failed with error code: 1
  111.  
    npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
  112.  
    npm WARN echarts-liquidfill@2.0.3 requires a peer of echarts@^4.1.0 but none is installed. You must install peer dependencies yourself.
  113.  
    npm WARN v-charts@1.19.0 requires a peer of echarts@>3.0.0 but none is installed. You must install peer dependencies yourself.
  114.  
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.3 (node_modules\fsevents):
  115.  
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
  116.  
     
  117.  
    npm ERR! code ELIFECYCLE
  118.  
    npm ERR! errno 1
  119.  
    npm ERR! node-sass@4.14.1 postinstall: `node scripts/build.js`
  120.  
    npm ERR! Exit status 1
  121.  
    npm ERR!
  122.  
    npm ERR! Failed at the node-sass@4.14.1 postinstall script.
  123.  
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  124.  
     
  125.  
    npm ERR! A complete log of this run can be found in:
  126.  
    npm ERR! D:\nodejs\node_global\_logs\2022-10-26T00_39_47_315Z-debug.log
  127.  
     
  128.  
    D:\vuework\data_diaplay\work\mall\mall-admin-web>npm install
  129.  
     
  130.  
    > node-sass@4.13.0 install D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-sass
  131.  
    > node scripts/install.js
  132.  
     
  133.  
    Downloading binary from https://npm.taobao.org/mirrors/node-sass/v4.13.0/win32-x64-93_binding.node
  134.  
    Cannot download "https://npm.taobao.org/mirrors/node-sass/v4.13.0/win32-x64-93_binding.node":
  135.  
     
  136.  
    HTTP error 404 Not Found
  137.  
     
  138.  
    Hint: If github.com is not accessible in your location
  139.  
    try setting a proxy via HTTP_PROXY, e.g.
  140.  
     
  141.  
    export HTTP_PROXY=http://example.com:1234
  142.  
     
  143.  
    or configure npm proxy via
  144.  
     
  145.  
    npm config set proxy http://example.com:8080
  146.  
     
  147.  
    > node-sass@4.13.0 postinstall D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-sass
  148.  
    > node scripts/build.js
  149.  
     
  150.  
    Building: D:\nodejs\node.exe D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
  151.  
    gyp info it worked if it ends with ok
  152.  
    gyp verb cli [
  153.  
    gyp verb cli 'D:\\nodejs\\node.exe',
  154.  
    gyp verb cli 'D:\\vuework\\data_diaplay\\work\\mall\\mall-admin-web\\node_modules\\node-gyp\\bin\\node-gyp.js',
  155.  
    gyp verb cli 'rebuild',
  156.  
    gyp verb cli '--verbose',
  157.  
    gyp verb cli '--libsass_ext=',
  158.  
    gyp verb cli '--libsass_cflags=',
  159.  
    gyp verb cli '--libsass_ldflags=',
  160.  
    gyp verb cli '--libsass_library='
  161.  
    gyp verb cli ]
  162.  
    gyp info using node-gyp@3.8.0
  163.  
    gyp info using node@16.13.2 | win32 | x64
  164.  
    gyp verb command rebuild []
  165.  
    gyp verb command clean []
  166.  
    gyp verb clean removing "build" directory
  167.  
    gyp verb command configure []
  168.  
    gyp verb check python checking for Python executable "python2" in the PATH
  169.  
    gyp verb `which` failed Error: not found: python2
  170.  
    gyp verb `which` failed at getNotFoundError (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:13:12)
  171.  
    gyp verb `which` failed at F (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:68:19)
  172.  
    gyp verb `which` failed at E (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:80:29)
  173.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:89:16
  174.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\index.js:42:5
  175.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\windows.js:36:5
  176.  
    gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21)
  177.  
    gyp verb `which` failed python2 Error: not found: python2
  178.  
    gyp verb `which` failed at getNotFoundError (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:13:12)
  179.  
    gyp verb `which` failed at F (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:68:19)
  180.  
    gyp verb `which` failed at E (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:80:29)
  181.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:89:16
  182.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\index.js:42:5
  183.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\windows.js:36:5
  184.  
    gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21) {
  185.  
    gyp verb `which` failed code: 'ENOENT'
  186.  
    gyp verb `which` failed }
  187.  
    gyp verb check python checking for Python executable "python" in the PATH
  188.  
    gyp verb `which` failed Error: not found: python
  189.  
    gyp verb `which` failed at getNotFoundError (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:13:12)
  190.  
    gyp verb `which` failed at F (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:68:19)
  191.  
    gyp verb `which` failed at E (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:80:29)
  192.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:89:16
  193.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\index.js:42:5
  194.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\windows.js:36:5
  195.  
    gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21)
  196.  
    gyp verb `which` failed python Error: not found: python
  197.  
    gyp verb `which` failed at getNotFoundError (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:13:12)
  198.  
    gyp verb `which` failed at F (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:68:19)
  199.  
    gyp verb `which` failed at E (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:80:29)
  200.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\which\which.js:89:16
  201.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\index.js:42:5
  202.  
    gyp verb `which` failed at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\isexe\windows.js:36:5
  203.  
    gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:198:21) {
  204.  
    gyp verb `which` failed code: 'ENOENT'
  205.  
    gyp verb `which` failed }
  206.  
    gyp verb could not find "python". checking python launcher
  207.  
    gyp verb could not find "python". guessing location
  208.  
    gyp verb ensuring that file exists: C:\Python27\python.exe
  209.  
    gyp ERR! configure error
  210.  
    gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
  211.  
    gyp ERR! stack at PythonFinder.failNoPython (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-gyp\lib\configure.js:484:19)
  212.  
    gyp ERR! stack at PythonFinder.<anonymous> (D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-gyp\lib\configure.js:509:16)
  213.  
    gyp ERR! stack at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\graceful-fs\polyfills.js:284:29
  214.  
    gyp ERR! stack at FSReqCallback.oncomplete (node:fs:198:21)
  215.  
    gyp ERR! System Windows_NT 10.0.19042
  216.  
    gyp ERR! command "D:\\nodejs\\node.exe" "D:\\vuework\\data_diaplay\\work\\mall\\mall-admin-web\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
  217.  
    gyp ERR! cwd D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-sass
  218.  
    gyp ERR! node -v v16.13.2
  219.  
    gyp ERR! node-gyp -v v3.8.0
  220.  
    gyp ERR! not ok
  221.  
    Build failed with error code: 1
  222.  
    npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
  223.  
    npm WARN echarts-liquidfill@2.0.3 requires a peer of echarts@^4.1.0 but none is installed. You must install peer dependencies yourself.
  224.  
    npm WARN v-charts@1.19.0 requires a peer of echarts@>3.0.0 but none is installed. You must install peer dependencies yourself.
  225.  
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.3 (node_modules\fsevents):
  226.  
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
  227.  
     
  228.  
    npm ERR! code ELIFECYCLE
  229.  
    npm ERR! errno 1
  230.  
    npm ERR! node-sass@4.13.0 postinstall: `node scripts/build.js`
  231.  
    npm ERR! Exit status 1
  232.  
    npm ERR!
  233.  
    npm ERR! Failed at the node-sass@4.13.0 postinstall script.
  234.  
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  235.  
     
  236.  
    npm ERR! A complete log of this run can be found in:
  237.  
    npm ERR! D:\nodejs\node_global\_logs\2022-10-26T00_43_12_109Z-debug.log
  238.  
     
  239.  
    D:\vuework\data_diaplay\work\mall\mall-admin-web>node scripts/build.js
  240.  
    node:internal/modules/cjs/loader:936
  241.  
    throw err;
  242.  
    ^
  243.  
     
  244.  
    Error: Cannot find module 'D:\vuework\data_diaplay\work\mall\mall-admin-web\scripts\build.js'
  245.  
    [90m at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)[39m
  246.  
    [90m at Function.Module._load (node:internal/modules/cjs/loader:778:27)[39m
  247.  
    [90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)[39m
  248.  
    [90m at node:internal/main/run_main_module:17:47[39m {
  249.  
    code: [32m'MODULE_NOT_FOUND'[39m,
  250.  
    requireStack: []
  251.  
    }
  252.  
     
  253.  
    √ Installed 1 packages
  254.  
    √ Linked 219 latest versions D:\nodejs\node_global\node_modules\cnpm\bin\cnpm
  255.  
    [1/1] scripts.install node-sass@latest run "node scripts/install.js", root: "D:\\vuework\\data_diaplay\\work\\mall\\mall-admin-web\\node_modules\\_node-sass@7.0.3@node-sass" 24 packages from 27 contributors, removed 21 packages and updated 551 packages in 81.595s
  256.  
    Downloading binary from https://cdn.npmmirror.com/binaries/node-sass/v7.0.3/win32-x64-93_binding.node
  257.  
    Download completeiaplay\work\mall\mall-admin-web>cnpm install node-sass
  258.  
    Binary saved to D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_node-sass@7.0.3@node-sass\vendor\win32-x64-93\binding.node
  259.  
    Caching binary to C:\Users\dell\.npminstall_tarball\node-sass\7.0.3\win32-x64-93_binding.node
  260.  
    [1/1] scripts.install node-sass@latest finished in 2s
  261.  
    [1/1] scripts.postinstall node-sass@latest run "node scripts/build.js", root: "D:\\vuework\\data_diaplay\\work\\mall\\mall-admin-web\\node_modules\\_node-sass@7.0.3@node-sass"
  262.  
    Binary found at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_node-sass@7.0.3@node-sass\vendor\win32-x64-93\binding.node
  263.  
    Testing binary
  264.  
    Binary is fine
  265.  
    [1/1] scripts.postinstall node-sass@latest finished in 321ms
  266.  
    √ Run 1 scripts
  267.  
    deprecate node-sass@7.0.3 › request@^2.88.0 request has been deprecated, see https://github.com/request/request/issues/3142
  268.  
    deprecate node-sass@7.0.3 › request@2.88.2 › har-validator@~5.1.3 this library is no longer supported
  269.  
    deprecate node-sass@7.0.3 › request@2.88.2 › uuid@^3.3.2 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.
  270.  
    All packages installed (243 packages installed from npm registry, used 58s(network 42s), speed 75.18KB/s, json 56(384.17KB), tarball 2.69MB, manifests cache hit 163, etag hit 163 / miss 10)
  271.  
     
  272.  
    D:\vuework\data_diaplay\work\mall\mall-admin-web>npm install
  273.  
    npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
  274.  
    npm WARN deprecated har-validator@5.1.5: this library is no longer supported
  275.  
    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.
  276.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\uuid.ps1 as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_uuid@3.4.0@uuid
  277.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\uuid.cmd as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_uuid@3.4.0@uuid
  278.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\uuid as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_uuid@3.4.0@uuid
  279.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\sshpk-conv.ps1 as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_sshpk@1.17.0@sshpk
  280.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\sshpk-sign.ps1 as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_sshpk@1.17.0@sshpk
  281.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\sshpk-verify.ps1 as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_sshpk@1.17.0@sshpk
  282.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\sshpk-conv.cmd as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_sshpk@1.17.0@sshpk
  283.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\sshpk-sign.cmd as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_sshpk@1.17.0@sshpk
  284.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\sshpk-verify.cmd as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_sshpk@1.17.0@sshpk
  285.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\sshpk-sign as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_sshpk@1.17.0@sshpk
  286.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\sshpk-conv as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_sshpk@1.17.0@sshpk
  287.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\sshpk-verify as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_sshpk@1.17.0@sshpk
  288.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\semver.ps1 as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_semver@7.3.8@semver
  289.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\semver.cmd as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_semver@7.3.8@semver
  290.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\semver as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_semver@7.3.8@semver
  291.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\semver.ps1 as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_semver@5.7.1@semver
  292.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\semver.cmd as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_semver@5.7.1@semver
  293.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\semver as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_semver@5.7.1@semver
  294.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\sassgraph.ps1 as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_sass-graph@4.0.1@sass-graph
  295.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\sassgraph.cmd as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_sass-graph@4.0.1@sass-graph
  296.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\sassgraph as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_sass-graph@4.0.1@sass-graph
  297.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\rimraf.ps1 as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_rimraf@3.0.2@rimraf
  298.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\rimraf.cmd as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_rimraf@3.0.2@rimraf
  299.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\rimraf as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_rimraf@3.0.2@rimraf
  300.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\nopt.ps1 as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_nopt@5.0.0@nopt
  301.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\nopt.cmd as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_nopt@5.0.0@nopt
  302.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\nopt as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_nopt@5.0.0@nopt
  303.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\node-gyp.ps1 as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_node-gyp@8.4.1@node-gyp
  304.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\node-gyp.cmd as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_node-gyp@8.4.1@node-gyp
  305.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\node-gyp as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_node-gyp@8.4.1@node-gyp
  306.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\mkdirp.ps1 as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_mkdirp@1.0.4@mkdirp
  307.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\mkdirp.cmd as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_mkdirp@1.0.4@mkdirp
  308.  
    npm WARN rm not removing D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\.bin\mkdirp as it wasn't installed by D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\_mkdirp@1.0.4@mkdirp
  309.  
     
  310.  
    > node-sass@7.0.3 install D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-sass
  311.  
    > node scripts/install.js
  312.  
     
  313.  
    Cached binary found at D:\nodejs\node_global\node-sass\7.0.3\win32-x64-93_binding.node
  314.  
     
  315.  
    > node-sass@7.0.3 postinstall D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-sass
  316.  
    > node scripts/build.js
  317.  
     
  318.  
    Binary found at D:\vuework\data_diaplay\work\mall\mall-admin-web\node_modules\node-sass\vendor\win32-x64-93\binding.node
  319.  
    Testing binary
  320.  
    Binary is fine
  321.  
    npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
  322.  
    npm WARN echarts-liquidfill@2.0.3 requires a peer of echarts@^4.1.0 but none is installed. You must install peer dependencies yourself.
  323.  
    npm WARN v-charts@1.19.0 requires a peer of echarts@>3.0.0 but none is installed. You must install peer dependencies yourself.
  324.  
    npm WARN The package node-sass is included as both a dev and production dependency.
  325.  
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.3 (node_modules\fsevents):
  326.  
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
  327.  
     
  328.  
    added 81 packages from 20 contributors, removed 1006 packages and updated 153 packages in 41.721s
  329.  
     
  330.  
    17 packages are looking for funding
  331.  
    run `npm fund` for details
  332.  
     
  333.  
     
  334.  
    D:\vuework\data_diaplay\work\mall\mall-admin-web>npm run dev
  335.  
     
  336.  
    > mall-admin-web@1.0.0 dev D:\vuework\data_diaplay\work\mall\mall-admin-web
  337.  
    > webpack-dev-server --inline --progress --config build/webpack.dev.conf.js
  338.  
     
  339.  
    (node:1580) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
  340.  
    (Use `node --trace-deprecation ...` to show where the warning was created)
  341.  
    95% emitting
  342.  
     
  343.  
    DONE Compiled successfully in 14574ms 上午8:53:28
  344.  
    I Your application is running here: http://localhost:8090

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /boutique/detail/tanhgagbba
系列文章
更多 icon
同类精品
更多 icon
继续加载