Error coming from while creating app

Command failed with exit code 1: npx prisma generate
node:fs:574
return binding.open(
^

Error: ENOENT: no such file or directory, open ‘/home/user/Desktop/NodeJS_Applications/Cartexel AI/Shopify
App/cartexl/node_modules/.bin/prisma_schema_build_bg.wasm’
at Object.openSync (node:fs:574:18)
at Object.readFileSync (node:fs:453:35)
at /home/user/Desktop/NodeJS_Applications/Cartexel AI/Shopify App/cartexl/node_modules/.bin/prisma:49:9832
at /home/user/Desktop/NodeJS_Applications/Cartexel AI/Shopify App/cartexl/node_modules/.bin/prisma:2:263
at Object. (/home/user/Desktop/NodeJS_Applications/Cartexel AI/Shopify App/cartexl/node_modules/.bin/prisma:259:154)
at Module._compile (node:internal/modules/cjs/loader:1521:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)
at Module.load (node:internal/modules/cjs/loader:1266:32)
at Module._load (node:internal/modules/cjs/loader:1091:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) {
errno: -2,
code: ‘ENOENT’,
syscall: ‘open’,
path: ‘/home/user/Desktop/NodeJS_Applications/Cartexel AI/Shopify App/cartexl/node_modules/.bin/prisma_schema_build_bg.wasm’
}

Node.js v20.19.6
── external error ──────────────────────────────────────────────────────────────────────────────────

Error coming from `npx prisma generate`

Command failed with exit code 1: npx prisma generate
node:fs:574
return binding.open(
^

Error: ENOENT: no such file or directory, open ‘/home/user/Desktop/NodeJS_Applications/Cartexel AI/Shopify
App/cartexl/node_modules/.bin/prisma_schema_build_bg.wasm’
at Object.openSync (node:fs:574:18)
at Object.readFileSync (node:fs:453:35)
at /home/user/Desktop/NodeJS_Applications/Cartexel AI/Shopify App/cartexl/node_modules/.bin/prisma:49:9832
at /home/user/Desktop/NodeJS_Applications/Cartexel AI/Shopify App/cartexl/node_modules/.bin/prisma:2:263
at Object. (/home/user/Desktop/NodeJS_Applications/Cartexel AI/Shopify App/cartexl/node_modules/.bin/prisma:259:154)
at Module._compile (node:internal/modules/cjs/loader:1521:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)
at Module.load (node:internal/modules/cjs/loader:1266:32)
at Module._load (node:internal/modules/cjs/loader:1091:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) {
errno: -2,
code: ‘ENOENT’,
syscall: ‘open’,
path: ‘/home/user/Desktop/NodeJS_Applications/Cartexel AI/Shopify App/cartexl/node_modules/.bin/prisma_schema_build_bg.wasm’
}

Node.js v20.19.6

Hey @Vandana_Sharma - this looks like a local dependency installation issue rather than anything specific to Shopify. The error is telling you that Prisma’s WASM file is missing from node_modules/.bin/ - which usually happens when npm install doesn’t complete cleanly.

One thing I noticed is that your project path has spaces in it (/Cartexel AI/Shopify App/). That can sometimes cause issues with npm and node_modules. I’d recommend moving your project to a path without spaces (e.g., /home/user/apps/cartexl/).

After that, try a clean reinstall:

rm -rf node_modules package-lock.json
npm install

Then run shopify app dev again.

If that doesn’t resolve it, this would be a Prisma/npm environment issue rather than something Shopify-specific - the Prisma GitHub issues would be the best place to dig further.