M
M
Mishka_Sev2020-09-14 04:19:02
Windows
Mishka_Sev, 2020-09-14 04:19:02

Where does NPM install its packages by default on Windows?

I installed the node on Windows 10, then installed Browsersync, I can’t find where he installed it to make changes to the settings.
I need to change the ip address and port to:

{
  host: "0.0.0.0",
  port: 3000
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Khegay, 2020-09-14
@Mishka_Sev

If you installed with the global parameter , then %AppData%\npm\node_modules or %AppData%\roaming\npm\node_modules
If without the parameter, then in the folder where the npm i command was run

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question