cancel
Showing results for 
Search instead for 
Did you mean: 

Missing is-ci in Busniness Application Studio

Mattias
Active Participant
0 Kudos

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.

View Entire Topic
Mattias
Active Participant
0 Kudos

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)


If I update package.json to the following, I can remove package-lock and install the dependencies again and everything works.

It seems the generator adds the wrong ux-specification version

    "@sap-ux/ui5-middleware-fe-mockserver": "2",
"@sap/ux-specification": "^1.108.14",
"@sap/ux-ui5-tooling": "1",
"@ui5/cli": "^3.6.0"
},