Skip to content

无法获取未定义或 null 引用的属性“apply” #5161

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

Closed
dulinxi opened this issue Mar 2, 2017 · 5 comments
Closed

无法获取未定义或 null 引用的属性“apply” #5161

dulinxi opened this issue Mar 2, 2017 · 5 comments

Comments

@dulinxi
Copy link

dulinxi commented Mar 2, 2017

Windows 10 angular-cli 1.0.0-rc.0

The code run in Chrome browser or Firefox browser was succeed,but it run in IE(9,10,11) was failed and report the error message '无法获取未定义或 null 引用的属性“apply”'。at
function combine(options) { return (_a = ((Object))).assign.apply(_a, [{}].concat(options)); var _a; }

@mattdistefano
Copy link

Check your polyfills.ts and make sure you're including everything noted for IE. Most likely the error is Object.assign not being present in IE (the polyfills will fix this).

@dulinxi
Copy link
Author

dulinxi commented Mar 2, 2017

thanks.

@filipesilva
Copy link
Contributor

Closing as answered.

@usernamealreadyis
Copy link

#5041

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants