PhoneGap for Windows Phone - There is no script engine for file extension “.js”

后端 未结 3 1208
长发绾君心
长发绾君心 2021-02-03 14:01

I\'ve created new project using Microsoft visual Studio ,but got a compilation error as below:

  1. There is no script engine for file extension \".js\"
  2. The co
相关标签:
3条回答
  • 2021-02-03 14:29

    The instructions for installing Cordova 2.1 for Windows Phone are not complete.

    They say:

    • copy the file CordovaStarter-x.x.x.zip to the folder : \My Documents\Visual Studio 2010\Templates\ProjectTemplates\

    But that file is not supplied. There are updated instructions here (see section 2.1).

    Here is the issue at apache: https://issues.apache.org/jira/browse/CB-1531

    See also this question for more details: Not Able To Install Apache Cordova for Windows Phone7

    0 讨论(0)
  • 2021-02-03 14:37

    This problem happens when your .js files become associated with something besides CScript. Usually it happens when you decide to make some text editor the default. You can reset it by typing this from a command line:

    assoc .js=JSFILE

    0 讨论(0)
  • 2021-02-03 14:43

    There is no script engine for file extension----- Try this :

    http://www.microsoft.com/downloads/details.aspx?FamilyID=47809025-D896-482E-A0D6-524E7E844D81&displaylang=en

    0 讨论(0)
提交回复
热议问题