桌面无法正常启动 [英] Desktop not launching properly

查看:94
本文介绍了桌面无法正常启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Phonegap桌面无法正常启动.它被卡住并继续加载.我正在使用0.4.5版.

解决方案

我刚才遇到了同样的问题!我在方式.

  1. 使用Win32二进制文件(0.4.5 Beta)安装桌面应用程序

  2. 下载了Node.js版本6 x86 zip( https://nodejs.org/dist/latest-v6.x/node-v6.17.1-win-x86.zip )

  3. 在zip文件中,转到node_modules文件夹,解压缩NPM文件夹,然后将NPM文件夹压缩到NPM.zip

  4. 导航到"C:\ Program Files(x86)\ Adob​​e \ PhoneGap \ PhoneGap Desktop \ resources \ app.asar.unpacked \ bin"文件夹,并将NPM.zip替换为我创建的文件夹. /p>

  5. 打开cmd,导航到同一文件夹,然后运行postInstall.bat

这是它的样子,它有错误.但最后显示下载完成!"

CMD屏幕截图:

然后我运行Phonegap Desktop,它可以工作.不再卡在加载屏幕中.

Phonegap desktop not is launching properly. It is stuck and keeps loading. I am using version 0.4.5.

解决方案

I had the same issue, just now! I resolved it in this way.

  1. Install the desktop app using the win32 binary (0.4.5 beta)

  2. Downloaded the Node.js version 6 x86 zip (https://nodejs.org/dist/latest-v6.x/node-v6.17.1-win-x86.zip)

  3. In the zip file, go to node_modules folder, extract the NPM folder, and zip the NPM folder into NPM.zip

  4. 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.

  5. 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.

这篇关于桌面无法正常启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆