-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module not working in production after deploying #110
Comments
Would you provide a reproduction? How is your site deployed? Might it be in your buildModules or devDependencies? |
The web server is configured in this way: nginx proxies requests to localhost:3000, where the project is deployed using pm2. nuxt.config.jsI will shorten the code of my nuxt.config.js to make it easier to learn. ` require('dotenv').config() module.exports = { srcDir: __dirname, server: { dependencies and devDependencies{ nginx conf file
} server { server { server {
} server { |
@danielroe, I found your comments on this topic here nuxt/nuxt#9158 (comment) and here nuxt/nuxt#8230 (comment). |
Hey! did you ever fix this? |
As far as I remember, I did not find a solution |
When I run the project locally in dev or prod mode, everything works. But after I deploy it on a remote server, the module does not work.
The same problem caught up with me when using the @nuxtjs/sitemap module. But you can still survive this.
The text was updated successfully, but these errors were encountered: