jsoverson / grunt-open

Open urls and files from a grunt task
MIT License
110 stars 19 forks source link

keep getting Fatal error: Cannot read property 'replace' of undefined #33

Open maqboolkhan opened 8 years ago

maqboolkhan commented 8 years ago

Every time i run grunt-open task i keep getting this

 Fatal error: Cannot read property 'replace' of undefined

my task is so simple

    open: {
        path: 'http://localhost:3000',
        app: 'Firefox'
    },

kindly help

geneh commented 8 years ago

It's probably too late but try using the following instead:

open: {
   dev: {
        path: 'http://localhost:3000',
        app: 'Firefox'
   }
},
vikasgupta001 commented 7 years ago

@geneh I have tried it, Nothing changed.

Uko commented 6 years ago

👍