前端页面提示saas错误

提问 3 1497
版本:renren-fast 最新 开发环境:idea windows
开发的时候,前端页面提示saas错误。 [pre] “C:\Users\Administrator\Desktop\renren-fast-vue1\node_modules\node-sass\build\binding.sln”(默认目标) (1) -> “C:\Users\Administrator\Desktop\renren-fast-vue1\node_modules\node-sass\build\binding.vcxproj.metaproj”(默认目标) (2) -> “C:\Users\Administrator\Desktop\renren-fast-vue1\node_modules\node-sass\build\binding.vcxproj”(默认目标) (4) -> (ClCompile 目标) -> c:\users\administrator\desktop\renren-fast-vue1\node_modules\node-sass\src\create_string.cpp(17): error C2664: “v8::String::Utf8Value::Utf8Value (const v8::String::Utf8Value &)”: 无法将参数 1 从“v8::Local<v8::Value>”转换为“const v8::String::Utf8Value &” [C:\Users\Administrator\Desktop\r enren-fast-vu e1\node_modules\node-sass\build\binding.vcxproj] 8 个警告 1 个错误 已用时间 00:01:18.43 gyp ERR! build error gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Users\Administrator\Desktop\renren-fast-vue1\node_modules\node-gyp\lib\build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:310:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Administrator\\Desktop\\renren-fast-vue1\\node_modules\\node-gyp\\bin\\node-gyp. js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" gyp ERR! cwd C:\Users\Administrator\Desktop\renren-fast-vue1\node_modules\node-sass gyp ERR! node -v v12.16.3 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok Build failed with error code: 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32", "arch":"x64"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-sass@4.9.0 postinstall: `node scripts/build.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-sass@4.9.0 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\2020-05-27T09_41_33_468Z-debug.log Process finished with exit code 1 [/pre] img[//cdn.renren.io/59fee20200527180318864.png]
回帖
  • 开源版,需要使用node8.x
    0 回复
  • melovemingming
    2020-05-28
    @Mark [pre] Error: read ECONNRESET at _errnoException (util.js:1022:11) at TLSWrap.onread (net.js:615:25) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fse vents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@ 1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"} ) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! chromedriver@2.27.2 install: `node install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the chromedriver@2.27.2 install script. npm ERR! This is probably not a problem with npm. There is likely additional log ging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2020-05-28T0 3_46_18_983Z-debug.log [/pre]
    0 回复
  • melovemingming
    2020-05-28
    @Mark 还有错误,,本地依然失败。
    0 回复