Giter Site home page Giter Site logo

Comments (26)

trotyl avatar trotyl commented on May 8, 2024 4

image

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.

cj0x39e avatar cj0x39e commented on May 8, 2024 1

ng-zero

类似的问题,反馈一下。在 angular 4.2.3 和 cli 版本 1.2.7 编译出错,之后 cli 升级到 1.3.0 还是同样的问题。最后升级 angular 至最新版本 4.3.4 编译成功。

from ng-zorro-antd.

yiranlee avatar yiranlee commented on May 8, 2024 1

@wilsoncook
1.my local dev environment in below pic
2017-08-16 11 52 58
2017-08-16 11 54 08
2. no errors when i install angular/cli and the ng-zorro-antd

from ng-zorro-antd.

huhaoGitHub avatar huhaoGitHub commented on May 8, 2024 1

先把NgZorroAntdModule.forRoot()从app.module移除,把项目正常跑起来以后,再引入它,热更新就可以跑起来。很神奇的赶脚。

from ng-zorro-antd.

vthinkxie avatar vthinkxie commented on May 8, 2024 1

@litttlefisher we will release next version tomorrow, thanks

from ng-zorro-antd.

vthinkxie avatar vthinkxie commented on May 8, 2024

try to update cli to the latest version, rm -rf node_modules, and retry again

from ng-zorro-antd.

yiranlee avatar yiranlee commented on May 8, 2024

the angular/cli and the ng-zorro-antd were the latest version

from ng-zorro-antd.

wilsoncook avatar wilsoncook commented on May 8, 2024

Agree with @trotyl , may it's time to remove dependencies that not privately needs

from ng-zorro-antd.

wilsoncook avatar wilsoncook commented on May 8, 2024

@yiranlee

  1. Could you please provide more information about your local dev environment ?
  2. Did you encounter with any errors or warnings while npm install ng-zorro-antd ?

from ng-zorro-antd.

vthinkxie avatar vthinkxie commented on May 8, 2024

@yiranlee
rm -rf node_modules and reinstall may be a temporary solution, have a try please, thanks for feedback.

from ng-zorro-antd.

LinboLen avatar LinboLen commented on May 8, 2024

it sames that our project angular dependeces version does't suit with ng-zorro-antd

from ng-zorro-antd.

wilsoncook avatar wilsoncook commented on May 8, 2024

@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.

yiranlee avatar yiranlee commented on May 8, 2024

@wilsoncook
2017-08-16 1 35 09

from ng-zorro-antd.

cipchk avatar cipchk commented on May 8, 2024

Hmmmm. in china please use cnpm!!

from ng-zorro-antd.

wilsoncook avatar wilsoncook commented on May 8, 2024

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.

liuliangjia avatar liuliangjia commented on May 8, 2024

我也是这个错误,怎么解决的?

from ng-zorro-antd.

wilsoncook avatar wilsoncook commented on May 8, 2024

@liuliangjia Please remove node_modules (rm -rf node_modules), then re-install all node modules (npm install) if emergency

from ng-zorro-antd.

olivewind avatar olivewind commented on May 8, 2024

I have a similar problem, upgrade angular to 4.3.4 can resolve this problem

from ng-zorro-antd.

liuliangjia avatar liuliangjia commented on May 8, 2024

只要是用cnpm重装就有可能出错,最后用npm install ,同时升到4.3.4就没问题了。

from ng-zorro-antd.

littlefisher666 avatar littlefisher666 commented on May 8, 2024

@wilsoncook 出错的问题,什么时候会发布新版本进行修复呢

from ng-zorro-antd.

vthinkxie avatar vthinkxie commented on May 8, 2024

@litttlefisher rm -rf node_modules and reinstall will solve this problem.

from ng-zorro-antd.

littlefisher666 avatar littlefisher666 commented on May 8, 2024

@vthinkxie 不知道为什么,删除了node_modules目录后重新cnpm install还是会报错,而且报错内容没有变化。难道跟window平台有关吗?全局环境中没有ng-zorro-antd

from ng-zorro-antd.

wilsoncook avatar wilsoncook commented on May 8, 2024

@litttlefisher It's about to be fixed in next version

from ng-zorro-antd.

littlefisher666 avatar littlefisher666 commented on May 8, 2024

@wilsoncook 所以我想了解下,下个版本什么时候上,每天来github检查一下毕竟比较麻烦

from ng-zorro-antd.

littlefisher666 avatar littlefisher666 commented on May 8, 2024

@vthinkxie @wilsoncook 谢谢两位大神,坐等明天修复后,开始玩ng-zorro-antd

from ng-zorro-antd.

lock avatar lock commented on May 8, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.