Skip to content
This repository was archived by the owner on Apr 10, 2026. It is now read-only.

add extension to export#40

Open
rhalff wants to merge 1 commit into
jitsi:masterfrom
rhalff:master
Open

add extension to export#40
rhalff wants to merge 1 commit into
jitsi:masterfrom
rhalff:master

Conversation

@rhalff
Copy link
Copy Markdown

@rhalff rhalff commented Dec 29, 2020

I got the below build error trying to build lib-jitsi-meet with webpack 5 and therefore added the js extension.

WARNING in ./modules/RTC/TraceablePeerConnection.js 236:21-28
export 'Interop' (imported as 'Interop') was not found in '@jitsi/sdp-interop' (possible exports: )
 @ ./modules/RTC/RTC.js 21:0-64 501:30-53
 @ ./JitsiMeetJS.js 14:0-36 211:11-19 220:11-38 232:11-32 335:11-45 340:11-41 355:45-82
 @ ./index.js 3:0-49

ERROR in ./node_modules/@jitsi/sdp-interop/lib/index.js 16:0-26
Module not found: Error: Can't resolve './interop' in '/home/rhalff/development/lib-jitsi-meet/node_modules/@jitsi/sdp-interop/lib'
Did you mean 'interop.js'?
BREAKING CHANGE: The request './interop' failed to resolve only because it was resolved as fully specified
(probably because the origin is a '*.mjs' file or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
 @ ./modules/RTC/TraceablePeerConnection.js 2:0-45 236:21-28
 @ ./modules/RTC/RTC.js 21:0-64 501:30-53
 @ ./JitsiMeetJS.js 14:0-36 211:11-19 220:11-38 232:11-32 335:11-45 340:11-41 355:45-82
 @ ./index.js 3:0-49

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant