[
https://issues.apache.org/jira/browse/CB-9938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitry Blotsky closed CB-9938.
------------------------------
> Cannot find module 'wrappy' running mobilespec for Android
> ----------------------------------------------------------
>
> Key: CB-9938
> URL: https://issues.apache.org/jira/browse/CB-9938
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaLib
> Environment: Android on Windows
> Reporter: Dmitry Blotsky
> Assignee: Steve Gill
> Priority: Critical
> Labels: android, found-by-ci, mobilespec
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> Build failed: https://ci.apache.org/builders/cordova-android-win/builds/828.
> Output:
> https://ci.apache.org/builders/cordova-android-win/builds/828/steps/creating-mobilespec-app/logs/stdio.
> Snippet:
> {noformat}
> 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 android -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.
> Adding platforms...
> Adding Platform: android
> platformArg:
> C:\Users\buildbot\slaves\apache\cordova-android-win\cordova-cli\bin\cordova
> C:\Users\buildbot\slaves\apache\cordova-android-win\cordova-android
> Executing "before_platform_add" hook for all plugins.
> Adding android project...
> Failed to require PlatformApi instance for platform "android". Using polyfill
> instead.
> Running command: cmd "/s /c
> "C:\Users\buildbot\slaves\apache\cordova-android-win\cordova-android\bin\create.bat
>
> C:\Users\buildbot\slaves\apache\cordova-android-win\mobilespec\platforms\android
> org.apache.mobilespec mobilespec --cli""
> module.js:338
> throw err;
> ^
> Error: Cannot find module 'wrappy'
> at Function.Module._resolveFilename (module.js:336:15)
> at Function.Module._load (module.js:278:25)
> at Module.require (module.js:365:17)
> at require (module.js:384:17)
> at Object.<anonymous>
> (C:\Users\buildbot\slaves\apache\cordova-android-win\cordova-android\node_modules\cordova-common\node_modules\glob\node_modules\inflight\inflight.js:1:76)
> at Module._compile (module.js:460:26)
> at Object.Module._extensions..js (module.js:478:10)
> at Module.load (module.js:355:32)
> at Function.Module._load (module.js:310:12)
> at Module.require (module.js:365:17)
> Command finished with error code 1: cmd /s /c
> "C:\Users\buildbot\slaves\apache\cordova-android-win\cordova-android\bin\create.bat
>
> C:\Users\buildbot\slaves\apache\cordova-android-win\mobilespec\platforms\android
> org.apache.mobilespec mobilespec --cli"
> Error: cmd: Command failed with exit code 1
> at ChildProcess.whenDone
> (C:\Users\buildbot\slaves\apache\cordova-android-win\cordova-lib\cordova-common\src\superspawn.js:139:23)
> at ChildProcess.emit (events.js:110:17)
> at maybeClose (child_process.js:1008:16)
> at Process.ChildProcess._handle.onexit (child_process.js:1080:5)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]