Uncaught TypeError: Cannot read property 'apply' of undefined common.es5.js
See original GitHub issueBug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
Versions.
Windows 7 Professional
@angular/cli: 1.0.4
node: 6.10.3
os: win32 x64
@angular/common: 4.1.3
@angular/compiler: 4.1.3
@angular/core: 4.1.3
@angular/forms: 4.1.3
@angular/http: 4.1.3
@angular/platform-browser: 4.1.3
@angular/platform-browser-dynamic: 4.1.3
@angular/router: 4.1.3
@angular/cli: 1.0.4
@angular/compiler-cli: 4.1.3
Repro steps.
npm -v
3.10.10
node -v
v6.10.3
npm install -g @angular/cli
ng new Angular4
cd Angular4
ng serve
The log given by the failure.
ng serve does not throw errors. But browser has following error:
Uncaught TypeError: Cannot read property 'apply' of undefined
combine @ common.es5.js:3091
ENTITIES @ common.es5.js:2941
__webpack_require__ @ bootstrap 6518a66546b9401e7158:52
module.exports @ http.es5.js:2185
__webpack_require__ @ bootstrap 6518a66546b9401e7158:52
webpackJsonp.104 @ src async:7
__webpack_require__ @ bootstrap 6518a66546b9401e7158:52
webpackJsonp.243 @ main.bundle.js:160
__webpack_require__ @ bootstrap 6518a66546b9401e7158:52
webpackJsonpCallback @ bootstrap 6518a66546b9401e7158:23
(anonymous function) @ main.bundle.js:1
Desired functionality.
I would like to run a sample application provided in https://cli.angular.io/
Mention any other details that might be useful.
This is a fresh start. This system had no node/npm/Angular/CLI installed before.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:12 (2 by maintainers)
Top Results From Across the Web
Cannot read property 'apply ' of undefined - javascript
If you called that function(original) {} with no argument (function(original) {})() then original is undefined and original.apply would ...
Read more >Uncaught TypeError: Cannot read property 'apply' of undefined ...
Uncaught TypeError : Cannot read property 'apply' of undefined common.es5.js.
Read more >Cannot Read Property of Undefined in JavaScript - Rollbar
TypeError: Cannot read property of undefined occurs when a property is read or a function is called on an undefined variable.
Read more >CANNOT READ PROPERTY 'APPLY' OF UNDEFINED
The message states that the button has no click-handler so it seems that the click handler (onResolvedOnlyClick) should be added not in the ......
Read more >cannot read property of undefined (reading 'id') angular
The problem is that as an Input variable, the reminders object is initially undefined until angular has finished initializing the component. See this...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I have same issue in ie11 and chrome. firefox is well.
Hi, just checking to see if there’s any update on the issue…