SDK 24.3 - yeoman scaffolding fails

We tried to create a new Smart View customization project. We follow the instructions from "4-0190 Content Server SmartView Development - 20.2"
When using yeoman for scaffolding we got the following error:
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\SmartView\generator\node_modules\chalk\source\index.js from C:\SmartView\generator\app\index.js not supported.
Instead change the require of C:\SmartView\generator\node_modules\chalk\source\index.js in C:\SmartView\generator\app\index.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (C:\SmartView\generator\app\index.js:3:15) {code: 'ERR_REQUIRE_ESM'}}
I tried to downgrade yeoman and node.js. Also tried to change generator\app\index.js to use ECM instead of cjs – but the error still appears.
The only solution found was to use to use SDK version 21.2 instead of the latest - 24.3 .
Can we expect problems using 21.2 generator to create widgets for a higher ECM versions?
What are the compatible versions of Node.js and yeoman for each SDK version?
Answers
-
required versions are included in the ReadMe.md file including in the SmartUI SDK ZIP file.
0
Categories
- All Categories
- 124 Developer Announcements
- 54 Articles
- 156 General Questions
- 155 Thrust Services
- 56 Developer Hackathon
- 38 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9.1K Extended ECM
- 920 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 35 eDOCS
- 195 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 11 XM Fax
- Follow Categories