Category : server-side-rendering

I have a vuejs application with @akryum/ssr While doing npm run ssr:serve or npm run ssr:start everything works as it should. But when I try to use docker: version: ‘3.7’ services: npm: build: context: ./ ports: – "8080:8080" volumes: – ./:/var/www/html Dockerfile FROM node:14.0.0 WORKDIR /var/www/html EXPOSE 8080 CMD ["npm", "run", "serve"] Only the option ..

Read more

Looking to get NextJS working with a separate express backend on Elastic Beanstalk. I’ve got everything dockerized with an NGINX reverse proxy. Locally, everything works when using getServerSideProps, but the same request returns a 500 when deployed. Client side requests work as expected. I’ve tried various updates to the config, different urls, and could only ..

Read more

I’m working on simple project on Angular:^11 + @nguniversal/express-engine for SSR. In my project I’m trying to create REST-API for dynamic web app on server-side with OracleDB[Docker: store/oracle/database-enterprise:12.2.0.1]. While Opening pool with oracledb I’m having an error something like as follow: D:projectservermain.js:149903 throw new Error(nodbUtil.getErrorMessage(‘NJS-045’, nodeInfo)); ^ Error: NJS-045: cannot load a node-oracledb binary for ..

Read more