Skip to content

Nested create error #2079

Answered by srisub1
srisub1 asked this question in Q&A
Apr 3, 2020 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Thanks for that tip. I cleaned up node_modules, and reinstalled beta.1, but now i get this mysterious error during nexus-prisma makeSchema.

Failed to import prisma client package at @prisma/client. The following error occured while trying:
SyntaxError: Unexpected token
in JSON at position 502
at JSON.parse ()
at Object. (/../Default/node_modules/@prisma/client/index.js:703:19)
at Module._compile (internal/modules/cjs/loader.js:1147:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1167:10)
at Module.load (internal/modules/cjs/loader.js:996:32)
at Function.Module._load (internal/modules/cjs/loader.js:896:14)
at Module.require (internal/modules/cjs/loader.js:1036:19)
at r…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@janpio
Comment options

@srisub1
Comment options

Answer selected by nikolasburk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants