question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR TypeError: Cannot set property 'selected' of undefined

See original GitHub issue

ERROR TypeError: Cannot set property 'selected' of undefined at SlideshowComponent.buildSlideArray (ng-simple-slideshow.es5.js:325) at SlideshowComponent.setSlides (ng-simple-slideshow.es5.js:280) at SlideshowComponent.ngDoCheck (ng-simple-slideshow.es5.js:95) at checkAndUpdateDirectiveInline (core.js:12372) at checkAndUpdateNodeInline (core.js:13893) at checkAndUpdateNode (core.js:13836) at debugCheckAndUpdateNode (core.js:14729) at debugCheckDirectivesFn (core.js:14670) at Object.eval [as updateDirectives] (DetailProductsComponent.html:3) at Object.debugUpdateDirectives [as updateDirectives] (core.js:14655) View_DetailProductsComponent_0 @ DetailProductsComponent.html:3 proxyClass @ compiler.js:14653 DebugContext_.logError @ core.js:14996 ErrorHandler.handleError @ core.js:1509 (anonymous) @ core.js:5914 ZoneDelegate.invoke @ zone.js:388 Zone.run @ zone.js:138 NgZone.runOutsideAngular @ core.js:4697 ApplicationRef.tick @ core.js:5914 (anonymous) @ core.js:5740 ZoneDelegate.invoke @ zone.js:388 onInvoke @ core.js:4749 ZoneDelegate.invoke @ zone.js:387 Zone.run @ zone.js:138 NgZone.run @ core.js:4566 next @ core.js:5740 schedulerFn @ core.js:4331 SafeSubscriber.__tryOrUnsub @ Subscriber.js:240 SafeSubscriber.next @ Subscriber.js:187 Subscriber._next @ Subscriber.js:128 Subscriber.next @ Subscriber.js:92 Subject.next @ Subject.js:56 EventEmitter.emit @ core.js:4311 checkStable @ core.js:4714 onHasTask @ core.js:4762 ZoneDelegate.hasTask @ zone.js:441 ZoneDelegate._updateTaskCount @ zone.js:461 Zone._updateTaskCount @ zone.js:285 Zone.runTask @ zone.js:205 drainMicroTaskQueue @ zone.js:595 Promise.then (async) scheduleMicroTask @ zone.js:578 ZoneDelegate.scheduleTask @ zone.js:410 Zone.scheduleTask @ zone.js:232 Zone.scheduleMicroTask @ zone.js:252 scheduleResolveOrReject @ zone.js:856 ZoneAwarePromise.then @ zone.js:946 PlatformRef.bootstrapModule @ core.js:5568 (anonymous) @ main.ts:13 ./src/main.ts @ main.bundle.js:613 __webpack_require__ @ inline.bundle.js:55 0 @ main.bundle.js:621 __webpack_require__ @ inline.bundle.js:55 webpackJsonpCallback @ inline.bundle.js:26 (anonymous) @ main.bundle.js:1 i’m trying to use simple slideshow in Angular 5.2.9, CLI 1.7.3, Node 9.10.1 but got the error

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Vatsal-Innovatemrcommented, Apr 11, 2019

@Vatsal-Innovatemr what version?

I am using version 1.2.8 as I update the version it works fine. Thanks for your response.

0reactions
dockleryxkcommented, Apr 11, 2019

@Vatsal-Innovatemr what version?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught TypeError: Cannot set property 'selected' of undefined
This is an old question, but it I got the same error recently. I fixed this adding an empty option tag, like this:...
Read more >
Uncaught TypeError: Cannot set property 'selected' of ... - GitHub
Hi, I'm using jQuery v1.11.0 and Chosen v1.1.0, and in some particular situation I'm getting the error in the title.
Read more >
Uncaught TypeError: Cannot set property
In JavaScript if a variable has been declared, but has not been assigned a value, is automatically assigned the value undefined . Therefore,...
Read more >
TypeError: Cannot set properties of Undefined in JavaScript
The "Cannot set properties of undefined" error occurs when setting a property on an undefined value. To solve the error, conditionally check if...
Read more >
How to solve the 'cannot set property of undefined' issue on ...
To access an object key the object has to exist. When it doesn't and you try to access the key, you get the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found