Generator for UI5-based web-apps which use the official UI5 tooling and support multiple deployment targets such as the SAP Business Technology Platform
Apache License 2.0
33
stars
25
forks
source link
Error in directory paths when generating a new app inside an existing project #61
Run yo easy-ui5 --plugins to print all relevant version strings
Node.js: v16.14.0
yeoman-environment: 3.12.1
generator-easy-ui5: 3.5.1
home: /Users/I540401/.nvm/versions/node/v16.14.0/lib/node_modules/generator-easy-ui5
pluginsHome: /Users/I540401/.nvm/versions/node/v16.14.0/lib/node_modules/generator-easy-ui5/plugin-generators
Available generators:
ui5-project: 0.2.1
OS/version:
Macos 12.6
Browser/version (+device/version):
Chrome (latest)
Steps to reproduce the problem:
Create a project directory like this:
root-project-folder
server
README.md
... other stuff
cd into root-project-folder and run easy-ui5 to generate a new ui5 app (devtoberfest.travel) with fiori-tools support and choose YES to create a new directory.
This leave you with a project structure like this:
root-project-folder
devtoberfest.travel
uimodule
package.json
...
server
README.md
... other stuff
Now open vscode at the devtoberfest.travel folder and try npm start or click the "preview application" tile.
This fails with this error:
Now if I just create a new folder somewhere else and run easy-ui5 inside it and say 'dont create a new folder' it all works.
I can't see any difference in the generated files and paths).
Easy-Ui5 version:
Available generators:
OS/version:
Macos 12.6
Browser/version (+device/version):
Chrome (latest)
Steps to reproduce the problem:
Create a project directory like this:
cd
into root-project-folder and run easy-ui5 to generate a new ui5 app (devtoberfest.travel) with fiori-tools support and choose YES to create a new directory. This leave you with a project structure like this:Now open vscode at the devtoberfest.travel folder and try
npm start
or click the "preview application" tile. This fails with this error:Now if I just create a new folder somewhere else and run easy-ui5 inside it and say 'dont create a new folder' it all works. I can't see any difference in the generated files and paths).
Any ideas?