Delivery Customization - Doesn't have package.json Error

Shopify Partner
10 0 3



i am trying to generate the delivery customization function and when trying to run "shopify app function typegen" i get the following error: 


Bildschirmfoto 2024-05-27 um 14.03.15.png


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": [
"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, 
Reply 1 (1)

Shopify Partner
10 0 3

I still get the error after trying all steps given in this email.

There is no other error message than already provided. I just want to generate an delivery customization extension.