perak / kitchen-site

Meteor Kitchen site source code
MIT License
282 stars 38 forks source link

application.json NPM packages needs to strip extra spaces #282

Open ljack opened 8 years ago

ljack commented 8 years ago

application.json NPM packages needs to strip extra spaces otherwise meteor-kitchen keeps trying to install the package everytime because it thinks it's not yet installed.

E.g.

        "packages": {
            "npm": [
                "phantomjs-prebuilt",
                "isomorphic-fetch ",
                "es6-promise"
            ]
        },

caused "npm install --save isomorphic-fetch" to run everytime meteor-kitchen cli executed.

It's actually PEBKAC but maybe at least a warning would be nice ;)

perak commented 8 years ago

Wow! how didyou find that? 👍 will be fixed in 0.9.62