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

Npm run built throws the below error #30

Open
dsavai opened this issue Sep 25, 2018 · 5 comments
Open

Npm run built throws the below error #30

dsavai opened this issue Sep 25, 2018 · 5 comments

Comments

@dsavai
Copy link

dsavai commented Sep 25, 2018

Html Webpack Plugin:
TypeError: cb is not a function

  • index.js:116 compilation.plugin
    [greenbook]/[google-fonts-webpack-plugin]/src/index.js:116:5

  • new Promise

  • Hook.js:154 AsyncSeriesWaterfallHook.lazyCompileHook
    [greenbook]/[tapable]/lib/Hook.js:154:20

  • index.js:673
    [greenbook]/[html-webpack-plugin]/index.js:673:47

  • index.js:165 Promise.resolve.then.then.then.then.compilationResult
    [greenbook]/[html-webpack-plugin]/index.js:165:36

@joshuamcclure
Copy link

+1. Getting the same exact issue.

@dsavai
Copy link
Author

dsavai commented Oct 25, 2018

@joshuamcclure I managed to solve this issue

@mr-brobot
Copy link

Same issue here. @dsavai How did you resolve?

@ig1na
Copy link

ig1na commented Nov 12, 2018

Dude you can't say I solved this issue without providing a solution, that's torture

@nicooprat
Copy link

You should use the webpack 4 compatible forked lib: #22 -> https://github.com/beyonk-adventures/google-fonts-webpack-plugin

npm i -S @beyonk/google-fonts-webpack-plugin

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

5 participants