Comments (4)
Alright, some update on this as we never really understood when that problem came from.
It seems to be a problem related to using mal-scraper with Babel. When using Babel and importing mal-scraper
, you get an error that match is not a function
. While I don't really understand why, it seems to be the cause.
Hence, v2.5.2
implement a fix where someone can pass a additional argument to use the so-called match function.
Please use getInfoFromName
with a second argument set to false
if you have that error.
from malscraper.
So it would seem that for some reason, mal-scraper
's dependencies were not correctly installed by your app. There are multiple reasons that would bring to this.
Your problem is that match-sorter
is not being packaged / installed in your app.
So the best thing to do there would be to nuke your node_modules
and maybe package-lock.json
and run a npm install
again.
from malscraper.
I did it twice, but problem still appears.
Maybe is related to yarn
?
#11
from malscraper.
What is your npm
version and OS?
I tried again on Mac and Windows with and without yarn
but still works
from malscraper.
Related Issues (20)
- No data from .getInfoFromName(name) HOT 1
- Data fetching incorrect HOT 2
- title and synopsis undefined HOT 1
- [DOCUMENTATION] Duplication of section
- [QUESTIONS] Refactoring and informations about files HOT 4
- Lack of information when searching for a manga HOT 3
- [BUG] Synonyme & staffs
- Bug HOT 5
- getSeason returned an empty object HOT 3
- Idk if it's an issue. But it's bothering me. HOT 2
- undefined in everything
- Cannot read property 'forEach' of undefined HOT 3
- high vulnerability HOT 2
- Install Error HOT 2
- Fetching user info in getWatchListFromUser HOT 2
- Manga Details HOT 1
- Fix typo HOT 2
- Support HOT 7
- getRecommendationsList parameter object does not need name HOT 1
- shortDescription
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 malscraper.