Apache Cordova is missing cordova.js

I have a visual project 2015 2015 boot projection. I have been following the message from msdn , but the project will not be created.

In my Build release, I have the following:

1>------ Build started: Project: EpilepTracker, Configuration: Release Android ------ 1> Your environment has been set up for using Node.js 0.12.2 (ia32) and npm. 1> ------ Ensuring correct global installation of package from source package directory: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\ApacheCordovaTools\packages\vs-tac 1> ------ Name from source package.json: vs-tac 1> ------ Version from source package.json: 1.0.0 1> ------ Package already installed globally at correct version. 1> ------ Cordova tools 4.3.1 already installed. 1> ------ Build Settings: 1> ------ Build Settings: 1> ------ platformConfigurationBldDir: C:\src\epileptracker\EpilepTracker\EpilepTracker\bld\Android\Release 1> ------ platformConfigurationBinDir: C:\src\epileptracker\EpilepTracker\EpilepTracker\bin\Android\Release 1> ------ buildCommand: prepare 1> ------ platform: Android 1> ------ cordovaPlatform: android 1> ------ configuration: Release 1> ------ cordovaConfiguration: Release 1> ------ projectName: EpilepTracker 1> ------ projectSourceDir: C:\src\epileptracker\EpilepTracker\EpilepTracker 1> ------ npmInstallDir: C:\Users\myself\AppData\Roaming\npm 1> ------ language: en-US 1> ------ Adding platform: android 1> No version supplied. Retrieving version from config.xml... ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== 

In my Javascript JavaScript service, I have the following error:

 04:13:41.7556: Reference source file successfully generated from references in project 'C:\src\epileptracker\EpilepTracker\EpilepTracker\EpilepTracker.jsproj' 04:13:41.7796: Reference group 'Implicit (Apache Cordova)' not found. 04:13:41.7876: Referenced file 'C:\src\epileptracker\EpilepTracker\EpilepTracker\www\cordova.js' not found. 04:13:41.7936: Referenced file 'cordova.js' not found. 04:32:14.8630: Reference group 'Implicit (Apache Cordova)' not found. 04:32:14.9430: Referenced file 'cordova.js' not found. 

From what I read, visual studio should create the cordova.js file at build time, but it is not. There are no errors in the error list. I'm just trying to launch a welcome world here.

+4
source share
1 answer

In the config.xml / Platforms file: Use a globally installed version of Cordoba

Imagage Cordova VS

+1
source

All Articles