on 05-04-2020 4:54 PM
I am working on a node project in which I want to use the Position Management API under Employee Central API Package. So After generating the entities from ECPositionManagement.edmx file, while importing any Entity from Position Management, I am getting "error uncaughtException: Cannot find module './RuleFieldMappingBeanList'"
Error: Cannot find module './RuleFieldMappingBeanList'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (C:\Users\Rahil\Desktop\SAP Extention\SFSDKAPP\srv\generated\sfo-data-service-1\index.js:24:10)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
So I went into the folder where all the entities are generated and found that there no such file present but I found one typescript file with the same name but there was no JS file of that, whereas for each entity there is one JS and one Typescript file. I don't know where I will get it JS file.
Hi Rahil,
sorry for blocking you app.
We fixed the issue last week and made a release yesterday.
Please try our new version:1.21.0 and generate the VDMs again.
Please let me know whether it helps.
Best regards,
Junjie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.