UI5 Serve error
pab008-007 opened this issue · 1 comments
pab008-007 commented
Expected Behavior
{UI5 SERVE ,normal}
Current Behavior
{When I finished the various configurations of UI5, UI5 -V also shows the version normally. But UI5 SERVE still reports an error}
Steps to Reproduce the Issue
- {When I finished the various configurations of UI5, UI5 -V also shows the version normally. But UI5 SERVE still reports an error}
- {Failed to locate package.json for directory D:\Node js\node_global}
- {...}
Context
- UI5 Module Version (output of
ui5 --version
when using the CLI):unknown
- Node.js Version:
unknown
- npm Version:
unknown
- OS/Platform:
unknown
- Browser (if relevant):
unknown
- Other information regarding your environment (optional):
nothing
Log Output / Stack Trace
{...}
d3xter666 commented
Hi @pab008-007 ,
It seems that you're not running the ui5 serve
command from within your app's directory.
Please cd
into your app's directory, where package.json is and execute ui5 serve
from there.
Cheers