Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: mime.lookup is not a function #68

Open
bonesoul opened this issue Feb 22, 2019 · 4 comments
Open

Fatal error: mime.lookup is not a function #68

bonesoul opened this issue Feb 22, 2019 · 4 comments

Comments

@bonesoul
Copy link

bonesoul commented Feb 22, 2019

upgraded to 0.7.0 and getting this error.

my config;

s3: {
      options: {
        accessKeyId: "<%= aws.access %>",
        secretAccessKey: "<%= aws.secret %>",
        bucket: "<%= aws.bucket %>",
        cache: false
      },
      assets: {
        options: {
          headers: {
            CacheControl: 'max-age=2628000, public, must-revalidate' // cache for a month.
          }
        },
        cwd: "public/",
        src: "**",
        dest: ""
      }
    }

any ideas?

@jpillora
Copy link
Owner

jpillora commented Feb 22, 2019 via email

@rchl
Copy link

rchl commented Feb 22, 2019

Why is code for 0.7.0 not on github?

@jpillora
Copy link
Owner

jpillora commented Feb 22, 2019 via email

@bonesoul
Copy link
Author

from mime changelog;

https://github.com/broofa/node-mime#version-2-notes

lookup() renamed to getType()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants