node_modules not excluded
I'm using phpStorm v 2018.1.4. I created new empty project and added package.json file. Then I run "npm install".
"node_modules" folder, which was created, is not excluded and not added to javascript/libraries. Is it ok? I read that it should be autoadded to excluded and marked as library.

Please sign in to leave a comment.
it's definitely not normal.. just tried the following (PhpStorm 2018.1.4, Windows):
- new fresh installation, default configuration and plugins
- create a new empty project, add package.json via File | New | package.json
- in built-in terminal, run npm i bootstrap --save
node_modules folder is auto-excluded, bootstrap package added to Javascript libraries
can you share your PhpStorm settings (File | Export settings) and idea.log?
Here are settings and .idea folder. I can't see idea.log file:
http://www.lukana.pl/ftp/phpstorm-delete.zip
Please see https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files for information about idea.log files location
Reproduced; to work out the issue, please remove `.` from PHP include paths in Settings | Languages & Frameworks | PHP, Include Path and re-open the project
Not sure if it's an expected behavior... Logged as https://youtrack.jetbrains.com/issue/WEB-33211, please follow it for updates
Now it's working - thank You.