Description
Bug Report
Prerequisites
- Can you reproduce the problem?
- Are you running the latest version?
- Are you reporting to the correct repository?
- Did you perform a cursory search?
For more information, see the CONTRIBUTING
guide.
Description
Building my app in a docker container and running v2.2.0 of @microsoft/microsoft-graph-client
in Node.js 14.13.1.
This is a new error that I didn't experience last week when building the container, but I didn't notice any recent changes to package.json
or ImplicitMSALAuthenticationProvider.ts
that would cause this.
Console Errors: [Is there any console error]
Error: Cannot find module 'msal'
Require stack:
- /usr/app/node_modules/@microsoft/microsoft-graph-client/lib/src/ImplicitMSALAuthenticationProvider.js
- /usr/app/node_modules/@microsoft/microsoft-graph-client/lib/src/index.js
Screenshots: [If applicable, add screenshots to help explain your problem]
N/A
Steps to Reproduce
- Add
@microsoft/microsoft-graph-client
to your Node.js project. import { Client } from '@microsoft/microsoft-graph-client'
from a file in your project- See error
Expected behavior: [What you expected to happen]
Not error
Actual behavior: [What actually happened]
Error above
Additional Context
Add any other context about the problem here..
Usage Information
SDK Version - [SDK version you are using]
v2.2.0
- Node (Check, if using Node version of SDK)
Node Version - [The version of Node you are using]
14.13.1
- Browser (Check, if using Browser version of SDK)
Browser Name - [The name of Browser that you are using for SDK]
Version - [The version of the browser you are using]