问题
enter image description here
Phonegap desktop not launching properly stuck and keeps loading using version 0.4.5
回答1:
I faced the same issue and I solved by installed the older version like 0.3.1 and it runs without any issue. It will populate to update v0.4.5 but don't update it will produce same issue.
Download the older version from this link here. This is the version I tried 0.3.1.
After install the older version, it will appear like this.
If you find any working solution for v0.4.5 please share your solution here.
回答2:
Apparently Adobe has stopped supporting Phonegap, and seemingly starting to pull the plug on the entire thing.
Per The Adobe forum
PhoneGap Build is in maintenance mode, no further active work is being done by Adobe.
There may be ways to get it working, but it's questionable, at what point will the entire Build platform be taken down? Probably best to turn away from Phonegap entirely and rely on the Cordova CLI.
回答3:
I had the same issue, just now! I resolved it in this way.
Install the desktop app using the win32 binary (0.4.5 beta)
Downloaded the Node.js version 6 x86 zip (https://nodejs.org/dist/latest-v6.x/node-v6.17.1-win-x86.zip)
In the zip file, go to node_modules folder, extract the NPM folder, and zip the NPM folder into NPM.zip
Navigate to the 'C:\Program Files (x86)\Adobe\PhoneGap\PhoneGap Desktop\resources\app.asar.unpacked\bin' folder, and replaced NPM.zip with the one I created.
Opened cmd, navigated to the same folder, and ran postInstall.bat
This is what it looks like, it has errors. But the end of it says Download complete!
CMD screenshot:
I then run the Phonegap Desktop and it works. No more stuck in loading screen.
来源:https://stackoverflow.com/questions/59684557/phonegap-desktop-not-launching-properly-stuck-and-keeps-loading