When I try to npm run build on the example project, it fails:
C:\ws\preact-book-example>npm run build
> [email protected] build C:\ws\preact-book-example
> npm run build:firebase && preact build
npm WARN invalid config loglevel="notice"
> [email protected] 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! [email protected] build:firebase: `preact serve --server config > firebase.json`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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?