Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.output.path: The provided value "./dist" is not an absolute path!
- configuration.output.path: The provided value "./dist" is not an absolute path!
2017-08-07
webpack hello.js hello.bundle.js出现bash:webpack:command not found,试过在.bin执行或者npm run-script都不行
2017-08-07
谢谢老师,老师再见。一开始的报错看评论区的解答,就跟着解决了,后面看到第四章的报错看评论区也解决不了,然后去官方文档重新过了一遍基础才解决(主要是版本问题)。有些人说老师的过时了很坑,我觉得“你想正确你就自己去看文档钻研,衣来伸手饭来张口还嫌弃了”!文档是茫茫多的详尽知识(全部看完猴年马月?而且自己需要的是哪些?),而老师是告诉你实际应用中常用的功能!看视频才知道知道哪些是常用的功能,才知道自己要用到什么,然后同步去翻文档,查资料或者参考别人的解决办法。
2017-08-06