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
{{ message }}
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
sample/package.json declares a dependency on Express v2 but sample/website-sample.js initializes express by calling express() which is Express v3 syntax.
To reproduce the issue:
git clone <repo>
cd sample
npm install && node website-sample.js
Failing output:
.../sample/website-sample.js:32varapp=express();^TypeError: objectisnotafunctionatObject.<anonymous> (.../sample/website-sample.js:32:11)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
The text was updated successfully, but these errors were encountered:
All current authentication work from Microsoft is delivered through the msal js library here There is plans to add a similar node.js wrapper to msal js, as can be seen on our roadmap here. adal js, and the adal-node wrapper, is still supported only for security fixes. We recommend moving to msal js for any advanced feature requests and bugfixes.
sample/package.json
declares a dependency on Express v2 butsample/website-sample.js
initializesexpress
by callingexpress()
which is Express v3 syntax.To reproduce the issue:
git clone <repo>
cd sample
npm install && node website-sample.js
Failing output:
The text was updated successfully, but these errors were encountered: