-
Notifications
You must be signed in to change notification settings - Fork 536
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
How does one use the npm module? #72
Comments
Hi, The NPM module is not maintained anymore. I did an electron app 2 months ago so it should work without any problem. best, |
so can it be used with the require method? I think that you need to take it off from npm if it's not functional when used with it |
It is not very hard to use, you can find help on the readme.md of this github and the issue I submitted. If it is not clear a pull request would be welcome :). I don't care of NPM anymore, it is already a museum for abandonware and a nice bloatware factory. |
a lot of the software I contribute to uses npm, its still a great way to fetch and update modules. There is alot of abandonware, but npm tracks how often modules are updated and reduces their score when that is low I wouldnt have found your library without npm electron fiddle - that is officialy developed by the electron guys relies on npm - so we cant use facefilter in it atm- because its module is not usable via require('facefilter'), but because you have it listed as an npm package- that makes it seem like a bug with the library |
In any case I love your library and want to thank you for working on it :) |
Thanks :) I will still add a big warning on the NPM page of facefilter. There are great packages on NPM (Electron is great), I was just often disappointed by packages doing small stuffs but requiring so many dependancies that they bloated the application. Maybe a more visible way to display the size of the package + dependancies or a recursive dependancies display would help to avoid such packages... |
one of the reasons I decided to go with your library is the lack of dependencies. I think that you've done a great job and it is a shame that the npm is not updated. Btw I managed to get it to work by manually downloading the ES6 js file and including it like this:
In case some other electron guys are interested Perhaps to update the npm it wont be that hard, just update package.json :) it will save some confusion |
Thank you very much, I pushed an update to the readme.md with a link to the issue best, |
thank you for updating it :) 👍 |
@xavierjs will |
Hi, If you want to require the ES6 version while using the npm module you can use:
|
Is there some way to make it require it by default when doing From my understanding facefilter wont work if you dont require jeelizFaceFilterES6.js with nodejs. |
gotcha bro I think I have to play with the |
I have updated the NPM package and put best, |
this should nail it! Thank you @xavierjs =) 👍 |
Hi Guys, Is there any react sample working? I'm getting a compiler error when trying to include jeelizFaceFilterES6.js |
https://github.com/jeeliz/jeelizFaceFilter#using-the-es6-module |
I was able to make it initialize, the camera is on but nothing is being rendered, any hints? |
Hi! Could I take a look at the way you integrate it? The canvas is not rendering and I don't know what else to try. |
How can we capture the image? |
A NPM/React/Three-Fiber boilerplate has been added to the repository: https://github.com/jeeliz/jeelizFaceFilter/tree/master/reactThreeFiberDemo |
You have this as a package on npm, but there are zero instructions how to initiate or use it as a module. Can you please update your page on npm as well as the examples here, so we have a bare idea of how to access the methods?
I am trying to use it with electron, so I need to import it with the require method
The text was updated successfully, but these errors were encountered: