Comments (7)
报错信息: configuration.entry should be one of these: ...
标识当前 webpack 配置中没有有效的 entry
在修改文件名, 删除文件时, beidou 会监听文件变化, 重新计算默认entry, 如果最终entry为空, 会导致上述错误
重新添加entry, 会自动恢复.
或者在控制台输入 rs
+ enter
, 强制重启webpack server
在 windows 10 + cmd/mingw 下测试生效
from beidou.
rs+enter确实可以,只是不能ctrl+s,虽然还是要重启服务,但是省去了yarn dev的操作,非常感谢!但是在client层还是不行,rs+enter还是不能启动服务。
from beidou.
@animecc44 服务重启宕机的问题我没能复现, 麻烦提供下详细信息:
- 系统版本
- shell 类型和版本
- 使用了哪个example工程
- 在新初始化的工程下是否存在此问题
from beidou.
1.系统版本号:windows 10 专业版 64位(10.0 版本16299)
2.shell类型和版本:Major Minor Build Revision
----- ----- ----- --------
5 1 16299 64
3.example为antd-admin
4.新初始化的工程下也存在此问题
from beidou.
�我也发现类似问题,由于我自定义添加了一些entry,导致ctrl+s的时候,自定义添加的entry会失效,此时需要重新npm run dev
,能不能在监听文件变化的时候,重新计算最近一次的entry,这样做的话会不会有什么问题,比如添加了一个入口文件
这样的变化就收录不到了
from beidou.
https://github.com/alibaba/beidou/blob/master/packages/beidou-webpack/agent.js#L28
你说的这个逻辑已经有了的,mac下是好的,我在windows虚拟机里一直没有复现
from beidou.
No more feedback, close
from beidou.
Related Issues (20)
- 路由错误最小复现
- 招贤纳士
- v2.2.1版本修改factory.getPlugin返回值无效 HOT 1
- with-dva 项目运行警告
- with-dva 在官方demo 修改成路由的模式
- 如何使用app.injectCsrf和app.injectNonce HOT 1
- Build framework on the top of Beidou HOT 2
- npm包版本问题
- 关于设置alias,出现Debug下无法加载资源
- ReactDOM.hydrate会覆盖服务端渲染结果,如果注释,相关事件就无效。如何处理? HOT 2
- facebook分享报206 HOT 4
- client获取controller数据 HOT 2
- 请问现在beidou还更新吗,有更好的解决方案了吗? HOT 2
- NODE_LOG_DIR not configured HOT 1
- typescript模板打包报错 HOT 3
- with-react-loadable 無法載入 HOT 1
- webpack 服务是否可以支持https
- 继续升级,作者继续啊
- 从零开始搭建应用 无法启动 HOT 3
- 主进程会偶尔收到SIGTERM信号导致程序exit HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beidou.