Comments (26)
Agree this is a bug, @angular/***
s shouldn't be made into dependencies
, it would cause sub dependencies being installed when version not being the same.
EDIT: May not relevant, since I'm using Angular 5.0 version.
from ng-zorro-antd.
类似的问题,反馈一下。在 angular 4.2.3 和 cli 版本 1.2.7 编译出错,之后 cli 升级到 1.3.0 还是同样的问题。最后升级 angular 至最新版本 4.3.4 编译成功。
from ng-zorro-antd.
@wilsoncook
1.my local dev environment in below pic
2. no errors when i install angular/cli and the ng-zorro-antd
from ng-zorro-antd.
先把NgZorroAntdModule.forRoot()从app.module移除,把项目正常跑起来以后,再引入它,热更新就可以跑起来。很神奇的赶脚。
from ng-zorro-antd.
@litttlefisher we will release next version tomorrow, thanks
from ng-zorro-antd.
try to update cli to the latest version, rm -rf node_modules, and retry again
from ng-zorro-antd.
the angular/cli and the ng-zorro-antd were the latest version
from ng-zorro-antd.
Agree with @trotyl , may it's time to remove dependencies that not privately needs
from ng-zorro-antd.
- Could you please provide more information about your local dev environment ?
- Did you encounter with any errors or warnings while npm install ng-zorro-antd ?
from ng-zorro-antd.
@yiranlee
rm -rf node_modules and reinstall may be a temporary solution, have a try please, thanks for feedback.
from ng-zorro-antd.
it sames that our project angular dependeces version does't suit with ng-zorro-antd
from ng-zorro-antd.
@yiranlee Could you please take a snapshot of under the node_modules/ng-zorro-antd/node_modules
folder ?
OR rm -rf node_modules and re-install is another temporary solution if emergency.
from ng-zorro-antd.
from ng-zorro-antd.
Hmmmm. in china please use cnpm!!
from ng-zorro-antd.
It could be confirmed as version conflict of angular and related, i am about to fix the specs of dependencies. @vthinkxie
from ng-zorro-antd.
我也是这个错误,怎么解决的?
from ng-zorro-antd.
@liuliangjia Please remove node_modules
(rm -rf node_modules
), then re-install all node modules (npm install
) if emergency
from ng-zorro-antd.
I have a similar problem, upgrade angular to 4.3.4 can resolve this problem
from ng-zorro-antd.
只要是用cnpm重装就有可能出错,最后用npm install ,同时升到4.3.4就没问题了。
from ng-zorro-antd.
@wilsoncook 出错的问题,什么时候会发布新版本进行修复呢
from ng-zorro-antd.
@litttlefisher rm -rf node_modules
and reinstall will solve this problem.
from ng-zorro-antd.
@vthinkxie 不知道为什么,删除了node_modules目录后重新cnpm install还是会报错,而且报错内容没有变化。难道跟window平台有关吗?全局环境中没有ng-zorro-antd
from ng-zorro-antd.
@litttlefisher It's about to be fixed in next version
from ng-zorro-antd.
@wilsoncook 所以我想了解下,下个版本什么时候上,每天来github检查一下毕竟比较麻烦
from ng-zorro-antd.
@vthinkxie @wilsoncook 谢谢两位大神,坐等明天修复后,开始玩ng-zorro-antd
from ng-zorro-antd.
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
from ng-zorro-antd.
Related Issues (20)
- rate-component output rateLeave
- No pipe found with name 'nzHighlight' HOT 2
- rate-component value
- I can’t set the week to start from Monday in nz-range-picker nzMode="week"
- CSP not supported with nz-range-picker - it still has a div that has inline styles HOT 3
- table custom Column(自定义列)nzScroll HOT 5
- nzTreeNodePadding does not work in tree-view component HOT 10
- when changing the tabs in modal, the tab content comes from the page which is out of the modal HOT 3
- how to control the row numbers in view, when use nzVirtual? 虚拟滚动,如何控制默认显示多少行 HOT 4
- Make "noDateVirtualHeight" an input and fix spelling HOT 4
- Notification stacking function HOT 1
- 【nz-tree】在节点中的设置的checked值为true的节点不会被getCheckedNodeList()获取 HOT 3
- Virtual table column alignment issue
- nz-anchor invalid selector '?' HOT 2
- nz-anchor invalid query selector '?' HOT 1
- Theme Customization: Dark mode using css custom properties:
- Time Range Picker component not provider for angular. But for react it is provided
- 希望nz-tree暴露cdkVirtualScrollViewport的scrolledIndexChange事件 HOT 2
- arrow of edges disapper in nz-graph
- Borderless tag with status(eg: warning) HOT 1
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 ng-zorro-antd.