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

noahdarveau/nextjs fix #2613

Merged
merged 2 commits into from
Nov 9, 2024
Merged

noahdarveau/nextjs fix #2613

merged 2 commits into from
Nov 9, 2024

Conversation

noahdarveau-MSFT
Copy link
Contributor

Some nextjs apps consuming teams-js builds are failing with the error TypeError: Cannot set properties of undefined (setting 'microsoftTeams'). From my investigation, it seems removing the type: module line in the package.json resolves the issue. A quick test shows removing that line does not impact treeshakability.

@noahdarveau-MSFT noahdarveau-MSFT marked this pull request as ready for review November 8, 2024 23:54
@noahdarveau-MSFT noahdarveau-MSFT requested a review from a team as a code owner November 8, 2024 23:54
@noahdarveau-MSFT noahdarveau-MSFT enabled auto-merge (squash) November 9, 2024 00:16
@noahdarveau-MSFT noahdarveau-MSFT merged commit 5b232cb into main Nov 9, 2024
29 checks passed
@noahdarveau-MSFT noahdarveau-MSFT deleted the noahdarveau/nextjs-fix branch November 9, 2024 00:23
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.

3 participants