简体   繁体   中英

Phonegap “phonegap build ios” command is not working

I am new to phonegap, and I tried to create a simple phonegap application.

After installation the phonegap with command line:---

I have created the project successfully but when i trying to run phonegap build ios command then a Error alert message is coming with There is no script engine for file extension ".js" in it.

I am using Windows 7 , and I installed Node.js

Edit:

Adding Image----

在此处输入图片说明

It might be that Windows is associating the js extension with the wrong program. The PhoneGap build process probably relies on this extension being correctly associated in windows.

Try running this command in the command prompt: assoc .js=JSFile

Then try to rerun your build.

Original answer is here: Running Javascript with CScript?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM