[Pkg-javascript-devel] RFS:node-zrender
Yadd
yadd at debian.org
Sun Jun 20 07:45:18 BST 2021
Le 20/06/2021 à 07:13, Harish a écrit :
> hi,
>
> i have just repack, reimport and regenerate the dist/ dir. (as you
> said). add some dep. in debian/control .but some tests are not enabled
> found at :https://salsa.debian.org/Harish1/node-zrender
>
> please review and upload it.
>
> Regards ,
>
> harish
Hi,
your package does not build:
* build error (ignored):
(node:1187925) UnhandledPromiseRejectionWarning: TypeError:
process.stdout.clearLine is not a function
at Object.buildEnd
(/home/xavier/dev/debian/src/pkg-js/packages/tmp/node-zrender/build/progress.js:56:28)
at /usr/share/nodejs/rollup/dist/shared/rollup.js:13408:25
at async Promise.all (index 1)
at async rollupInternal
(/usr/share/nodejs/rollup/dist/shared/rollup.js:14117:5)
(node:1187925) UnhandledPromiseRejectionWarning: Unhandled promise
rejection. This error originated either by throwing inside of an async
function without a catch block, or by rejecting a promise which was not
handled with .catch(). To terminate the node process on unhandled
promise rejection, use the CLI flag `--unhandled-rejections=strict` (see
https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode).
(rejection id: 1)
(node:1187925) [DEP0018] DeprecationWarning: Unhandled promise
rejections are deprecated. In the future, promise rejections that are
not handled will terminate the Node.js process with a non-zero exit code.
+ tsc -m ES2015 --outDir lib
* test error (result isn't commonJS):
dh_auto_test --buildsystem=nodejs
ln -s ../. node_modules/zrender
/usr/bin/node -e require\(\"./.\"\)
/home/xavier/dev/debian/src/pkg-js/packages/tmp/node-zrender/index.js:1
export * from './lib/zrender';
^^^^^^
SyntaxError: Unexpected token 'export'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js
(internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at [eval]:1:1
at Script.runInThisContext (vm.js:120:18)
at Object.runInThisContext (vm.js:309:38)
dh_auto_test: error: /usr/bin/node -e require\(\"./.\"\) returned exit
code 1
make: *** [debian/rules:8 : binary] Erreur 25
More information about the Pkg-javascript-devel
mailing list