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

Error: Cannot find module 'autoprefixer-core' #47

Closed
verpixelt opened this issue Jul 8, 2015 · 5 comments
Closed

Error: Cannot find module 'autoprefixer-core' #47

verpixelt opened this issue Jul 8, 2015 · 5 comments

Comments

@verpixelt
Copy link

I followed the instructions in your readme and it ends up with this error message:

Error: Cannot find module 'autoprefixer-core'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:278:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/Users/verpixelt/projects/gulp-boilerplate/gulpfile.js:26:20)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
@TrySound
Copy link
Member

TrySound commented Jul 8, 2015

@verpixelt It's not gulp-postcss issue. Maybe you forgot to npm i autoprefixer-core?
Also I recommend to use autoprefixer module instead of autoprefixer-core. The last will be deprecated soon.

@verpixelt
Copy link
Author

Might be the issue. Would be good to add this as a dependency to the README file (at least make it clearer).

@TrySound
Copy link
Member

TrySound commented Jul 8, 2015

@verpixelt Cannot find module 'autoprefixer-core' means you do require without downloaded module. You require nothing.

@w0rm
Copy link
Member

w0rm commented Jul 8, 2015

Yeah, maybe a line that says that you have to install processors separately, with a link to a list of them will be helpful.

@w0rm w0rm closed this as completed in 1394178 Jul 9, 2015
@verpixelt
Copy link
Author

Thanks @w0rm :) 👍 That's really helpful! ☀️

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