I used the exile-export project and got all the .dat64.json files, put them in the project folder. On the step
npm run seed data -w seeding
I'm getting an error
function getGemCost(required_level: number) {
^
TypeError: Cannot read properties of undefined (reading 'Attribute')
at D:\Programming\Sandbox\exile-leveling\seeding\src\seeding\gems.ts:35:58
at Generator.next (<anonymous>)
at D:\Programming\Sandbox\exile-leveling\seeding\src\seeding\gems.ts:8:71
at new Promise (<anonymous>)
at __awaiter (D:\Programming\Sandbox\exile-leveling\seeding\src\seeding\gems.ts:4:12)
at getGems (D:\Programming\Sandbox\exile-leveling\seeding\src\seeding\gems.ts:32:12)
at D:\Programming\Sandbox\exile-leveling\seeding\src\index.ts:23:70
at Generator.next (<anonymous>)
at D:\Programming\Sandbox\exile-leveling\seeding\src\index.ts:8:71
at new Promise (<anonymous>)
npm ERR! Lifecycle script `seed` failed with error:
npm ERR! Error: command failed
npm ERR! in workspace: seeding@1.0.0
npm ERR! at location: D:\Programming\Sandbox\exile-leveling\seeding
The source of the error is here gems.ts function getGems()
const grantedEffects = Dat.GrantedEffects.data[skillGem.GrantedEffectsKey];
grantedEffects is null or undefined because the skillGem object does not have a GrantedEffectsKey field. How can I fix it?
SkillGems.dat64.json it does not contain this field either
I used the exile-export project and got all the .dat64.json files, put them in the project folder. On the step
I'm getting an error
The source of the error is here gems.ts function getGems()
const grantedEffects = Dat.GrantedEffects.data[skillGem.GrantedEffectsKey];
grantedEffects is null or undefined because the skillGem object does not have a GrantedEffectsKey field. How can I fix it? SkillGems.dat64.json it does not contain this field either