N
N
Nikolay Semenov2018-06-21 14:38:47
JavaScript
Nikolay Semenov, 2018-06-21 14:38:47

Why is npm package not looked for in node_modules?

Guys, hello everyone.
I have an angular project in visual studio. So there I installed the amchart package via nugget packege, then I realized that this is not exactly what I need, I installed the amchart package for angular in node_modules, I connected the package in the angular module, but the project is not rendered due to an error that it is looking for a package in the root of the project, but accordingly, it is not found there. Why isn't it looking in node_modules? What have I done wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Victor P., 2018-06-21
@Jeer

delete the files, I don’t remember exactly, shrinkwrap.json and lock.json are present in the names. And do Npm install again

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question