Hey,
In my current personal project Iam trying to implement the Todoist API.
I was following the blog post from Peter Muessig "Using NPM Packages in UI5 without Shims".
But every time I try to build the App, I get an error:
info normalizer:translators:ui5Framework Using OpenUI5 version: 1.107.1
info builder:builder Building project openui5-sample-app not including dependencies...
info builder:builder 🛠(1/1) Building project openui5-sample-app
info builder:builder application openui5-sample-app 🔨 (1/9) Running task escapeNonAsciiCharacters...
info builder:builder application openui5-sample-app 🔨 (2/9) Running task replaceCopyright...
info builder:builder application openui5-sample-app 🔨 (3/9) Running task replaceVersion...
info builder:builder application openui5-sample-app 🔨 (4/9) Running task ui5-tooling-modules-task...
Couldn't bundle @doist/todoist-api-typescript: TypeError: Cannot read properties of undefined (reading 'type') TypeError: Cannot read properties of undefined (reading 'type')
at Module.wrapMultipleReturns (C:\Users\gkaempfer\UI5\openui5-sample-app\node_modules\@buxlabs\amd-to-es6\src\class\Module.js:136:19)
at Module.prepare (C:\Users\gkaempfer\UI5\openui5-sample-app\node_modules\@buxlabs\amd-to-es6\src\class\Module.js:66:10)
at Module.convert (C:\Users\gkaempfer\UI5\openui5-sample-app\node_modules\@buxlabs\amd-to-es6\src\class\Module.js:53:12)
at module.exports (C:\Users\gkaempfer\UI5\openui5-sample-app\node_modules\@buxlabs\amd-to-es6\src\converter.js:14:12)
at Object.transform (C:\Users\gkaempfer\UI5\openui5-sample-app\node_modules\ui5-tooling-modules\lib\rollup-plugin-amd-custom.js:19:22)
at C:\Users\gkaempfer\UI5\openui5-sample-app\node_modules\rollup\dist\shared\rollup.js:22879:40 {
code: 'PLUGIN_ERROR',
plugin: 'commonjs--resolver',
hook: 'resolveId',
id: 'C:\\Users\\gkaempfer\\UI5\\openui5-sample-app\\node_modules\\@doist\\todoist-api-typescript\\dist\\authentication.js',
watchFiles: [
'C:\\Users\\gkaempfer\\UI5\\openui5-sample-app\\node_modules\\@doist\\todoist-api-typescript\\dist\\index.js',
...
]
}
info builder:builder application openui5-sample-app 🔨 (5/9) Running task generateFlexChangesBundle...
info builder:builder application openui5-sample-app 🔨 (6/9) Running task generateComponentPreload...
info builder:builder application openui5-sample-app 🔨 (7/9) Running task createDebugFiles...
info builder:builder application openui5-sample-app 🔨 (8/9) Running task uglify...
info builder:builder application openui5-sample-app 🔨 (9/9) Running task generateVersionInfo...
info builder:builder Build succeeded in 7.05 s
info builder:builder Executing cleanup tasks...
Does anybody had the same issue? If so, how did you resolved it?
If you need anything. Let my know. I'll share it with you.
Request clarification before answering.
Hi Gerrit,
first update the ui5-tooling-modules.
If this does not work, you can open a issue here:
https://github.com/ui5-community/ui5-ecosystem-showcase/issues
Here is the README for it:
https://github.com/ui5-community/ui5-ecosystem-showcase/tree/main/packages/ui5-tooling-modules
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.