mime.getType() is not a function

See original GitHub issue

hi again,

i’m back with something related to #37 and #41. no idea why it stopped working now again - it did work for quite a while:

➜  intro git:(gh-pages) ✗ bs e
0% exporting file 1/1mime.getType(...) is not a function
mime.getType(...) is not a function
mime.getType(...) is not a function
mime.getType(...) is not a function
mime.getType(...) is not a function
mime.getType(...) is not a function
100% exporting file 1/1


   ╭─────────────────────────────────────╮
   │                                     │
   │   Update available 2.3.1 → 2.3.2    │
   │    Run npm i backslide to update    │
   │                                     │
   ╰─────────────────────────────────────╯

➜  intro git:(gh-pages) ✗ npm i backslide
npm WARN saveError ENOENT: no such file or directory, open '/Users/florian.oswald/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/Users/florian.oswald/package.json'
npm WARN florian.oswald No description
npm WARN florian.oswald No repository field.
npm WARN florian.oswald No README data
npm WARN florian.oswald No license field.

+ backslide@2.3.2
updated 1 package and audited 15293 packages in 4.838s
found 3 low severity vulnerabilities
  run `npm audit fix` to fix them, or `npm audit` for details
➜  intro git:(gh-pages) ✗ bs e           
0% exporting file 1/1mime.getType(...) is not a function
mime.getType(...) is not a function
mime.getType(...) is not a function
mime.getType(...) is not a function
mime.getType(...) is not a function
mime.getType(...) is not a function
100% exporting file 1/1

the resulting html is missing the included pictures.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
argent-smithcommented, Jan 19, 2019

I have this problem as well, running a dockerized version.

0reactions
argent-smithcommented, Jan 19, 2019

I retried via yarn install backslide && yarn exec bs export – successfully. Would appreciate the success in Docker image, too 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Page.screenshot results in "TypeError: mime.getType is not ...
My environment: Puppeteer version: v3.2.0; Platform / OS version: Ubuntu 16.04.6 LTS; Node.js version: v12.13.1.
Read more >
mime.lookUp() is not a function in node.js
getType(). Either install mime version 1, or try using the updated function Npm ... If you'd like to use .lookup(), then you should...
Read more >
How to use the mime.getType function in mime
To help you get started, we've selected a few mime.getType examples, based on popular ways it is used in public projects.
Read more >
mime.getType JavaScript and Node.js code examples
How to use. getType. function. in. mime ... R_OK, (error) => { if (error) { console.error(`File is not readable: ${fullPath}`, error); response.
Read more >
TypeError: mime.lookup is not a function
TypeError : mime.lookup is not a function. 1850 views ... `lookup()` renamed to `getType()` ... function whackWebkitMatchesSelector() {.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found