kaizensoze/node-github

Module not found: Error: Cannot resolve module 'oauth'

Closed this issue · 1 comments

I'm building a project which is a fork of electron-react-boilerplate.

I have added the github4 module to the packages.json file and ran npm i but when I start the server with npm run hot-server I have the following error :

ERROR in ./~/github4/test/oauth.js
Module not found: Error: Cannot resolve module 'oauth' in /home/zedtux/Developments/grrn/node_modules/github4/test
 @ ./~/github4/test/oauth.js 19:13-29

Of course, adding the oauth module to the package.json file solve the issue .. but it should be included as a dependency, shouldn't be ?

Awesome !