Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9834

Hooks in crosswalk plugin do not work any more because we moved ConfigParser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Master
    • None
    • cordova-lib
    • None

    Description

      Get the master version of cordova-lib and cordova-cli and create a cordova project.

      Add the cross-walk plugin: cordova plugin add cordova-plugin-crosswalk-webview

      Fetching plugin "cordova-plugin-crosswalk-webview@^1.2.0" via npm
      Installing "cordova-plugin-crosswalk-webview" for android
      Failed to install 'cordova-plugin-crosswalk-webview':Error: Cannot find module 'cordova-lib/src/configparser/ConfigParser'
      at Function.Module._resolveFilename (module.js:336:15)
      at Function.Module._load (module.js:286:25)
      at Module.require (module.js:365:17)
      at require (module.js:384:17)
      at Context.requireCordovaModule (D:\cordova\cordova-lib\cordova-lib\src\hooks\Context.js:48:12)
      at module.exports (d:\apps\test\plugins\cordova-plugin-crosswalk-webview\hooks\after_plugin_install\000-shared_mode_special.js:9:32)
      at runScriptViaModuleLoader (D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:151:18)
      at runScript (D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:129:16)

      at D:\cordova\cordova-lib\cordova-lib\src\hooks\HooksRunner.js:114:20
      at _fulfilled (D:\cordova\cordova-lib\cordova-lib\node_modules\q\q.js:787:54)

      Attachments

        Activity

          People

            vladimir.kotikov Vladimir Kotikov
            nikhilkh Nikhil Khandelwal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: