This repository was archived by the owner on Jun 5, 2023. It is now read-only.
Module not found: Error: Can't resolve 'class-validator' #30
Unanswered
thinkgandhi
asked this question in
Q&A
Replies: 1 comment
-
Hi @thinkgandhi, I just double checked, but it looks to be working fine. Did you do |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I followed the instructions to Customize the site
And I am getting the following error:
ERROR in ./node_modules/routing-controllers/esm2015/ActionParameterHandler.js
Module not found: Error: Can't resolve 'class-validator' in '/mnt/c/repos/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
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! apim-developer-portal@1.2.0 start:
webpack --config webpack.designer.js && webpack --config webpack.host.js && node ./dist/host/index.js
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the apim-developer-portal@1.2.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Note : I tried from both Windows and WSL . It's same result.
Beta Was this translation helpful? Give feedback.
All reactions