Installed module with npm but can't require it in my file. Webpack says:
./~/av/src/sources/node/file.js
Module not found: Error: Cannot resolve module 'fs' in /Users/davidnaas/Documents/idagio/idagio-web/node_modules/av/src/sources/node
The actual installation looked a bit weird too, could it be something in there?
> speaker@0.3.0 install /Users/davidnaas/Documents/idagio/idagio-web/node_modules/speaker
> node-gyp rebuild
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
CC(target) Release/obj.target/output/deps/mpg123/src/output/coreaudio.o
LIBTOOL-STATIC Release/liboutput.a
CXX(target) Release/obj.target/binding/src/binding.o
SOLINK_MODULE(target) Release/binding.node
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9
idagio-web@6.23.1 /Users/davidnaas/Documents/idagio/idagio-web
└─┬ av@0.4.9
├─┬ coffeeify@0.6.0
│ ├─┬ coffee-script@1.7.1
│ │ └── mkdirp@0.3.5
│ └── convert-source-map@0.3.5
└─┬ speaker@0.3.0
└─┬ readable-stream@2.2.3
└── isarray@1.0.0
Installed module with npm but can't require it in my file. Webpack says:
The actual installation looked a bit weird too, could it be something in there?
Or am I just missing something obvious?