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
Right now it is a bit tricky because you can directly import .json with node (at least 18), and people get surprised with it because error message is confusing (claims there is no file).
We could add a small section in docs that covers this, since we had multiple people ask about this so far, even if it is not really Wasp-specific issue.
The text was updated successfully, but these errors were encountered:
Martinsos
changed the title
Explain in docs how to import JSON files in Wasp on the server
Explain in docs how to import JSON files / read static files in Wasp on the server
Feb 16, 2024
Right now it is a bit tricky because you can directly import .json with node (at least 18), and people get surprised with it because error message is confusing (claims there is no file).
I explained how to go about it here: https://discord.com/channels/686873244791210014/1171780998699171841/1171780998699171841 .
We could add a small section in docs that covers this, since we had multiple people ask about this so far, even if it is not really Wasp-specific issue.
The text was updated successfully, but these errors were encountered: