'webpack-dev-server' is not recognized as an internal or external command,

后端 未结 4 1498
名媛妹妹
名媛妹妹 2021-01-17 17:06

I cloned this Webpack Starter package through github using gitbash following a tutorial on pluralsight. I am trying to access webpack through Visual Studio Code\'s integrate

4条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-17 17:45

    For me, instead of installing webpack-dev-server globally, I simply uninstalled and reinstalled the local package:

    npm uninstall webpack-dev-server
    npm install webpack-dev-server
    

提交回复
热议问题