SAP / generator-easy-ui5

Meta-generator various project types within the UI5 Universe
https://blogs.sap.com/2021/04/09/easy-ui5-3.0-from-community-contributions-to-community-plugins/
Apache License 2.0
230 stars 72 forks source link

npm install fails #111

Closed petermuessig closed 1 year ago

petermuessig commented 1 year ago

Easy-UI5 is using internally the installDependencies command from Yeoman which adds the --cache-min 86400 arguments to the npm install command. This causes issues if new dependencies are needed like new @openui5/ts-types-esm version the first time! Consider to use npm install without this option!

I'm all done. Running npm install for you to install the required dependencies. If this fails, try running the command yourself.

    force com.myorg.myapp/.yo-rc.json
npm WARN config cache-min This option has been deprecated in favor of `--prefer-offline`.
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @openui5/ts-types-esm@1.105.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/XXX/.npm/_logs/2022-08-11T11_53_04_229Z-debug-0.log
> ~  % cd com.myorg.myapp 
> ~/com.myorg.myapp  % npm install --cache-min 86400
npm WARN config cache-min This option has been deprecated in favor of `--prefer-offline`.
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @openui5/ts-types-esm@1.105.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/XXX/.npm/_logs/2022-08-11T11_54_04_693Z-debug-0.log
> ~/com.myorg.myapp  % npm install --cache-min 86400
npm WARN config cache-min This option has been deprecated in favor of `--prefer-offline`.
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @openui5/ts-types-esm@1.105.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/XXX/.npm/_logs/2022-08-11T11_54_09_293Z-debug-0.log
> ~/com.myorg.myapp  % npm install --prefer-offline 
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @openui5/ts-types-esm@1.105.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/XXX/.npm/_logs/2022-08-11T11_54_21_929Z-debug-0.log