Module not found after npm install http-status-enum --save
kuncevic opened this issue · comments
import HTTP_STATUS_CODES from 'http-status-enum';
Cant find module http-status-enum' any thoughts?
I can see the module installed in node_modules and also have record in my
Also tried to reinstall and restart the
vscode. But still getting the error.
I republished the v1.0.0 tag on git and NPM cached the first publish with an invalid main location in package.json. I'll push a new version tag and update NPM, which should fix everything.
Still same even with latest "name": "http-status-enum", "version": "1.0.1" ...
error TS2307: Cannot find module 'http-status-enum'.