Comments (7)
Hi @flx-rsc, found the issue and fixed it. Releasing ui5-tooling-modules:0.7.8
(should be available in some mins) - should really work now, I added axios also to my test cases! Please let me know if there are further issues with it...
from ui5-typescript-tutorial.
Hi @flx-rsc , which version of the ui5-tooling-modules
do you consume? Did you update to the latest version? Last week there was a bug in the ui5-tooling-modules
which has been fixed over the weekend.
from ui5-typescript-tutorial.
hi @petermuessig
sorry for the late reply.
i had tested it with version 0.7.1. But unfortunately the error is still present after updating to 0.7.3.
from ui5-typescript-tutorial.
Hi @flx-rsc ,
I did some rework of the ui5-tooling-modules
and fixed an issue with the module resolution which is solved with 0.7.6
. Can you please verify?
THX and BR, Peter
from ui5-typescript-tutorial.
I just released [email protected]
- improves the module resolution and should now work properly
from ui5-typescript-tutorial.
Hi @petermuessig
I have now tested it again with 0.7.7 unfortunately it still does not work.
after the update i get the following errors:
ERR! server:custommiddleware:ui5-tooling-modules TypeError: Cannot read properties of undefined (reading 'type')
ERR! server:custommiddleware:ui5-tooling-modules at Module.wrapMultipleReturns (C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\@buxlabs\amd-to-es6\src\class\Module.js:136:19)
ERR! server:custommiddleware:ui5-tooling-modules at Module.prepare (C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\@buxlabs\amd-to-es6\src\class\Module.js:66:10)
ERR! server:custommiddleware:ui5-tooling-modules at Module.convert (C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\@buxlabs\amd-to-es6\src\class\Module.js:53:12)
ERR! server:custommiddleware:ui5-tooling-modules at module.exports (C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\@buxlabs\amd-to-es6\src\converter.js:14:12)
ERR! server:custommiddleware:ui5-tooling-modules at Object.transform (C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\ui5-tooling-modules\lib\rollup-plugin-amd-custom.js:19:22)
ERR! server:custommiddleware:ui5-tooling-modules at C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\rollup\dist\shared\rollup.js:24220:40
ERR! server:custommiddleware:ui5-tooling-modules Couldn't bundle axios: TypeError: Cannot read properties of undefined (reading 'type') TypeError: Cannot read properties of undefined (reading 'type')
ERR! server:custommiddleware:ui5-tooling-modules at Module.wrapMultipleReturns (C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\@buxlabs\amd-to-es6\src\class\Module.js:136:19)
ERR! server:custommiddleware:ui5-tooling-modules at Module.prepare (C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\@buxlabs\amd-to-es6\src\class\Module.js:66:10)
ERR! server:custommiddleware:ui5-tooling-modules at Module.convert (C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\@buxlabs\amd-to-es6\src\class\Module.js:53:12)
ERR! server:custommiddleware:ui5-tooling-modules at module.exports (C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\@buxlabs\amd-to-es6\src\converter.js:14:12)
ERR! server:custommiddleware:ui5-tooling-modules at Object.transform (C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\ui5-tooling-modules\lib\rollup-plugin-amd-custom.js:19:22)
ERR! server:custommiddleware:ui5-tooling-modules at C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\rollup\dist\shared\rollup.js:24220:40 {
ERR! server:custommiddleware:ui5-tooling-modules code: 'PLUGIN_ERROR',
ERR! server:custommiddleware:ui5-tooling-modules plugin: 'commonjs--resolver',
ERR! server:custommiddleware:ui5-tooling-modules hook: 'resolveId',
ERR! server:custommiddleware:ui5-tooling-modules id: 'C:\\Users\\flx-rsc\\Documents\\com.myorg.myapp\\node_modules\\axios\\lib\\utils.js',
ERR! server:custommiddleware:ui5-tooling-modules watchFiles: [
ERR! server:custommiddleware:ui5-tooling-modules 'C:\\Users\\flx-rsc\\Documents\\com.myorg.myapp\\node_modules\\axios\\index.js',
ERR! server:custommiddleware:ui5-tooling-modules '\x00rollup-plugin-inject-process-env',
ERR! server:custommiddleware:ui5-tooling-modules 'C:\\Users\\flx-rsc\\Documents\\com.myorg.myapp\\node_modules\\axios\\lib\\axios.js',
ERR! server:custommiddleware:ui5-tooling-modules 'C:\\Users\\flx-rsc\\Documents\\com.myorg.myapp\\node_modules\\axios\\lib\\utils.js'
ERR! server:custommiddleware:ui5-tooling-modules ]
ERR! server:custommiddleware:ui5-tooling-modules }
ERR! server:custommiddleware:ui5-tooling-modules TypeError: Cannot read properties of undefined (reading 'type')
ERR! server:custommiddleware:ui5-tooling-modules at Module.wrapMultipleReturns (C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\@buxlabs\amd-to-es6\src\class\Module.js:136:19)
ERR! server:custommiddleware:ui5-tooling-modules at Module.prepare (C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\@buxlabs\amd-to-es6\src\class\Module.js:66:10)
ERR! server:custommiddleware:ui5-tooling-modules at Module.convert (C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\@buxlabs\amd-to-es6\src\class\Module.js:53:12)
ERR! server:custommiddleware:ui5-tooling-modules at module.exports (C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\@buxlabs\amd-to-es6\src\converter.js:14:12)
ERR! server:custommiddleware:ui5-tooling-modules at Object.transform (C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\ui5-tooling-modules\lib\rollup-plugin-amd-custom.js:19:22)
ERR! server:custommiddleware:ui5-tooling-modules at C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\rollup\dist\shared\rollup.js:24220:40
ERR! server:custommiddleware:ui5-tooling-modules Couldn't bundle axios: TypeError: Cannot read properties of undefined (reading 'type') TypeError: Cannot read properties of undefined (reading 'type')
ERR! server:custommiddleware:ui5-tooling-modules at Module.wrapMultipleReturns (C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\@buxlabs\amd-to-es6\src\class\Module.js:136:19)
ERR! server:custommiddleware:ui5-tooling-modules at Module.prepare (C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\@buxlabs\amd-to-es6\src\class\Module.js:66:10)
ERR! server:custommiddleware:ui5-tooling-modules at Module.convert (C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\@buxlabs\amd-to-es6\src\class\Module.js:53:12)
ERR! server:custommiddleware:ui5-tooling-modules at module.exports (C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\@buxlabs\amd-to-es6\src\converter.js:14:12)
ERR! server:custommiddleware:ui5-tooling-modules at Object.transform (C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\ui5-tooling-modules\lib\rollup-plugin-amd-custom.js:19:22)
ERR! server:custommiddleware:ui5-tooling-modules at C:\Users\flx-rsc\Documents\com.myorg.myapp\node_modules\rollup\dist\shared\rollup.js:24220:40 {
ERR! server:custommiddleware:ui5-tooling-modules code: 'PLUGIN_ERROR',
ERR! server:custommiddleware:ui5-tooling-modules plugin: 'commonjs--resolver',
ERR! server:custommiddleware:ui5-tooling-modules hook: 'resolveId',
ERR! server:custommiddleware:ui5-tooling-modules id: 'C:\\Users\\flx-rsc\\Documents\\com.myorg.myapp\\node_modules\\axios\\lib\\utils.js',
ERR! server:custommiddleware:ui5-tooling-modules watchFiles: [
ERR! server:custommiddleware:ui5-tooling-modules 'C:\\Users\\flx-rsc\\Documents\\com.myorg.myapp\\node_modules\\axios\\index.js',
ERR! server:custommiddleware:ui5-tooling-modules '\x00rollup-plugin-inject-process-env',
ERR! server:custommiddleware:ui5-tooling-modules 'C:\\Users\\flx-rsc\\Documents\\com.myorg.myapp\\node_modules\\axios\\lib\\axios.js',
ERR! server:custommiddleware:ui5-tooling-modules 'C:\\Users\\flx-rsc\\Documents\\com.myorg.myapp\\node_modules\\axios\\lib\\utils.js'
ERR! server:custommiddleware:ui5-tooling-modules ]
ERR! server:custommiddleware:ui5-tooling-modules }
Thanks and br
from ui5-typescript-tutorial.
I'll check it - there seems to be an issue parsing the module as AMD module... Being generic is always challenging - sigh 😅
from ui5-typescript-tutorial.
Related Issues (14)
- Exercise 8: Chart is not displayed HOT 3
- Failed to resolve dependencies HOT 7
- Getting error in exercise 1 - ui5-typescript-tutorial HOT 1
- manifest.json not found HOT 1
- OPenAI API integration fails HOT 2
- `ModuleError: Failed to resolve dependencies` (`npm`, `zod`) HOT 10
- Error: env.lookup(...).filter is not a function HOT 1
- Issue to run script karma in ex6 HOT 4
- [rl-vulnerability_alerts-1] Violation against OSS Rules of Play
- [rl-reuse_tool-4] Violation against OSS Rules of Play HOT 5
- ERROR: "watch:ts" exited with 1. HOT 5
- Improvement: add `@openui5/ts-types-esm` to separate `types` section in the `tsconfig.json` HOT 1
- ex8: Chart is not a constructor HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ui5-typescript-tutorial.