You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot destructure property 'payload' of 'sourceMap' as it is null.
This is happening because Node.js 18.8.0 changed the return value of findSourceMap from undefined to null if no source-map found (see here) and AVA is expecting undefinedhere.
Not sure if this was changed by mistake or on purpose in Node.js, so it might be reverted, but I wanted to raise this here in case other people run into this.
Might be anyway a good idea to change the if in ava to this?
Throws the following error:
This is happening because Node.js 18.8.0 changed the return value of
findSourceMap
fromundefined
tonull
if no source-map found (see here) and AVA is expectingundefined
here.Not sure if this was changed by mistake or on purpose in Node.js, so it might be reverted, but I wanted to raise this here in case other people run into this.
Might be anyway a good idea to change the if in ava to this?
nodejs/node#44391
The text was updated successfully, but these errors were encountered: