Hi,
i am trying to generate the delivery customization function and when trying to run "shopify app function typegen" i get the following error:
But i have a package.json in the extension/delivery-customization:
{
"name": "delivery-customization-order",
"version": "0.0.1",
"license": "UNLICENSED",
"scripts": {
"shopify": "npm exec -- shopify",
"typegen": "npm exec -- shopify app function typegen",
"build": "npm exec -- shopify app function build",
"preview": "npm exec -- shopify app function run",
"test": "vitest"
},
"codegen": {
"schema": "schema.graphql",
"documents": "src/*.graphql",
"generates": {
"./generated/api.ts": {
"plugins": [
"typescript",
"typescript-operations"
]
}
},
"config": {
"omitOperationSuffix": true
}
},
"devDependencies": {
"vitest": "^0.29.8"
},
"dependencies": {
"@shopify/shopify_function": "0.1.0",
"javy": "0.1.1"
}
}
I dont' know why i am getting this error. Does anyone know what the problem could be here?
Best Regards,
Yodit