sachinraja / trpc-playground

playground for running tRPC queries in the browser
MIT License
281 stars 19 forks source link

ERR_MODULE_NOT_FOUND: lodash/merge #13

Closed waptik closed 2 years ago

waptik commented 2 years ago

Hey! I found your project interesting and wanted to give it a try. I copied and pasted the code from your example and I'm facing the error below:

error - Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'drive:\path\to\project\node_modules\lodash\merge' imported from drive:\path\to\project\node_modules\trpc-playground\dist\chunk-GNRAL62P.js
Did you mean to import lodash/merge.js?

package version: ^0.1.5 nextjs version: 12.1.4

sachinraja commented 2 years ago

Thanks for reporting this, just published a new version trpc-playground@0.1.6 that should fix it.