on 09-19-2023 9:58 AM
Hello,
When trying to create a Fiori List Report using Fiori tools in Businss Application Studio I can no longer run 'npm start' after running 'npm install'. Last time I created a Fiori app using the tools it worked fine.
user: storesettings $ npm install
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated @ui5/logger@2.0.1: UI5 Tooling version 2 is out of maintenance. Migrate your project to the latest version: https://sap.github.io/ui5-tooling/stable/
npm WARN deprecated @ui5/fs@2.0.6: UI5 Tooling version 2 is out of maintenance. Migrate your project to the latest version: https://sap.github.io/ui5-tooling/stable/
npm WARN deprecated @ui5/logger@2.0.1: UI5 Tooling version 2 is out of maintenance. Migrate your project to the latest version: https://sap.github.io/ui5-tooling/stable/
added 641 packages, removed 951 packages, changed 37 packages, and audited 689 packages in 24s
78 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
user: project$ npm start
> storesettings@0.0.1 start
> fiori run --open "test/flpSandbox.html?sap-client=100&sap-ui-xx-viewCache=false#project-tile"
Command run failed with error Cannot find module 'is-ci'
Require stack:
- /home/user/projects/project/node_modules/@sap/ux-ui5-tooling/dist/cli/index.js
- /home/user/projects/project/node_modules/@sap/ux-ui5-tooling/bin/fiori<br>
This happens both on my devspace where I've migrated from @ui5/cli 2 to version 3, and on a completely new clean devspace.
Hello 9ef2f01b41e84f219aa1e666d8f86042,
it seems that there was an issue with "node_modules" installation. I see in your screenshot that you did "npm install" before executing "npm start", but could you please try the following:
1. Delete "node_modules" folder
2. Delete "package-lock.json"
3. Execute "npm install"
4. Execute "npm start"
Thanks and Best Regards,
Zdravko
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think I found the root cause, this is reproducable every time I create a new project using the wizard.
In package.json it says
"@ui5/cli": "^3.0.0",
"@sap/ux-ui5-tooling": "1",
"@sap/ux-specification": "UI5-1.118",
"@sap-ux/ui5-middleware-fe-mockserver": "2"
},
But it also gives me errors
The "@sap/ux-specification" package installed version "1.108.14", does not match the declared range "UI5-1.118"(npm_dependency_issues)
"@sap-ux/ui5-middleware-fe-mockserver": "2",
"@sap/ux-specification": "^1.108.14",
"@sap/ux-ui5-tooling": "1",
"@ui5/cli": "^3.6.0"
},
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.