You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.
Mochify relies on PhantomJS, which is more or less deprecated and currently doesn't support ES2015 syntax, which makes it somewhat challenging to reduce reliance on utility libraries like Underscore or Lodash. I discovered this while attempting to remove Underscore in #29 (see issue #27) -- while the merged solution does reduce overall size, it doesn't feel quite like the right fix.
There are a few ways to potentially circumvent the PhantomJS issue, but I think a good, long-lasting solution would be to remove Mochify entirely, replacing it with standalone mocha running Headless chrome, maybe using Puppeteer.
Alternatively, it might be worth submitting a PR to solve mantoni/mochify.js#159, as that would this issue for you and other uses of the library as well.
The text was updated successfully, but these errors were encountered:
Mochify v5.0.0 has just been released. It uses Puppeteer to install and launch Chrome. PhantomJS has been removed entirely. @mvattuone@afeld Please check if that works for you.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Mochify relies on PhantomJS, which is more or less deprecated and currently doesn't support ES2015 syntax, which makes it somewhat challenging to reduce reliance on utility libraries like Underscore or Lodash. I discovered this while attempting to remove Underscore in #29 (see issue #27) -- while the merged solution does reduce overall size, it doesn't feel quite like the right fix.
There are a few ways to potentially circumvent the PhantomJS issue, but I think a good, long-lasting solution would be to remove Mochify entirely, replacing it with standalone mocha running Headless chrome, maybe using Puppeteer.
Alternatively, it might be worth submitting a PR to solve mantoni/mochify.js#159, as that would this issue for you and other uses of the library as well.
The text was updated successfully, but these errors were encountered: