简体   繁体   中英

View logs for error running ember install command

I am trying to run the following command (new project setup using some addon);

ember install <path to my-local-addon-0.0.0.tgz>

While I get the following error;

You have to be inside an ember-cli project in order to use the install command.

I have ember-cli globally installed.

I wanted to know if I can get more details about the error after running commands like ember install..like a log or something which can convey more details for me to identify the issue.

Ember-cli project is set by ember new project-name or ember addon addon-name . Then you'd go inside project-name dir and for example try to ember install something . The error you get is self-descriptive: you are not in project directory.

And ember install doesn't have --verbose option.

try to add

–-verbose (or quick: -v) to your command!

ember install **-v** <path to my-local-addon-0.0.0.tgz>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM