Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add extension to export #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add extension to export #40

wants to merge 1 commit into from

Conversation

rhalff
Copy link

@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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant