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/03/21 16:19:29 UTC

[GitHub] [cordova-windows] holyhoehle opened a new issue #326: base.js not copied when adding windows platform @7.0.0

holyhoehle opened a new issue #326: base.js not copied when adding windows platform @7.0.0
URL: https://github.com/apache/cordova-windows/issues/326
 
 
   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   The Windows platform should be added without errors.
   
   
   ### What does actually happen?
   The following error is logged (twice):
   `cp: no such file or directory: C:\Temp\test\node_modules\cordova-windows\node_modules\winjs\js\base.js`
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   If you create a new cordova project and then try to add the windows plaform version 7.0.0
   the following output is logged:
   ```
   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:\Temp\test\node_modules\cordova-windows\node_modules\winjs\js\base.js
   
   cp: no such file or directory: C:\Temp\test\node_modules\cordova-windows\node_modules\winjs\js\base.js
   
   Windows project created with cordova-windows@7.0.0
   Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the project
   Installing "cordova-plugin-whitelist" for windows
   Adding cordova-plugin-whitelist to package.json
   Saved plugin info for "cordova-plugin-whitelist" to config.xml
   --save flag or autosave detected
   Saving windows@~7.0.0 into config.xml file ...
   ```
   
   It seems as if the paths to the `base.js` file are not resolved properly. They should be _C:\Temp\test\node_modules\winjs\js\base.js_ instead of _C:\Temp\test\node_modules\cordova-windows_**\node_modules**_\winjs\js\base.js_
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   ```
   cordova create test
   cd test
   cordova platform add windows@7.0.0
   ```
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   Windows 10 Enterprise Version 1809 Build 17763.379
   
   
   ### 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 8.1.2 (cordova-lib@8.1.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 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