SAP / ui5-typescript

Tooling to enable TypeScript support in SAPUI5/OpenUI5 projects
https://sap.github.io/ui5-typescript
Apache License 2.0
201 stars 28 forks source link

ESLint Report - Error "Parsing error: Cannot find module 'babel-preset-transform-ui5' blocks merge #326

Closed eiseleh closed 2 years ago

eiseleh commented 2 years ago

We have a Fiori Element app for which we use typescript since a long time without direct tool support. I migrated the app now according the guideline https://sap.github.io/ui5-typescript/#how-to-convert-an-existing-ui5-app-to-typescript

The app works fine in BAS. However, the eslint-run in jenkins report errors "Parsing error: Cannot find module '@babel/preset-env' ... which blocks us from merging. See: [link removed] The folder @Babel/preset_env is below our node_modules folder in the project.

akudev commented 2 years ago

Hi, can you please provide a link to your sources of the app? As it is likely going to be an internal link, please contact me directly via e-mail. I also removed a part of your above comment for this reason.

eiseleh commented 2 years ago

Hi The source is located in [internal link removed] The relevant pull-request is [internal link removed] I'm using BAS where eslint seems not working. Best regards,

akudev commented 2 years ago

This issue was resolved in direct communication: the CI check ran in production mode, where the dev-dependencies like Babel etc. were not available.