SeVeNDuS / node-onesignal-api

OneSignal's unofficial node.js client library for using OneSignal Rest API.
MIT License
50 stars 11 forks source link

Getting Errors after installing this npm lib and starting webpack dev server. #7

Open jasan-s opened 8 years ago

jasan-s commented 8 years ago

After running npm install node-onesignal-api --save and running local dev server, i get the following errors:

WARNING in ./~/request/main.js Module not found: Error: Cannot resolve module 'tls' in C:\Users\jasan\Downloads \duckr\node_modules\request @ ./~/request/main.js 41:8-22

ERROR in ./~/node-opensignal-api/lib/part/client.js Module not found: Error: Cannot resolve module 'fs' in C:\Users\jasan\Downloads\ duckr\node_modules\node-opensignal-api\lib\part @ ./~/node-opensignal-api/lib/part/client.js 7:9-22

ERROR in ./~/request/forever.js Module not found: Error: Cannot resolve module 'tls' in C:\Users\jasan\Downloads \duckr\node_modules\request @ ./~/request/forever.js 7:10-24

ERROR in ./~/request/tunnel.js Module not found: Error: Cannot resolve module 'tls' in C:\Users\jasan\Downloads \duckr\node_modules\request @ ./~/request/tunnel.js 4:10-24

ERROR in ./~/request/forever.js Module not found: Error: Cannot resolve module 'net' in C:\Users\jasan\Downloads \duckr\node_modules\request @ ./~/request/forever.js 6:10-24

ERROR in ./~/request/tunnel.js Module not found: Error: Cannot resolve module 'net' in C:\Users\jasan\Downloads \duckr\node_modules\request @ ./~/request/tunnel.js 3:10-24

SeVeNDuS commented 8 years ago

Which nodejs version are you using?

jasan-s commented 8 years ago

node v6.2.0