dan-divy/spruce

dbHost not recognized

evan9523 opened this issue · 7 comments

Hi whenever i type in npm start it says "dbHost not recognized."

Hello @evan9523,
Thanks for opening the issue.

Could you please provide a screenshot or the full error displayed in the terminal?

Hello I am having the same issue. 'db host' is not recognized as a command
screenshot attached
error spruce db host

Hi! @thisistuhinsen and @evan9523 in your package.json can you change

"scripts": {
    "start": "dbHost=localhost node ./bin/www"
  },

to

"scripts": {
    "start": "export dbHost=localhost; node ./bin/www"
  },

and try again

Now its showing export not recognized as a command
error spruce export

@thisistuhinsen and @evan9523 change it to

"scripts": {
    "start": "node ./bin/www"
  },

This has been fixed in commit 7a4bce0

Closing the issue as it has been resolved