You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2020/02/26 21:12:00 UTC
[jira] [Commented] (THRIFT-5120) TypeError: fs.copyFileSync is not
a function
[ https://issues.apache.org/jira/browse/THRIFT-5120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17045904#comment-17045904 ]
Jens Geyer commented on THRIFT-5120:
------------------------------------
{code}
10370 Running "jsdoc:dist" (jsdoc) task
10371 >> /thrift/src/lib/js/node_modules/jsdoc/lib/jsdoc/fs.js:97
10372 >> fs.copyFileSync(inFile, path.join(outDir, fileName));
10373 >> ^
10374 >>
10375 >> TypeError: fs.copyFileSync is not a function
10376 >> at Object.exports.copyFileSync (/thrift/src/lib/js/node_modules/jsdoc/lib/jsdoc/fs.js:97:8)
10377 >> at staticFiles.forEach.fileName (/thrift/src/lib/js/node_modules/jsdoc/templates/default/publish.js:506:12)
10378 >> at Array.forEach (native)
10379 >> at Object.exports.publish (/thrift/src/lib/js/node_modules/jsdoc/templates/default/publish.js:502:17)
10380 >> at Object.module.exports.cli.generateDocs.e [as generateDocs] (/thrift/src/lib/js/node_modules/jsdoc/cli.js:441:39)
10381 >> at Object.module.exports.cli.processParseResults (/thrift/src/lib/js/node_modules/jsdoc/cli.js:392:24)
10382 >> at module.exports.cli.main (/thrift/src/lib/js/node_modules/jsdoc/cli.js:235:18)
10383 >> at Object.module.exports.cli.runCommand.cb [as runCommand] (/thrift/src/lib/js/node_modules/jsdoc/cli.js:186:9)
10384 >> at __dirname (/thrift/src/lib/js/node_modules/jsdoc/jsdoc.js:93:9)
10385 >> at Object.<anonymous> (/thrift/src/lib/js/node_modules/jsdoc/jsdoc.js:94:3)
10386 >> at Module._compile (module.js:577:32)
10387 >> at Object.Module._extensions..js (module.js:586:10)
10388 >> at Module.load (module.js:494:32)
10389 >> at tryModuleLoad (module.js:453:12)
10390 >> at Function.Module._load (module.js:445:3)
10391 >> at Module.runMain (module.js:611:10)
10392 Warning: jsdoc terminated with a non-zero exit code Use --force to continue.
10393
10394 Aborted due to warnings.
10395 Makefile:829: recipe for target 'check-local' failed
10396 make[4]: *** [check-local] Error 3
10397 make[4]: Leaving directory '/thrift/src/lib/js'
10398 Makefile:700: recipe for target 'check-am' failed
10399 make[3]: *** [check-am] Error 2
10400 make[3]: Leaving directory '/thrift/src/lib/js'
10401 Makefile:547: recipe for target 'check-recursive' failed
10402 make[2]: *** [check-recursive] Error 1
10403 make[2]: Leaving directory '/thrift/src/lib/js'
10404 Makefile:579: recipe for target 'check-recursive' failed
10405 make[1]: *** [check-recursive] Error 1
10406 make[1]: Leaving directory '/thrift/src/lib'
10407 Makefile:679: recipe for target 'check-recursive' failed
10408 make: *** [check-recursive] Error 1
10409 The command "build/docker/run.sh" exited with 2.
10410
10411
10412 Done. Your build exited with 1.
{code}
> TypeError: fs.copyFileSync is not a function
> --------------------------------------------
>
> Key: THRIFT-5120
> URL: https://issues.apache.org/jira/browse/THRIFT-5120
> Project: Thrift
> Issue Type: Bug
> Components: JavaScript - Library
> Reporter: Jens Geyer
> Priority: Blocker
>
> Blocker because it breaks CI
--
This message was sent by Atlassian Jira
(v8.3.4#803005)