andyrj / hyperapp-starter

*WIP* starter for hyperapp with HMR on both server and client side
7 stars 0 forks source link

Invalid configuration object #1

Open lyquocnam opened 7 years ago

lyquocnam commented 7 years ago
WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration.output.path: The provided value "\\.build\\" is not an absolute path!

i waiting for this starter kit.

andyrj commented 7 years ago

Thanks for the bug report haven't seen this. Which version of webpack is giving this error?

andyrj commented 7 years ago

I will update it to give an absolute path, just curious which version this became required.

lyquocnam commented 7 years ago

@andyrj i dont know, i just clone project and see it 🗡

andyrj commented 7 years ago

@lyquocnam I just upgraded all deps and forced fresh install by removing node_modules and do not see this error in linux... I believe you are using windows which doesn't like the linux hidden directory that I was using in the output path. I really don't have plans of supporting windows in my little starter project. If you or someone else feels like submitting PRs to add windows support I am open to merging it but don't have windows dev setup locally or the desire to get a windows dev setup just to correct this webpack build error.

Also to note, the master branch is relying on the hyperapp/server PR https://github.com/hyperapp/server/pull/6, which I made to merge undom SSR into that repo, which has not been merged and I am not actively pushing it forward, so this repo is kind of in a bad state in that regard. You may want to correct the build and use what is in this repo and that PR to create your own setup that works with windows.