-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
环境配置失败 #39
Comments
可能装依赖的时候需要visual studio,我自己是原来就装了vs,所以没试过没装vs下的情况 我的环境: |
我的环境同上, |
问题是我也有vs啊 |
我是node v17.1.0 |
node-gyp和node 17确实有兼容性问题,和electron ffi-napi的兼容性问题还未解决。所以我们降级成node16了 |
淦 但是我自己还有项目啊 完全不想降级啊 |
考虑使用一下虚拟环境,可能有帮助( |
有没有可能 node 也有版本管理工具 |
在 |
我本地的环境已经修过一次了 不修的话输npm、node、yarn都识别不出来是命令 |
用了 然后我wsl环境也寄了 |
如题 折腾了挺长时间 结果就这样了……
PS E:\MaaAsstElectronUI> yarn
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed in 0s 373ms
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 5s 518ms
➤ YN0000: ┌ Link step
➤ YN0007: │ electron@npm:17.1.2 must be built because it never has been before or the last one failed
➤ YN0007: │ ref-napi@npm:3.0.3 must be built because it never has been before or the last one failed
➤ YN0007: │ @seorii/win32-displayconfig@npm:0.1.1 must be built because it never has been before or the last one failed
➤ YN0007: │ esbuild@npm:0.14.27 must be built because it never has been before or the last one failed
➤ YN0007: │ vue-demi@npm:0.12.4 [4f0a8] must be built because it never has been before or the last one failed
➤ YN0007: │ es5-ext@npm:0.10.59 must be built because it never has been before or the last one failed
➤ YN0009: │ es5-ext@npm:0.10.59 couldn't be built successfully (exit code 1, logs can be found here: C:\Users\yltx\AppData\Local\Temp\xfs-3aa34e92\build.log)
➤ YN0009: │ electron@npm:17.1.2 couldn't be built successfully (exit code 1, logs can be found here: C:\Users\yltx\AppData\Local\Temp\xfs-1d9e7e59\build.log)
➤ YN0009: │ esbuild@npm:0.14.27 couldn't be built successfully (exit code 1, logs can be found here: C:\Users\yltx\AppData\Local\Temp\xfs-f40c5451\build.log)
➤ YN0009: │ ref-napi@npm:3.0.3 couldn't be built successfully (exit code 1, logs can be found here: C:\Users\yltx\AppData\Local\Temp\xfs-1a17aedd\build.log)
➤ YN0009: │ vue-demi@npm:0.12.4 [4f0a8] couldn't be built successfully (exit code 1, logs can be found here: C:\Users\yltx\AppData\Local\Temp\xfs-864ba569\build.log)
➤ YN0009: │ @seorii/win32-displayconfig@npm:0.1.1 couldn't be built successfully (exit code 1, logs can be found here: C:\Users\yltx\AppData\Local\Temp\xfs-c677d184\build.log)
➤ YN0007: │ electron-acrylic-window@npm:0.5.11 must be built because it never has been before or the last one failed
➤ YN0007: │ ffi-napi@npm:4.0.3 must be built because it never has been before or the last one failed
➤ YN0009: │ electron-acrylic-window@npm:0.5.11 couldn't be built successfully (exit code 1, logs can be found here: C:\Users\yltx\AppData\Local\Temp\xfs-166c50b5\build.log)
➤ YN0009: │ ffi-napi@npm:4.0.3 couldn't be built successfully (exit code 1, logs can be found here: C:\Users\yltx\AppData\Local\Temp\xfs-c322350b\build.log)
➤ YN0000: └ Completed in 15s 467ms
➤ YN0000: Failed with errors in 21s 523ms
The text was updated successfully, but these errors were encountered: