Closed maxceem closed 7 years ago
Hi, that because on windows you should use set NODE_ENV
instead of just NODE_ENV
, so basically open package.json in any text editor and change NODE_ENV=test gulp
to set NODE_ENV=test gulp
and all other scripts where I use NODE_ENV
if you need to.
I've run it under the linux instead, though I knew about set
. Mainly I've posted an issue just in case you would like to make it flawless to run for new window users.
@sarkistlt Hey. I changed "NODE_ENV" to "SET NODE_ENV" but still can't run the examples. Also can't run the project itself. I don't get any errors but it just exits after I run "npm run example" or any other script.
Hi, can you please update from muster branch (I've just added cross-env support) and follow to this instruction:
git clone https://github.com/sarkistlt/graphql-auto-generating-cms.git
cd graphql-auto-generating-cms
npm i
npm run-script example
open http://localhost:7700/
in your browser
Worked, thanks.
Hi.
Thank you for the project it looks interesting. But when I try the example I've got an error when performing
npm i
:I think this could be solved by using something like https://www.npmjs.com/package/cross-env