Reputation: 43
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----
Upvotes: 2
Views: 489
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