You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What operating system, Node.js, and npm version?
I'm running OSX
node -v
v18.7.0
npm -v
8.15.0
What happened?
I'm trying to migrate to use the app-directory. I've created this minimal page to try it out:
import{CarDatabase}from"src/CarDatabase";importuseTranslationfrom"next-translate/useTranslation";asyncfunctiongetCars(){constcars=awaitCarDatabase.findAllCars(12);returncars;}exportdefaultasyncfunctionPage(){constcars=awaitgetCars();const{ t, lang }=useTranslation("common");return<p>Foo bar</p>;}
But I'm getting the following error:
Error: Cannot read properties of undefined (reading '_context')
What did you expect to happen?
I expected it to not throw
Are you willing to submit a pull request to fix this bug?
I'm not sure what the error is
The text was updated successfully, but these errors were encountered:
What version of this package are you using?
2.0.4
What operating system, Node.js, and npm version?
I'm running OSX
What happened?
I'm trying to migrate to use the
app
-directory. I've created this minimal page to try it out:But I'm getting the following error:
What did you expect to happen?
I expected it to not throw
Are you willing to submit a pull request to fix this bug?
I'm not sure what the error is
The text was updated successfully, but these errors were encountered: