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/06/25 07:54:38 UTC

[GitHub] [cordova-windows] feiandytan opened a new issue #341: WinJS is not copied when adding windows platform

feiandytan opened a new issue #341: WinJS is not copied when adding windows platform
URL: https://github.com/apache/cordova-windows/issues/341
 
 
   # Bug Report
   
   ## Problem
   WinJS is not copied when adding windows platform to cordova application. 
   
   ### What is expected to happen?
   The winjs\js\base.js should be copied correctly.
   
   
   ### What does actually happen?
   The winjs\js\base.js is not copied, and the console prints the error log:
   cp: no such file or directory: C:\Users\i062893\cordova-workspace\attachmenttest\node_modules\cordova-windows\node_modules\winjs\js\base.js
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   I use following commands:
   
   C:\Users\i062893\cordova-workspace>**cordova --version**
   9.0.0 (cordova-lib@9.0.1)
   
   C:\Users\i062893\cordova-workspace>**cordova create attachmenttest**
   Creating a new cordova project.
   
   C:\Users\i062893\cordova-workspace>**cd attachmenttest**
   
   C:\Users\i062893\cordova-workspace\attachmenttest>**cordova platforms add windows**
   Using cordova-fetch for cordova-windows@^7.0.0
   Adding windows project...
   Creating Cordova Windows Project:
           Path: platforms\windows
           Namespace: io.cordova.hellocordova
           Name: HelloCordova
   cp: no such file or directory: C:\Users\i062893\cordova-workspace\attachmenttest\node_modules\cordova-windows\node_modules\winjs\js\base.js
   
   cp: no such file or directory: C:\Users\i062893\cordova-workspace\attachmenttest\node_modules\cordova-windows\node_modules\winjs\js\base.js
   
   Windows project created with cordova-windows@7.0.0
   Plugin 'cordova-plugin-whitelist' found in config.xml... Migrating it to package.json
   Discovered saved plugin "cordova-plugin-whitelist". Adding it to the project
   Installing "cordova-plugin-whitelist" for windows
   Adding cordova-plugin-whitelist to package.json
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   
   
   ### 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.
   -->
   Cordova: 9.0.0
   cordova-windows: 7.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.
 
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