BrandonCookeDev / smashgg.js

Node.JS SDK for the Smash.gg public API.
https://www.npmjs.com/package/smashgg.js
34 stars 13 forks source link

Require Module Error #44

Closed An78toi13ne06 closed 5 years ago

An78toi13ne06 commented 5 years ago

I was trying to use this lib for my project with smashgg API. I recently had to reinstall the entire project inclusing this lib. But with the last update I have an strange error : `PS C:\\\GitHub\smashgg-attendees-counter> node .\index.js internal/modules/cjs/loader.js:716 throw err; ^

Error: Cannot find module './src/v4/js' Require stack:

For me it means that /src/v4/js doesn't exist and in fact I can't find it in the node_module folder: image

What can I do to solve this problem ? Thks

BrandonCookeDev commented 5 years ago

Hey @An78toi13ne06 I accidentally broke this on a deployment error.

I've deprecated these versions and fixed it in the most recent versions > 4.1.3 Please update and try again, and sorry for the inconvenience! I've created a bunch of Devops scripts this morning to ensure this incident never happens again.

Please let me know here if updating solves your problem.

BrandonCookeDev commented 5 years ago

additionally, upon inspection this issue affects 4.1.2 and 4.1.3 I've deprecated both versions

An78toi13ne06 commented 5 years ago

Sorry for the late answer. Every thing came back to normal. Closing the issue. Thanks