create a .env following the .env.example
- Login to azure using the Azure CLI:
az login
npm run start
To use this library on node v12
- copy the index.js file from @azure/identity/dist/ and use it directly on your project.
- Replace
var promises = require('fs/promises')
forvar promises = require('fs').promises
This library has to be copied so we can use it directly because nodeJS version 12 doesn't support the "fs/promises" package.