When I try to npm run build on the example project, it fails:
C:\ws\preact-book-example>npm run build
> preact-book-example@0.0.0 build C:\ws\preact-book-example
> npm run build:firebase && preact build
npm WARN invalid config loglevel="notice"
> preact-book-example@0.0.0 build:firebase C:\ws\preact-book-example
> preact serve --server config > firebase.json
TypeError: Path must be a string. Received undefined
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! preact-book-example@0.0.0 build:firebase: `preact serve --server config > firebase.json`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the preact-book-example@0.0.0 build:firebase script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
...
As you can see, I am running this on Windows.
Any ideas as to what is going wrong here?
When I try to
npm run buildon the example project, it fails:As you can see, I am running this on Windows.
Any ideas as to what is going wrong here?