-
Notifications
You must be signed in to change notification settings - Fork 7
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
Cannot find module #3
Comments
I've found in the latest build the package.json says the main is "app.js" when there is no such file. I copied lib\riot-games-api-nodejs.js to app.js and it seems to work. Hope that helps. |
That did it for me. I'm gonna make a pull request. However, I also found that pointing the main to "./lib/riot-games-api-nodejs.js" also works. Which do you think would better follow the standards, @tskaufma? Your change or the change I tried? |
I think your change would be better as a PR since it doesn't duplicate the code file. I don't know about best practices. |
Pull request merged. That should solve the issue. |
@emilabraham Hey :) When will this change be in a stable release for install via npm? |
Paging @HardTacos as he is the publisher of the official npm module. |
Hello ! This change is not on the stable release. Is this repository still maintained ? |
bump still not merged into stable |
changes have been published to npm. |
It seems to have installed correctly in my project. I see it my node_modules folder. I also see it in my package.json. But when I require the module and attempt to run it, I get a Module not found error. My project can be found on my github: https://github.com/emilabraham/apchange
The text was updated successfully, but these errors were encountered: