ind
ind

Reputation: 43

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

enter image description here

Upvotes: 2

Views: 489

Answers (1)

Hless
Hless

Reputation: 3316

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?

Upvotes: 1

Related Questions