[
https://issues.apache.org/jira/browse/CB-12963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16067801#comment-16067801
]
Haitao Huo commented on CB-12963:
---------------------------------
This error only happens in cordova-coho npm-link, if I run directly in
cordova-fetch, everything is fine. I'm figuring out root cause.
> npm-link fail to run
> --------------------
>
> Key: CB-12963
> URL: https://issues.apache.org/jira/browse/CB-12963
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-fetch
> Reporter: Haitao Huo
>
> Error when executing npm link under latest cordova-fetch dir
> [de5f439|https://github.com/apache/cordova-fetch/commit/de5f4395f09c3868c88f909ed52f6a34729f7a3e]
> {code}
> cd cordova-fetch
> npm link
> [...]
> 4228 verbose stack Error: EPERM: operation not permitted, rename
> 'C:\Users\hhuo\work\Cordova\upstream-dev\cordova-fetch\node_modules\cordova-common\node_modules\cli'
> -> 'C:\Users\hhuo\work\Cordova\upstream-dev\cordova-fetch\node_modules\cli'
> 4228 verbose stack at C:\Program
> Files\nodejs\node_modules\npm\lib\install\action\move.js:86:7
> 4228 verbose stack at C:\Program
> Files\nodejs\node_modules\npm\node_modules\iferr\index.js:13:50
> 4228 verbose stack at C:\Program
> Files\nodejs\node_modules\npm\lib\utils\rename.js:13:14
> 4228 verbose stack at CB (C:\Program
> Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:93:17)
> 4228 verbose stack at FSReqWrap.oncomplete (fs.js:123:15)
> 4228 verbose stack
> 4228 verbose stack Error: EPERM: operation not permitted, rename
> 'C:\Users\hhuo\work\Cordova\upstream-dev\cordova-fetch\node_modules\cordova-common\node_modules\cli'
> -> 'C:\Users\hhuo\work\Cordova\upstream-dev\cordova-fetch\node_modules\cli'
> 4228 verbose stack at Error (native)
> 4229 verbose cwd C:\Users\hhuo\work\Cordova\upstream-dev\cordova-fetch
> 4230 error Windows_NT 10.0.14393
> 4231 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program
> Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "link"
> 4232 error node v6.10.2
> 4233 error npm v3.10.10
> 4234 error path
> C:\Users\hhuo\work\Cordova\upstream-dev\cordova-fetch\node_modules\cordova-common\node_modules\cli
> 4235 error code EPERM
> 4236 error errno -4048
> 4237 error syscall rename
> 4238 error Error: EPERM: operation not permitted, rename
> 'C:\Users\hhuo\work\Cordova\upstream-dev\cordova-fetch\node_modules\cordova-common\node_modules\cli'
> -> 'C:\Users\hhuo\work\Cordova\upstream-dev\cordova-fetch\node_modules\cli'
> 4238 error at C:\Program
> Files\nodejs\node_modules\npm\lib\install\action\move.js:86:7
> 4238 error at C:\Program
> Files\nodejs\node_modules\npm\node_modules\iferr\index.js:13:50
> 4238 error at C:\Program
> Files\nodejs\node_modules\npm\lib\utils\rename.js:13:14
> 4238 error at CB (C:\Program
> Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:93:17)
> 4238 error at FSReqWrap.oncomplete (fs.js:123:15)
> 4238 error
> 4238 error Error: EPERM: operation not permitted, rename
> 'C:\Users\hhuo\work\Cordova\upstream-dev\cordova-fetch\node_modules\cordova-common\node_modules\cli'
> -> 'C:\Users\hhuo\work\Cordova\upstream-dev\cordova-fetch\node_modules\cli'
> 4238 error at Error (native)
> 4238 error { Error: EPERM: operation not permitted, rename
> 'C:\Users\hhuo\work\Cordova\upstream-dev\cordova-fetch\node_modules\cordova-common\node_modules\cli'
> -> 'C:\Users\hhuo\work\Cordova\upstream-dev\cordova-fetch\node_modules\cli'
> 4238 error at C:\Program
> Files\nodejs\node_modules\npm\lib\install\action\move.js:86:7
> 4238 error at C:\Program
> Files\nodejs\node_modules\npm\node_modules\iferr\index.js:13:50
> 4238 error at C:\Program
> Files\nodejs\node_modules\npm\lib\utils\rename.js:13:14
> 4238 error at CB (C:\Program
> Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:93:17)
> 4238 error at FSReqWrap.oncomplete (fs.js:123:15)
> 4238 error
> 4238 error Error: EPERM: operation not permitted, rename
> 'C:\Users\hhuo\work\Cordova\upstream-dev\cordova-fetch\node_modules\cordova-common\node_modules\cli'
> -> 'C:\Users\hhuo\work\Cordova\upstream-dev\cordova-fetch\node_modules\cli'
> 4238 error at Error (native) parent: 'cordova-fetch' }
> 4239 error Please try running this command again as root/Administrator.
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]