API-Portal
API-Portal copied to clipboard
Cannot run local
When trying to run the API-Portal locally, I am getting the following error:

Hi @AndersLindPedersen, thank you for reporting the issue, we'll fix that. However, it should not really be blocking the work of the portal.
Hi @azaslonov - nope not blocked by this, just a heads-up. :)
Ran locally as mentioned in the documentation : https://github.com/Azure/API-Portal/wiki, but getting the error:
ERROR in ./node_modules/routing-controllers/esm2015/ActionParameterHandler.js Module not found: Error: Can't resolve 'class-validator' in '/Users/sudheerkumar/Documents/DAC/Code/GitHub/API-Portal/catalog/node_modules/routing-controllers/esm2015' @ ./node_modules/routing-controllers/esm2015/ActionParameterHandler.js 2:0-63 200:19-27 @ ./node_modules/routing-controllers/esm2015/RoutingControllers.js @ ./node_modules/routing-controllers/esm2015/index.js @ ./src/startup.host.ts @ multi ./src/startup.host.ts
Node version : 14.17.4
@cvsudheer108, I just tried to repro with fresh bit from scratch, but it works fine for me. You did npm install before running the project, right?