Path for node_modules and package.json in project

Hello,

I have a project in Webstorm with a structure like this:

Project root
|------ frontend folder (js stuff)
         |------ node_modules folder
         |------ package.json
|------ backend folder (python stuff)

When I go to "Settings" -> "Node.js & npm" to add packages, they are installed in the root folder.

Project root
|------ node_modules folder
|------ package.lock.json
|------ frontend folder
         |------ node_modules folder
         |------ package.json
|------ backend folder

Is it possible to tell Webstorm where my package.json file is ?

Thank you for your answers and your time

0
2 comments

It's not possible unfortunately:( Please follow https://youtrack.jetbrains.com/issue/WEB-13399 and linked tickets for updates

0

Oh. Thank you for your answer, i'll follow this ticket.

1

Please sign in to leave a comment.