当前位置:网站首页>The uniapp project starts with an error binding Node is not a valid Win32 Application ultimate solution
The uniapp project starts with an error binding Node is not a valid Win32 Application ultimate solution
2022-07-25 20:23:00 【Jiuyuan JY_ naru】
Preconditions for problems :
read uniapp A tutorial on the official website , Use in the quick start stage hbuildx When building the project , Failed to start uniapp project .
There are many answers to this question on the Internet , But most of them are not clear .
I found some code replication errors casually on the Internet :
[ compile scss/sass] 15:48:25.231 Error: \\?\G:\HBuilderX\plugins\compile-node-sass\node_modules\node-sass-china\vendor\win32-x64-64\binding.node is not a valid Win32 application.
[ compile scss/sass] 15:48:25.231 \\?\G:\HBuilderX\plugins\compile-node-sass\node_modules\node-sass-china\vendor\win32-x64-64\binding.node
Careful observation shows that In fact, the path that appears twice is the same , Let's go directly to locate this place , It's going to be like this :
A group called win32 x64 -**( Subsequent figures may be 72 It could be 64) There is a... Under the folder of binding.node file .
There are some tutorials on the Internet that give the treatment method is :
Use this command :
node -p "[process.platform, process.arch, process.versions.modules].join('-')"
Conduct binding.node Check the version and then replace the version of the file .
Be careful !! Use this command to check binding.node Is the global version , It doesn't have to be uniapp Required version !! If you cover this directly, it will affect other projects , Because it is global binding , It's not us uniapp Of .
Download according to the version number of this instruction github Upper binding It's a mistake !
What version are you going to download binding Well ?
The right solution :
Go to github Download the corresponding folder name version binding.node And overwrite the binding.node that will do .
This processing method is correct .
Such as : I am now win32 x64 -72 Under folder binding File error , Then I'm going to github Upload and download win32 x64 -72 Version of binding.node Overwrite the file .
After this coverage ,uniapp You can start it successfully .
边栏推荐
- 【ONNX】pytorch模型导出成ONNX格式:支持多参数与动态输入
- How to ensure the quality of customized slip rings
- Remote monitoring solution of intelligent electronic boundary stake Nature Reserve
- Increase swap space
- [today in history] July 4: the first e-book came out; The inventor of magnetic stripe card was born; Palm computer pioneer was born
- [today in history] June 29: SGI and MIPS merged; Microsoft acquires PowerPoint developer; News corporation sells MySpace
- [today in history] June 30: von Neumann published the first draft; The semiconductor war in the late 1990s; CBS acquires CNET
- Recommended books | essentials of industrial digital transformation: methods and Practice
- Jmeter——接口测试
- “链”接无限可能:数字资产链,精彩马上来!
猜你喜欢

Docker builds redis cluster
![[advanced mathematics] [8] differential equation](/img/83/b6b07540e3cf6d6433e57447d42ee9.png)
[advanced mathematics] [8] differential equation
![[today in history] July 5: the mother of Google was born; Two Turing Award pioneers born on the same day](/img/7d/7a01c8c6923077d6c201bf1ae02c8c.png)
[today in history] July 5: the mother of Google was born; Two Turing Award pioneers born on the same day

【NOI模拟赛】字符串匹配(后缀自动机SAM,莫队,分块)

wallys//IPQ5018/IPQ6010/PD-60 802.3AT Input Output 10/100/1000M

4. Server startup of source code analysis of Nacos configuration center

Clickhouse notes 02 -- installation test clickvisual
![[today in history] July 3: ergonomic standards act; The birth of pioneers in the field of consumer electronics; Ubisoft releases uplay](/img/18/b06e2e5a2f76dc2da1c2374b8424b3.png)
[today in history] July 3: ergonomic standards act; The birth of pioneers in the field of consumer electronics; Ubisoft releases uplay

Application of conductive slip ring in mechanical equipment
![[today in history] July 13: the father of database passed away; Apple buys cups code; IBM chip Alliance](/img/2d/c23a367c9e8e2806ffd5384de273d2.png)
[today in history] July 13: the father of database passed away; Apple buys cups code; IBM chip Alliance
随机推荐
Export and call of onnx file of pytorch model
[noi simulation] string matching (suffix automata Sam, Mo team, block)
火山引擎项亮:机器学习与智能推荐平台多云部署解决方案正式发布
Recommended books | essentials of industrial digital transformation: methods and Practice
DIY个人服务器(diy存储服务器)
wallys//wifi6 wifi5 router IPQ6018 IPQ4019 IPQ4029 802.11ax 802.11ac
Myormframeworkjdbc review and problem analysis of user-defined persistence layer framework, and thought analysis of user-defined persistence layer framework
【高等数学】【5】定积分及应用
Successfully solved typeerror: a bytes like object is required, not 'str‘
9.< tag-动态规划和子序列, 子数组>lt.718. 最长重复子数组 + lt.1143. 最长公共子序列
[today in history] July 7: release of C; Chrome OS came out; "Legend of swordsman" issued
每条你收藏的资讯背后,都离不开TA
如何保证定制滑环质量
CarSim simulation quick start (XIV) - CarSim Simulink joint simulation
Remote monitoring solution of intelligent electronic boundary stake Nature Reserve
tga文件格式(波形声音文件格式)
Link list of sword finger offer question bank summary (III) (C language version)
分享 25 个有用的 JS 单行代码
MySQL date [plus sign / +] condition filtering problem
Recommendations on how to install plug-ins and baby plug-ins in idea