pycharm npm unresolved function or method from a validator node_modules package

Any reason why when I type in the period there is no auto suggestions for validator?  Everything is pretty much vanilla PyCharm setup.  You can see the api for validator has quite a few methods.  None of them are showing up with intelli-sense. https://www.npmjs.com/package/validator

 

 

3 comments
Comment actions Permalink

Installing the typings should help: `npm install --save @types/validator`.

0
Comment actions Permalink

Note that this may not work for validator because of a bug in the IDE (https://youtrack.jetbrains.com/issue/WEB-43528)

0
Comment actions Permalink

It looks like the bug has not been worked on for a year?

0

Please sign in to leave a comment.