Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PickerService 发生 StaticInjectorError(AppModule)[PickerService -> Overlay]: 错误 #448

Closed
indesigncs opened this issue May 20, 2019 · 3 comments
Assignees

Comments

@indesigncs
Copy link

Version

0.12.1

Environment

WINDOWS10, 开发环境,

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-mobile-start-aqlejq?file=src%2Fapp%2Fapp.component.ts

Steps to reproduce

编译通过了,但访问页面就出错

What is expected?

访问正常,点击能弹出选择框

What is actually happening?

ERROR Error: StaticInjectorError(AppModule)[PickerService -> Overlay]:
StaticInjectorError(Platform: core)[PickerService -> Overlay]:
NullInjectorError: No provider for Overlay!
at NullInjector.push../node_modules/@angular/core/fesm5/core.js.NullInjector.get (core.js:8896)
at resolveToken (core.js:9141)
at tryResolveToken (core.js:9085)
at StaticInjector.push../node_modules/@angular/core/fesm5/core.js.StaticInjector.get (core.js:8982)
at resolveToken (core.js:9141)
at tryResolveToken (core.js:9085)
at StaticInjector.push../node_modules/@angular/core/fesm5/core.js.StaticInjector.get (core.js:8982)
at resolveNgModuleDep (core.js:21218)
at _createClass (core.js:21263)
at _createProviderInstance (core.js:21235)

Other?

@fisherspy fisherspy assigned 3fuyu and Guoyuanqiang and unassigned 3fuyu May 20, 2019
@sandyisone
Copy link

官方stackblitz示例也是一样的错误

@fisherspy
Copy link
Collaborator

#449

@fisherspy
Copy link
Collaborator

@sandyisone 0.12.2已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants