You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2018/02/25 12:44:03 UTC

[jira] [Closed] (CB-13617) Cordova platform add browser - Getting copy error while adding platform with cordova-browser@5.0.1

     [ https://issues.apache.org/jira/browse/CB-13617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile closed CB-13617.
-----------------------------
    Resolution: Cannot Reproduce

I've tested with cordova CLI 7.1.0 and couldn't reproduce.
I was able to reproduce with CLI 8.0.0, but the problem there is their plugin doesn't support CLI 8.0.0.

So this was probably an error on the MFP template, not really related to Cordova. Closing

> Cordova platform add browser - Getting copy error while adding platform with cordova-browser@5.0.1
> --------------------------------------------------------------------------------------------------
>
>                 Key: CB-13617
>                 URL: https://issues.apache.org/jira/browse/CB-13617
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-browser, cordova-cli
>            Reporter: Prashant
>            Assignee: Jesse MacFadyen
>            Priority: Blocker
>
> I have created cordova app with mobilefirst 8 application using CLI with mfp template. Followed below commands
> IBM mobilefirst version: 8.0.0.00-20171024-121931
> Steps:
> cordova create Hello com.example.helloworld HelloWorld --template cordova-template-mfp
> cd Hello
> cordova platform add browser
> *While adding browser platform getting below copy errors:*
> cp: dest file no such file or directory: D:\Projects\Mobilefirst\HelloCordova\Hello\platforms\browse
> r\platform_www\plugins\cordova-plugin-mfp\worklight\analytics
> cp: copyFileSync: could not write to dest file (code=ENOENT): D:\Projects\Mobilefirst\HelloCordova\He
> llo\platforms\browser\platform_www\plugins\cordova-plugin-mfp\worklight\ibmmfpf.js
> cp: copyFileSync: could not write to dest file (code=ENOENT): D:\Projects\Mobilefirst\HelloCordova\He
> llo\platforms\browser\platform_www\plugins\cordova-plugin-mfp\worklight\typings
> cp: copyFileSync: could not write to dest file (code=ENOENT): D:\Projects\Mobilefirst\HelloCordova\He
> llo\platforms\browser\platform_www\plugins\cordova-plugin-mfp\worklight\node_modules\express
> cp: copyFileSync: could not write to dest file (code=ENOENT): D:\Projects\Mobilefirst\HelloCordova\He
> llo\platforms\browser\platform_www\plugins\cordova-plugin-mfp\worklight\node_modules\request
> cp: copyFileSync: could not write to dest file (code=ENOENT): D:\Projects\Mobilefirst\HelloCordova\He
> llo\platforms\browser\platform_www\plugins\cordova-plugin-mfp\worklight\node_modules\jssha
> cp: copyFileSync: could not write to dest file (code=ENOENT): D:\Projects\Mobilefirst\HelloCordova\He
> llo\platforms\browser\platform_www\plugins\cordova-plugin-mfp\worklight\node_modules\promiz
> cp: copyFileSync: could not write to dest file (code=ENOENT): D:\Projects\Mobilefirst\HelloCordova\He
> llo\platforms\browser\platform_www\plugins\cordova-plugin-mfp\worklight\node_modules\sjcl
> cp: copyFileSync: could not write to dest file (code=ENOENT): D:\Projects\Mobilefirst\HelloCordova\He
> llo\platforms\browser\platform_www\plugins\cordova-plugin-mfp\worklight\proxy.js
> Its displaying platform added successfully to the app. I register app to MFP as well.
> While running it to browser we are getting error.
> *cordova run browser*
> D:\Projects\Mobilefirst\HelloCordova\Hello>cordova run browser
> module.js:471
>     throw err;
>     ^
> Error: Cannot find module 'D:\Projects\Mobilefirst\HelloCordova\Hello\platforms\browser\www\plugins\
> cordova-plugin-mfp\worklight\proxy.js'
>     at Function.Module._resolveFilename (module.js:469:15)
>     at Function.Module._load (module.js:417:25)
>     at Module.runMain (module.js:604:10)
>     at run (bootstrap_node.js:389:7)
>     at startup (bootstrap_node.js:149:9)
>     at bootstrap_node.js:504:3
> startPage = index.html
> Static file server running @ http://localhost:8000/index.html
> CTRL + C to shut down
> Error: exit code 1
> Please test with below versions on Windows:
> Cordova : 7.1.0
> npm: 5.5.1
> node : 6.11.0



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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