Fail to generate a csui-extension project
Hi,
It's my first try. I've installed nodejs8,python 2, npm, yo,grunt-cli and so on based on the Readme.md file.
When I run 'yo csui-extension' to generate my project, I get some error messages.
The messages is like the following:
D:\OPENTEXT\smartview\my-extension>yo csui-extension C:\Users\shans\AppData\Roaming\npm\node_modules\yo\node_modules\yeoman-environment\lib\environment.js:534 } catch { ^ SyntaxError: Unexpected token { at createScript (vm.js:80:10) at Object.runInThisContext (vm.js:139:10) at Module._compile (module.js:617:28) at Object.Module._extensions..js (module.js:664:10) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) at Module.require (module.js:597:17) at require (internal/module.js:11:18) at Object.<anonymous> (C:\Users\shans\AppData\Roaming\npm\node_modules\yo\lib\router.js:8:27) D:\OPENTEXT\smartview\my-extension>
I've no idea about this error. Does anyone meet it before? How could I deal with it?
Comments
-
PS: The yo version is not correct. But I don't know which version to use with nodejs 8.17.0
0 -
@Shirley Shan can you confirm which versions of SmartUI and the components you installed ?
0 -
The project generator from the Smart UI SDK 21.2 was known not to work. You will need to patch it using the patch below.
Content Server Smart View SDK 21.2 Patch 1 was released, accessible from Content Server Smart View SDK 21.2. The zip archives are supposed to be unpacked to the same directory as the original archives were unpacked to replace the original files. The patch archives contain patch.txt with the patch information. Then the original instructions should be followed.
0
Categories
- All Categories
- 121 Developer Announcements
- 52 Articles
- 148 General Questions
- 144 Thrust Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 917 Cloud Fax and Notifications
- 83 Digital Asset Management
- 9.4K Documentum
- 30 eDOCS
- 178 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 7 XM Fax