#"Fixing Import & JSX Errors in Next.js When Using Docker"
1 messages Β· Page 1 of 1 (latest)
π This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord
π΅οΈ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize
β
You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)
This post has been locked because it was considered low-effort by the moderation team. We encourage you to create a new post, keeping in mind the guidelines described here: https://discord.com/channels/752553802359505017/1138338531983491154
Try to add as much information possible in your question, describing your objective and what you have tried doing to solve it. This helps our members to understand better the question and give a better and faster answer. If you have any questions, feel free to reach out to the moderation team.
I donβt know why a moderator thinks this is low effort, it is not. As such I will unlock this
Have you installed dependencies with npm install or a similar command?
Not at all, do I need to? I thought when building and running the app inside Docker, then there is probably no need to run npm install locally. The container should handle all the dependencies.
Yes, but the editor still needs type information from dependencies for the red squiggly lines to go away. Your editor cannot extract type information from a docker container. So yeah just install dependencies locally, all other parts of development can take place via docker
Okay, thanks π
I don't have the errors anymore