microsoft-graph-explorer-v4
microsoft-graph-explorer-v4 copied to clipboard
TypeError: Ajv is not a constructor
Describe the bug When attempting to run locally, via "npm start" I get: TypeError: Ajv is not a constructor
To Reproduce Steps to reproduce the behavior:
- run npm install
- run npm start
- Observe this error in console, "TypeError: Ajv is not a constructor"
Expected behavior Application starts
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: GitHub Codespace
- Browser: chrome
- Version 103.0.5060.134 (Official Build) (64-bit)
Additional context Following advice on StackOverflow (https://stackoverflow.com/questions/71111343/typeerror-ajv-is-not-a-constructor-when-i-run-npm-run-build) for that specific error, I downgraded the [mini-css-extract-plugin] package to 2.4.7 and the app started.
Hey @irwinwilliams. Running 'npm run start' instead of 'npm start' will start the app without any errors. We are investigating why this is the case for 'npm start'
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.