hpartidas
07/27/2018, 5:06 PMgraphql codegen
I get the following:
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.divyendu
07/27/2018, 5:07 PMdivyendu
07/27/2018, 5:07 PMnode_modules
and re-run npm install
hpartidas
07/27/2018, 5:09 PMhpartidas
07/27/2018, 5:14 PM