You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/02/27 13:44:12 UTC

[GitHub] regnete opened a new issue #554: Cannot find module './src/superspawn'

regnete opened a new issue #554: Cannot find module './src/superspawn'
URL: https://github.com/apache/cordova-ios/issues/554
 
 
   # Bug Report
   Cannot add platform ios@5.0.0
   
   ## Problem
   Cannot add platform ios@5.0.0 to a newly created cordova project
   
   ### What is expected to happen?
   platform should be added without error messages
   
   ### What does actually happen?
   error message occurs: `Cannot find module './src/superspawn'`
   ```
   Using cordova-fetch for cordova-ios@5.0.0
   Adding ios project...
   Creating Cordova project for the iOS platform:
           Path: platforms/ios
           Package: io.cordova.hellocordova
           Name: HelloCordova
   iOS project created with cordova-ios@5.0.0
   Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the project
   Installing "cordova-plugin-whitelist" for ios
   Failed to install 'cordova-plugin-whitelist': Error: Cannot find module './src/superspawn'
       at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
       at Function.Module._load (internal/modules/cjs/loader.js:507:25)
       at Module.require (internal/modules/cjs/loader.js:637:17)
       at Object.get (/Volumes/dev/schauerte/cleverdox/test/test/node_modules/cordova-common/src/util/addProperty.js:27:44)
       at Object.<anonymous> (/Volumes/dev/schauerte/cleverdox/test/test/platforms/ios/cordova/lib/Podfile.js:26:43)
       at Module._compile (internal/modules/cjs/loader.js:689:30)
       at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
       at Module.load (internal/modules/cjs/loader.js:599:32)
       at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
       at Function.Module._load (internal/modules/cjs/loader.js:530:3)
   Failed to restore plugin "cordova-plugin-whitelist" from config.xml. You might need to try adding it again. Error: Error: Cannot find module './src/superspawn'
   --save flag or autosave detected
   Saving ios@~5.0.0 into config.xml file ...
   ```
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   `cordova platform add ios@4.5.5` works fine
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   ```
   cordova create test
   cd test
   cordova platform add ios@5.0.0
   ```
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   Using cordova via commandline on MacOS Mojave
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   MacOS: Mojave 1014.3
   Cordova: 8.1.2 (cordova-lib@8.1.1)
   node: v10.15.1
   npm: 6.4.1
   
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org