[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shiny-server in debian



Hi Andrius,

On Thu, Mar 24, 2022 at 08:41:01AM +0200, Andrius Merkys wrote:
> Looking deeper into it, the problem seems to be that node-mime-types has
> dropped define() in v2.0.0, as per
> /usr/share/doc/node-mime-types/HISTORY.md.gz:
> 
> 2.0.0 / 2014-09-02
> ==================
> 
>   * Use `mime-db`
>   * Remove `.define()`

I am a bit confused -- the error seems to stem from 'node-send' package right?
node-send uses mime in its code, and mime has a define function

> var mime = require('mime')
undefined
> mime.define
[Function: bound ]

Even on doing a grep, I am seeing mime-types v2

npm-shrinkwrap.json:1552:    "mime-types": {
npm-shrinkwrap.json:1554:      "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz";,

Please let me know what I am missing here.

Regards,
Nilesh 

Attachment: signature.asc
Description: PGP signature


Reply to: