You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "shrijeetDeshmukh (via GitHub)" <gi...@apache.org> on 2023/07/18 11:07:27 UTC

[GitHub] [cordova-browser] shrijeetDeshmukh opened a new issue, #124: Getting cp: dest is not a directory (too many sources) on copying folders

shrijeetDeshmukh opened a new issue, #124:
URL: https://github.com/apache/cordova-browser/issues/124

   # Bug Report
   Getting below error message when trying to upgrade cordova-browser to 7 version
   cp: dest is not a directory (too many sources)
   
   ## Problem
   Hello Team,
   Folder is not getting copied from plugin folder to platform www folder.
   Below is the error I'm getting,
   `cp: dest is not a directory (too many sources)
   cp: dest is not a directory (too many sources)
   cp: dest is not a directory (too many sources)
   cp: dest is not a directory (too many sources)
   cp: dest is not a directory (too many sources)
   cp: dest is not a directory (too many sources)`
   
   Below are the node modules which needs to copy to the destination but its not working after the upgrade
    ` <platform name="browser">
           <js-module name="mfp" src="src/browser/bootstrap.js">
               <runs />
           </js-module>
           <asset src="www/worklight" target="plugins/cordova-plugin-mfp/worklight" />
           <asset src="src/browser/ibmmfpf.js" target="plugins/cordova-plugin-mfp/worklight/ibmmfpf.js" />
           <asset src="typings" target="plugins/cordova-plugin-mfp/worklight/typings" />
           <asset src="node_modules/express" target="plugins/cordova-plugin-mfp/worklight/node_modules/express" />
           <asset src="node_modules/request" target="plugins/cordova-plugin-mfp/worklight/node_modules/request" />
           <asset src="node_modules/jssha" target="plugins/cordova-plugin-mfp/worklight/node_modules/jssha" />
           <asset src="node_modules/promiz" target="plugins/cordova-plugin-mfp/worklight/node_modules/promiz" />
           <asset src="node_modules/sjcl" target="plugins/cordova-plugin-mfp/worklight/node_modules/sjcl" />
           <asset src="src/browser/proxy.js" target="plugins/cordova-plugin-mfp/worklight/proxy.js" />
       </platform>
   `
   ### What is expected to happen?
   It should copy all the mentioned folders to destination folder
   
   ### What does actually happen?
   
   Its not copying the folders hence some functionalities are not working in latest browser platform
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   This issue is probably happening because the cordova-browser 7 now has shelljs version 0.8.5. 
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   Installed platforms:
     browser 7.0.0
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   Cordova browser:
      browser: 7.0.0
   Environment:
       OS: Microsoft Windows 11 Enterprise 10.0.22621 (22621) (Windows 10.0.22621) x64
       Node: v18.13.0
       npm: 8.19.3
   Cordova CLI:
   cli: 11.0.0
   
   -->
   
   
   
   ## 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 to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [cordova-browser] shrijeetDeshmukh commented on issue #124: Getting cp: dest is not a directory (too many sources) on copying folders

Posted by "shrijeetDeshmukh (via GitHub)" <gi...@apache.org>.
shrijeetDeshmukh commented on issue #124:
URL: https://github.com/apache/cordova-browser/issues/124#issuecomment-1662052944

   Any update on this ?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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