hughsk / envify

:wrench: Selectively replace Node-style environment variables with plain strings.
902 stars 57 forks source link

Can't install envify in a local environment #18

Closed kingzbauer closed 9 years ago

kingzbauer commented 9 years ago

npm ERR! peerinvalid The package envify does not satisfy its siblings' peerDependencies requirements!

Happens when I am trying out the flux example package.json contents:

 "devDependencies": {
        "jsxc": "~0.1.6",
        "browserify" : "^6.2.0",
        "reactify": "^0.15.2",
        "envify": "3.2.0",
        "jest-cli": "~0.1.17",
        "uglify-js": "~2.4.15",
        "watchify": "^2.1.1"
    },
    "scripts": {
        "start": "watchify -o js/bundle.js -v -d .",
        "build": "NODE_ENV=production browserify . | uglifyjs -cm > js/bundle.min.js",
        "test": "jest"
    },
    "browserify": {
        "transform": [
            "reactify",
            "envify"
        ]
    },
hughsk commented 9 years ago

I'm not sure what's causing this error – what's the flux example you're referring to?

kingzbauer commented 9 years ago

The one on this link. http://facebook.github.io/flux/docs/todo-list.html

mcabrams commented 9 years ago

@kingzbauer https://github.com/facebook/flux/issues/157#issue-57552811

Try that solution. This issue can probably be closed @hughsk .