marceloclp / calpheonjs Goto Github PK
View Code? Open in Web Editor NEWCalpheon.js is an interface to retrieve data about the BDO game by scraping BDOCodex.
Calpheon.js is an interface to retrieve data about the BDO game by scraping BDOCodex.
Attempting to fetch 715005 returns an error.
const itemFetch = await Item(itemID); // was also tried with Equipment
console.log(itemFetch);
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at Equipment.parseEnchantmentArray (node_modules\calpheonjs\dist\scraper\builders\item\equipment.builder.js:110:34)
at Equipment.get (node_modules\calpheonjs\dist\scraper\builders\item\equipment.builder.js:186:29)
at Equipment.get (node_modules\calpheonjs\dist\scraper\builders\item\equipment.builder.js:178:25)
at Equipment.<anonymous> (node_modules\calpheonjs\dist\scraper\builders\item\equipment.builder.js:320:139)
at step (node_modules\calpheonjs\dist\scraper\builders\item\equipment.builder.js:76:23)
at Object.next (node_modules\calpheonjs\dist\scraper\builders\item\equipment.builder.js:57:53)
at fulfilled (node_modules\calpheonjs\dist\scraper\builders\item\equipment.builder.js:48:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
In the v2 branch. When you compile/build the project no errors are outputted. But, when you try to call the exported modules, they are not found. This is because the js complied exports try to use the '@' directory which is present when in the dev environment. I believe this is the issue. But not sure how to fix it since I lack typescript experience. Any help would be appreciated.
`[2020-11-29 16:17:35]: CMD [CMD] Bot Owner Ayeven (273097175452614666) ran command calpheon
[2020-11-29 16:17:35]: ERROR Unhandled rejection: Error: Cannot find module './query'
Require stack:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.