Good morning all, I'm having some issues with pr...
# orm-help
h
Good morning all, I'm having some issues with prisma bindings. When I try to run
graphql codegen
I get the following:
Copy code
graphql codegen
āœ– Generating bindings for project prisma...
{ Error: Cannot find module 'typescript'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.register /project/node_modules/ts-node/src/index.ts:227:26)
    at /project/node_modules/prisma-binding/src/bin.ts:54:24
    at step (/project/node_modules/prisma-binding/dist/bin.js:33:23)
    at Object.next (/project/node_modules/prisma-binding/dist/bin.js:14:53)
    at /project/node_modules/prisma-binding/dist/bin.js:8:71
    at new Promise (<anonymous>) code: 'MODULE_NOT_FOUND' }
Am I missing some dependency? Yarn / npm don't display any dependency messages. I installed typescript globally thinking that may solve the issue but it does nothing. Ultimately
/node_modules/prisma-binding/src/
does not exist on the file system.
d
Can you please install typescript as a dev dependency and try again
also try to remove
node_modules
and re-run
npm install
h
thx for the response, let me give that a try
Thanks, that worked!
šŸ‘ 1