Mini Program's WEPY framework installation, the problem of incompatibility with win32?

wepy, is successfully installed in the linux virtual machine, but its compilation function is a bit rib, so he has to re-build, every time, so he wants to install wepy, on the win host and execute yarn global add wepy-cli , prompt

.
yarn global v1.5.1                                                                                                   
[1/4] Resolving packages...                                                                                          
[2/4] Fetching packages...                                                                                           
info fsevents@1.2.4: The platform "win32" is incompatible with this module.                                          
info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation.      
[3/4] Linking dependencies...                                                                                        
[4/4] Building fresh packages...                                                                                     
success Installed "wepy-cli@1.7.2" with binaries:                                                                    
      - wepy                                                                                                         
Done in 4.53s.    

that is, not compatible with win32,. My system is the flagship version of win7 64-bit.

Mar.16,2021

I would like to digress from this point. If Mini Program chooses to use the framework, I suggest using Meituan's mpvue , wepy and mpvue . mpvue is easier to use, especially the design in the life cycle is absolutely up to the industry standard. wepy can be developed in the style of vue at the code level, but because its update mechanism is dirty checking, it will result in a lot of $apply () (similar to ng1) in the code, while mpvue is a responsive update based on vue .

The warning in

does not seem to say that wepy is not compatible, but that its dependency packages are not compatible.


github search tencent/wepy according to the inside boot, use NPM to install. Cannot use yarn

Menu