node.js - WebPack 升级
问题描述
我更新了下面的一些包,我得到了这个错误。升级后我无法运行该应用程序。你对这个问题有什么想法吗?我怎么解决这个问题?
构建命令是
webpack --mode production ./frontend/src/index.js --output-path ./frontend/static/frontend/main.js
我得到了这个错误。我没有更改任何文件的路径。
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\\BSH\\Bitbucket\\chatbot_platform\\frontend\\static\\frontend\\main.js\\main.js'
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! bsh_chatbot_dj@1.0.0 build: `webpack --mode production ./frontend/src/index.js --output-path ./frontend/static/frontend/main.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the bsh_chatbot_dj@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
解决方案
推荐阅读
- android - OptionsMenu - 如何更改选项菜单背景布局
- fix-protocol - cTrader FIX API 新单笔订单消息中的价格字段
- r - 安装 vqv/ggbiplot 的问题
- javascript - WordPress 中的 jQuery 问题。jQuery加载但不工作
- facebook - Facebook Messenger 文件命名方案
- mysql - laravel 查询生成器,通过 id 从其他表中获取总和
- node.js - 我已经用 brew 更新了 yarn,但我不再能够运行 yarn 命令
- python-3.x - Python 连续字符
- javascript - 出现几个特定字符时如何拆分字符串
- oracle - ORA-06502: PL/SQL: 数字或值错误: 通过游标插入数据时字符到数字的转换错误