[Pkg-javascript-devel] RC bugs

Xavier yadd at debian.org
Mon Feb 18 18:13:35 GMT 2019


Le 18/02/2019 à 17:46, Pirate Praveen a écrit :
> 
> 
> On Thu, Feb 14, 2019 at 10:50 PM, Xavier <yadd at debian.org> wrote:
>>  - node-mocha: #921798: FTBFS (Module not found: Error: Recursion in
>>    resolving)
> 
> I tried to use rollup instead of webpack (in rollup branch), it builds
> fine, but will not work in a browser (should be enough for node). If we
> cannot fix thr rc bug, I suggest we drop the browser support for now and
> only target node.
> 
> $ reverse-depends libjs-mocha
> Reverse-Depends
> ===============
> * mocha
> 
> Packages without architectures listed are reverse-dependencies in:
> amd64, arm64, armel, armhf, i386, kfreebsd-amd64, kfreebsd-i386, mips,
> mips64el, mipsel, ppc64el, s390x
> pravi at nishumbha:~/forge/debian/git/js-team$ reverse-depends -b libjs-mocha
> Reverse-Build-Depends
> =====================
> * html2canvas
> * node-setimmediate

html2canvas is already broken, I uploaded a new node-setimmediate just
now (libjs-mocha is just suggested)

Thanks !

> from build log,
> browser-entry.js → mocha.js...
> (!) Missing shims for Node.js built-ins
> Creating a browser bundle that depends on 'path', 'tty', 'util', 'os'
> and 'events'. You might need to include
> https://www.npmjs.com/package/rollup-plugin-node-builtins
> (!) Unresolved dependencies
> https://github.com/rollup/rollup/wiki/Troubleshooting#treating-module-as-external-dependency
> 
> browser-stdout (imported by browser-entry.js,
> commonjs-external:browser-stdout)
> path (imported by lib/mocha.js, lib/utils.js, commonjs-external:path,
> lib/reporters/xunit.js)
> tty (imported by lib/reporters/base.js,
> ../../../usr/lib/nodejs/debug/src/node.js, commonjs-external:tty)
> diff (imported by lib/reporters/base.js, commonjs-external:diff)
> util (imported by ../../../usr/lib/nodejs/debug/src/node.js,
> commonjs-external:util, lib/utils.js)
> os (imported by ../../../usr/lib/nodejs/supports-color/index.js,
> commonjs-external:os)
> fs (imported by lib/utils.js, commonjs-external:fs, lib/reporters/xunit.js)
> glob (imported by lib/utils.js, commonjs-external:glob)
> he (imported by lib/utils.js, commonjs-external:he)
> mkdirp (imported by lib/reporters/xunit.js, commonjs-external:mkdirp)
> events (imported by lib/runnable.js, commonjs-external:events,
> lib/suite.js, lib/runner.js)
> growl (imported by lib/mocha.js, commonjs-external:growl)
> (!) Missing global variable names
> Use options.globals to specify browser global variable names
> corresponding to external modules
> browser-stdout (guessing 'browserStdout')
> path (guessing 'path')
> tty (guessing 'tty')
> diff (guessing 'diff')
> util (guessing 'util')
> os (guessing 'os')
> fs (guessing 'fs')
> glob (guessing 'glob')
> he (guessing 'he')
> mkdirp (guessing 'mkdirp')
> events (guessing 'require$$0')
> growl (guessing 'growl')
> created mocha.js in 1.7s
> 
> 



More information about the Pkg-javascript-devel mailing list