Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

8.2.x FAILING on setimmediate, 8.1.12 OK

My app is failing to load after upgrading to 8.2.x (I've tried 8.2.0 and 8.2.2)

It works on 8.1.12

The error is:

ERROR in ./node_modules/timers-browserify/main.js
Module not found: Error: Can't resolve 'setimmediate' in '/path/to/my/app/node_modules/timers-browserify'
@ ./node_modules/timers-browserify/main.js 51:0-23

That line of code is:

I can see that jwplayer.js in version 8.1.12 had only one mention of setImmediate: `v=window.setImmediate;` in the `jwplayer.js` file

now, jwplayer.js in version 8.2.x uses setImmediate differently. I can see that jwplayer.js has changed the use of `setImmediate`.
`o._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){d(e,0)}`

1 Community Answers


JW Player Support Agent  
0 rated :


Do you have a link where I can take a look at the issue?


Heidi Williams-Foy
Team Lead, Support
JW Player

Post Your Public Answer