-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Can this be used in the browser environment?
It's trying to require "request" module which cannot. I cannot work out how to force npm not to load this module since I will use a shim of request for the browser.
As you can see in the bellow error, it keeps trying to get "request":
ERROR in ../~/request/lib/har.js
Module not found: Error: Can't resolve 'fs' in '/home/pauld/Development/PROJECT2/vapeshot/reactor-modern-boilerplate/node_modules/request/lib'
@ ../~/request/lib/har.js 3:9-22
@ ../~/request/request.js
@ ../~/request/index.js
@ ../~/request-etag/lib/request-etag.js
@ ./Service/ApiService.js
@ ./Service/session/ManualSessionService.js
@ ./components/Layout.js
@ ./components/App.js
@ ./index.js
@ multi babel-polyfill ./index.js