Skip to content

Instantly share code, notes, and snippets.

@timhudson
Created January 28, 2016 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timhudson/f3f741f28541bfa7a88d to your computer and use it in GitHub Desktop.
Save timhudson/f3f741f28541bfa7a88d to your computer and use it in GitHub Desktop.
var redux = require('redux')
console.log('we made it!')
$ npm run build
> redux-env-test@ build /Users/timothyhudson/scratch/redux-env
> browserify index.js
Error: Cannot find module 'loose-envify' from '/Users/timothyhudson/scratch/redux-env/node_modules/redux'
at /Users/timothyhudson/scratch/redux-env/node_modules/resolve/lib/async.js:46:17
at process (/Users/timothyhudson/scratch/redux-env/node_modules/resolve/lib/async.js:173:43)
at ondir (/Users/timothyhudson/scratch/redux-env/node_modules/resolve/lib/async.js:188:17)
at load (/Users/timothyhudson/scratch/redux-env/node_modules/resolve/lib/async.js:69:43)
at onex (/Users/timothyhudson/scratch/redux-env/node_modules/resolve/lib/async.js:92:31)
at /Users/timothyhudson/scratch/redux-env/node_modules/resolve/lib/async.js:22:47
at FSReqWrap.oncomplete (fs.js:82:15)
npm ERR! Darwin 15.2.0
npm ERR! argv "/Users/timothyhudson/.nvm/versions/node/v4.2.3/bin/node" "/Users/timothyhudson/.nvm/versions/node/v4.2.3/bin/npm" "run" "build"
npm ERR! node v4.2.3
npm ERR! npm v3.5.3
npm ERR! code ELIFECYCLE
npm ERR! redux-env-test@ build: `browserify index.js`
npm ERR! Exit status 1
{
"name": "redux-env-test",
"main": "index.js",
"scripts": {
"build": "browserify index.js"
},
"dependencies": {
"redux": "^3.1.1"
},
"devDependencies": {
"browserify": "^13.0.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment