[Pkg-javascript-devel] Fwd: node-es6-promise failure

Xavier yadd at debian.org
Sun Aug 18 15:14:08 BST 2019


Le 18/08/2019 à 12:42, Utkarsh Gupta a écrit :
> Forwarding. 
> 
> ---------- Forwarded message ---------
> From: *Utkarsh Gupta* <guptautkarsh2102 at gmail.com
> <mailto:guptautkarsh2102 at gmail.com>>
> Date: Sat 17 Aug, 2019, 20:03
> Subject: Pasting IRC text
> To: <yadd at debian.org <mailto:yadd at debian.org>>
> 
> 
> Hey,
> 
> I guess IRC messages are not reaching you?
> Because, I get the following error:
> Received an error on irc.oftc.net <http://irc.oftc.net>: err_nosuchnick
> ["utkarsh2102[m]","yadd","No such nick/channel"]
> 
> Thus pasting my last message here.
> 
> Can you check "node-es6-promise"?
> The build (dpkg-buildpackage -uc -us) fails.
> Logs: https://paste.debian.net/1096054/
> From what it looks, this could fix the error:
> 
> if (typeof window === 'undefined') {
>   global.window = {}
> }
> 
> But I am not sure how :/
> Could you take a look at it?
> 
> 
> Best,
> Utkarsh

node-es6-promise build is bad: our dist/es6-promise.js file is built for
browser (using webpack) not for node while package.json#main points to
it. Upstream build (ember) provides a valid node file. I think we must
replace webpack by rollup here.

Cheers,
Xavier



More information about the Pkg-javascript-devel mailing list