svelte-apollo error 'PORT' is not recognized...
beebase opened this issue · 2 comments
beebase commented
After npm install , npm run dev I'm gettig this error.
> svelte-app@1.0.0 dev
> PORT=3000 rollup -c -w
'PORT' is not recognized as an internal or external command,
operable program or batch file.
beebase commented
Ok, found it.
In the package.json this doesn't work with Windows:
"dev": "PORT=3000 rollup -c -w",
should be this for Windows users:
"dev": "set PORT=3000 && rollup -c -w",
maybe add this in the readme.
praveenweb commented
@beebase - Thanks for reporting the issue. I have added a note on the setup page instructions.