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.

 

 

0
5 comments

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?

0
Avatar
Permanently deleted user

Here are settings and .idea folder. I can't see idea.log file:

http://www.lukana.pl/ftp/phpstorm-delete.zip

0

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

0
Avatar
Permanently deleted user

Now it's working - thank You.

0

Please sign in to leave a comment.