microsoft-graph-explorer-v4 icon indicating copy to clipboard operation
microsoft-graph-explorer-v4 copied to clipboard

TypeError: Ajv is not a constructor

Open irwinwilliams opened this issue 2 years ago • 1 comments

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:

  1. run npm install
  2. run npm start
  3. 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.

irwinwilliams avatar Aug 02 '22 03:08 irwinwilliams

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'

Onokaev avatar Aug 04 '22 08:08 Onokaev

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.

ghost avatar Aug 14 '22 11:08 ghost