[webpack]zsh: command not found: webpack
2021-03-14 05:31
标签:path 解决方法 not found zsh not 命令 command exp ack 环境:mac 工程已安装局部依赖包 npm install webpack webpack-cli -D 配置好webpack.config.js文件 但执行webpack报错 zsh: command not found: webpack 因为当前环境变量中,没有找到对应的命令,解决方法如下: ? echo ‘export PATH="./node_modules/.bin:$PATH"‘ >> ~/.zshrc [webpack]zsh: command not found: webpack 标签:path 解决方法 not found zsh not 命令 command exp ack 原文地址:https://www.cnblogs.com/minnie-huang/p/12812562.html
? source ~/.zshrc
下一篇:webpack4知识汇总
文章标题:[webpack]zsh: command not found: webpack
文章链接:http://soscw.com/index.php/essay/64441.html