当前位置:网站首页>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 .
边栏推荐
- Prescan quick start to master Lesson 19: prescan actuator configuration, track synchronization and non configuration of multiple tracks
- Cloud native guide: what is cloud native infrastructure
- Successfully solved typeerror: a bytes like object is required, not 'str‘
- Link list of sword finger offer question bank summary (III) (C language version)
- 10.< tag-动态规划和子序列, 子数组>lt.53. 最大子数组和 + lt.392. 判断子序列 dbc
- Network protocol: TCP part2
- Aircraft PID control (rotor flight control)
- 9.< tag-动态规划和子序列, 子数组>lt.718. 最长重复子数组 + lt.1143. 最长公共子序列
- Docker builds redis cluster
- Remote monitoring solution of intelligent electronic boundary stake Nature Reserve
猜你喜欢
![[onnx] export pytorch model to onnx format: support multi parameter and dynamic input](/img/bd/e9a1d3a2c9343b75dbae5c7e18a87b.png)
[onnx] export pytorch model to onnx format: support multi parameter and dynamic input

PreScan快速入门到精通第十八讲之PreScan轨迹编辑的特殊功能

【高等数学】【8】微分方程
![[cloud native | learn kubernetes from scratch] VIII. Namespace resource quotas and labels](/img/7e/2bdead512ba5bf5ccd0830b0f9b0f2.png)
[cloud native | learn kubernetes from scratch] VIII. Namespace resource quotas and labels

PMP每日一练 | 考试不迷路-7.25
![[advanced mathematics] [1] function, limit, continuity](/img/c5/f9fd3814a61d0fba24b37253c7e51c.png)
[advanced mathematics] [1] function, limit, continuity
![[advanced mathematics] [5] definite integral and its application](/img/b2/62748b7533982f2b864148e0857490.png)
[advanced mathematics] [5] definite integral and its application

Do you still have certificates to participate in the open source community?

Prescan quick start to master Lesson 19: prescan actuator configuration, track synchronization and non configuration of multiple tracks
![[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
随机推荐
Aircraft PID control (rotor flight control)
Why did I choose to become a network engineer after graduating from weak current for 3 months
[today in history] July 7: release of C; Chrome OS came out; "Legend of swordsman" issued
【云原生 | 从零开始学Kubernetes】八、命名空间资源配额以及标签
[today in history] July 19: the father of IMAP agreement was born; Project kotlin made a public appearance; New breakthroughs in CT imaging
[today in history] July 15: Mozilla foundation was officially established; The first operation of Enigma cipher machine; Nintendo launches FC game console
智能电子界桩自然保护区远程监控解决方案
Kubernetes进阶部分学习笔记
CarSim仿真快速入门(十四)—CarSim-Simulink联合仿真
"Share" devaxpress asp Net v22.1 latest version system environment configuration requirements
移动web布局方法
JS作用域与作用域链
Stock software development
[advanced mathematics] [4] indefinite integral
Prescan quick start to master Lesson 19: prescan actuator configuration, track synchronization and non configuration of multiple tracks
Notes - record a cannotfinddatasourceexception: dynamic datasource can not find primary datasource problem solving
Chapter VI modified specification (SPEC) class
10. < tag dynamic programming and subsequence, subarray> lt.53. maximum subarray and + lt.392. Judge subsequence DBC
Formatdatetime explanation [easy to understand]
wallys//wifi6 wifi5 router IPQ6018 IPQ4019 IPQ4029 802.11ax 802.11ac