Answer the question
In order to leave comments, you need to log in
Why doesn't ember test work? And why is node_modules empty?
Just started to deal with ember.
Created the first project, launched ember serve.
Everything works - the link localhost:4200 goes to the start page.
But when I tried to run ember test I got: node_modules appear empty, you may need to run npm install.
I opened the node_modules folder and it is empty. On the Internet, it is clear that I am not the only one with such problems.
How is it solved? I want to run ember test without any errors
Answer the question
In order to leave comments, you need to log in
You must first run npm install in the root directory of the project. This applies not only to ember, but also to any nodejs project containing third-party modules. The modules themselves will not be installed automatically (if this is not specified in your deployment script, of course).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question