Skip to content

Instantly share code, notes, and snippets.

@marti1125
Created May 25, 2015 23:33
Show Gist options
  • Save marti1125/53996f83d8c94b77ac6c to your computer and use it in GitHub Desktop.
Save marti1125/53996f83d8c94b77ac6c to your computer and use it in GitHub Desktop.
last error...
Creating project from local git repos. If you have any errors, it may be from missing repositories.
To clone repositories:
./cordova-coho/coho repo-clone -r mobile-spec -r plugin-test-framework -r cli -r lib -r plugman -r firefoxos -r js -r plugins
mkdir cordova-cli/node_modules
(cd cordova-lib/cordova-lib/ && npm install)
(cd cordova-plugman/ && npm install)
mkdir cordova-cli/node_modules
ln -s ../../cordova-lib/cordova-lib cordova-cli/node_modules
(cd cordova-cli && npm install)
To update all repositories:
./cordova-coho/coho repo-update
Creating project mobilespec...
Creating a new cordova project.
C:\Users\Willy\slave_firefoxos\cordova-firefoxos\build\mobilespec C:\Users\Willy\slave_firefoxos\cordova-firefoxos\build
Adding platforms...
Adding Platform: firefoxos
platforms... firefoxos
error: C:\Users\Willy\slave_firefoxos\cordova-firefoxos\build\cordova-firefoxos
platformArg: C:\Users\Willy\slave_firefoxos\cordova-firefoxos\build\cordova-cli\bin\cordova C:\Users\Willy\slave_firefoxos\cordova-firefoxos\build\cordova-firefoxos
Adding firefoxos project...
Running command: C:\Users\Willy\slave_firefoxos\cordova-firefoxos\build\cordova-firefoxos\bin\create.bat C:\Users\Willy\slave_firefoxos\cordova-firefoxos\build\mobilespec\platforms\firefoxos org.apache.mobilespec mobilespec
Project Path platforms\firefoxos
Package Name org.apache.mobilespec
Project Name mobilespec
Command finished with error code 0: C:\Users\Willy\slave_firefoxos\cordova-firefoxos\build\cordova-firefoxos\bin\create.bat C:\Users\Willy\slave_firefoxos\cordova-firefoxos\build\mobilespec\platforms\firefoxos,org.apache.mobilespec,mobilespec
Generating config.xml from defaults for platform "firefoxos"
Calling plugman.prepare for platform "firefoxos"
Preparing firefoxos project
Processing configuration changes for plugins.
Iterating over installed plugins: []
Writing out cordova_plugins.js...
saving firefoxos@C:\Users\Willy\slave_firefoxos\cordova-firefoxos\build\cordova-firefoxos into platforms.json
C:\Users\Willy\slave_firefoxos\cordova-firefoxos\build
Updating js for platforms...
module.js:340
throw err;
^
Error: Cannot find module 'C:\Users\Willy\slave_firefoxos\cordova-firefoxos\build\cordova-firefoxos/package'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at C:\Users\Willy\slave_firefoxos\cordova-firefoxos\build\cordova-mobile-spec\createmobilespec\createmobilespec.js:626:31
at Array.forEach (native)
at updateJS (C:\Users\Willy\slave_firefoxos\cordova-firefoxos\build\cordova-mobile-spec\createmobilespec\createmobilespec.js:625:23)
at Object.<anonymous> (C:\Users\Willy\slave_firefoxos\cordova-firefoxos\build\cordova-mobile-spec\createmobilespec\createmobilespec.js:685:5)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment