Comments (8)
@Inoir @RobNielsen515 @MikaAK @jantimon
hi, i had issues with favicons-webpack-plugin locking up the build and i believe i found the root cause + solution.
I was running into an issue locally with node v4.4.5:
ModuleBuildError: Module build failed: TypeError: Buffer.alloc is not a function
This occurs in /node_modules/to-ico/index.js:15:21.
Reason: Buffer API is only available in v5.10.0+.
Fix: use a node version manager such as NVM and upgrade to v5.10.0+
from favicons-webpack-plugin.
I'm having the same issue with webpack 1.13.0. Removing the plugin resolves the issue as reported above.
EDIT: after posting I managed to get it working.
It didn't like the path to my icon. I had:
logo: 'src/images/icon.png',
I changed it to:
logo: './src/images/icon.png',
and that made it work. An error message would be helpful if the icon can't be found.
from favicons-webpack-plugin.
Hmm do you have any idea why?
from favicons-webpack-plugin.
No clue unfortunately, it just stops, I don't know the internals of this plugin well enough to say either 😞
from favicons-webpack-plugin.
Having same issue. Changing the path didnt help me.
Im using webpack2 and do net get any errors.
from favicons-webpack-plugin.
Some additional info. I upgraded some node modules today and I ran into the problem again. I upgraded to node 6.5 (Mac) and the problem went away.
from favicons-webpack-plugin.
@kevin-miles that's a nice find - and kind of sad that the npm registry is so complicated to use..
from favicons-webpack-plugin.
you can add in your package.json { "engines" : { "node" : ">=5.10.0" } } that will trigger warning when people install the package
from favicons-webpack-plugin.
Related Issues (20)
- `[contenthash]` should consider content of manifests HOT 1
- Make sure examples work
- Add support to access generated tags from favicons HOT 2
- Support favicons ^7 HOT 1
- Support favicon version 7 (`npm i favicon` will install version 7+) HOT 9
- Inject option do not take into account prefix option
- get the error - TypeError: favicons is not a function HOT 3
- Handling a few different image files as favicon and touch icon HOT 1
- Run plugin twice with different input images? HOT 1
- Can it be used in favicon 7.x ? HOT 1
- Cut New Release of Master (to silence security alerts)
- Support favicons 7.x HOT 1
- favicons in mobile crypto wallet browsers HOT 3
- Creating Pinned Tab Icons
- Question: how to generate favicons only head tags, nothing else HOT 2
- Strip list of formats acc. to changes in browser landscape
- Some icons are not generated, why? HOT 2
- bumping the engines.node version in v6.0.1 was a breaking change HOT 2
- web version of generator?
- Upgrade to `favicons` 7.1.5 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from favicons-webpack-plugin.