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
I probably did something incredibly wrong but I cant figure it out. I followed the docs and re-read them multiple times + tried all the issues I could find related to the topic.
Basically, if you go to https://capp.floffah.dev/ you will see that translations load fine. that site uses getStaticProps. however if you go to https://master.capp.floffah.dev it loads none and when looking at next's data it loads the namespaces but they are just empty objects.
I am passing the config to the serversidetranslations method (which is used in the same function shared by a util function i made to build almost identical (with the obvious changes) functions for getServerSideProps and getStaticProps) and also to the _app hoc.
Everything works fine in a development environment but if you build it and run the serverless functions, it refuses. The namespace files are definitely on vercel as i can see them but it just doesnt seem to load them.
If you need to build the web run yarn build build --exclude docs,old-server,app in the root of the project
Any ideas? Am I being incredibly stupid?
The text was updated successfully, but these errors were encountered:
I probably did something incredibly wrong but I cant figure it out. I followed the docs and re-read them multiple times + tried all the issues I could find related to the topic.
Basically, if you go to https://capp.floffah.dev/ you will see that translations load fine. that site uses getStaticProps. however if you go to https://master.capp.floffah.dev it loads none and when looking at next's data it loads the namespaces but they are just empty objects.
The repository is https://github.com/floffah/collaborated with the project in the packages/web folder.
I am passing the config to the serversidetranslations method (which is used in the same function shared by a util function i made to build almost identical (with the obvious changes) functions for getServerSideProps and getStaticProps) and also to the _app hoc.
Everything works fine in a development environment but if you build it and run the serverless functions, it refuses. The namespace files are definitely on vercel as i can see them but it just doesnt seem to load them.
If you need to build the web run
yarn build build --exclude docs,old-server,app
in the root of the projectAny ideas? Am I being incredibly stupid?
The text was updated successfully, but these errors were encountered: