When I run npm install
from a react-boilerplate project several of my 3rd party modules give off errors like you see below. All these modules work fine in other node projects, just not in react-boilerplate. Does anyone know how to fix these?
ERROR in ./~/nconf/lib/nconf.js
Module not found: Error: Can't resolve 'fs' in '/Users/me/src/fullboar/probate-web/node_modules/nconf/lib'
@ ./~/nconf/lib/nconf.js 8:9-22
ERROR in ./~/nconf/package.json
Module parse failed: /Users/me/src/fullboar/probate-web/node_modules/nconf/package.json Unexpected token (2:9)
You may need an appropriate loader to handle this file type.
| {
| "_args": [
| [
| {
@ ./~/nconf/lib/nconf.js 21:16-42
ERROR in ./~/nconf/lib/nconf/common.js
Module not found: Error: Can't resolve 'fs' in '/Users/me/src/fullboar/probate-web/node_modules/nconf/lib/nconf'
@ ./~/nconf/lib/nconf/common.js 8:9-22
ERROR in ./~/sequelize/package.json
Module parse failed: /Users/me/src/fullboar/probate-web/node_modules/sequelize/package.json Unexpected token (2:9)
You may need an appropriate loader to handle this file type.
| {
| "_args": [
| [
| {
@ ./~/sequelize/lib/sequelize.js 265:20-46