Output filename not configured Error in Webpack

前端 未结 17 1964
执笔经年
执笔经年 2021-01-07 18:08

I had installed it globally by running npm install webpack -g and I had included it in my project by running npm install webpack --save-dev.

However, on running the

17条回答
  •  自闭症患者
    2021-01-07 18:14

    Assuming that you would be using windows. i ran out into same error and realized i have to do something like this in wiindows d:\unpack-webpack> d:\unpack-webpack\node_modules.bin\webpack

    instead i was doing d:\unpack-webpack\node_modules.bin\webpack

    Hope this helps :) Thanks Gaurav Khurana

提交回复
热议问题