Skip to main content

All Questions

Tagged with
0 votes
2 answers
793 views

"Revision <..> is not ready and cannot serve traffic" on Cloud Run deployment

I'm struggling on deploying a Nodejs app onto Google Cloud Run which is a rest api server written in Express. This app has been deployed to Cloud Run and has not update new revision for about one year....
TomTomTom's user avatar
0 votes
1 answer
105 views

My webpack is bundling my code very slow in React Express project

I have a monolith app it contains React and express. It bundles every time i change my code and it takes 30second in order to update my changes in the screen. Build time is approximatly 30 to 50 ...
Fazliddin Mirzaqosimov's user avatar
0 votes
0 answers
18 views

Bundle.js not found - webpack configuration for different environments

I'm facing an issue with my react application. I use webpack and for some reason the bundle.js that is being generated inside the dist folder is not being loaded on my QA environment. (it load ...
Vinicius Bretzke Müller's user avatar
0 votes
0 answers
91 views

Proxy configuration to websockets server using express and http-proxy-middleware

Thanks in advance for the help :) I am trying to setup a proxy to my websocket server using express and http-proxy-middleware, a short version of my server code looks like: const proxy = require('http-...
Hendersoncodes's user avatar
2 votes
0 answers
36 views

React js CSS loading issue with webpack

I'm facing CSS loading issue in setting up my React application using Node.js and Express.js. Here is my code: Webapck: const path = require('path'); const nodeExternals = require('webpack-node-...
David's user avatar
  • 569
1 vote
0 answers
21 views

Intermittent ECONNREFUSED after hot module replacement

I'm running a React app on webpack dev server and separately an Express JS server (not on webpack) at the same time. I have Hot Module Replacement enabled. The React app makes an API request when the ...
Zack's user avatar
  • 61
0 votes
0 answers
56 views

Webpack: "SyntaxError: Invalid regular expression flags" during runtime

Webpack 5 Node v18.12.1 Backbone I'm trying to package a client/server website using webpack (Express.js/Backbone.js) but I get this error during runtime. Not sure where to look for the problem. [24/...
adamlucia's user avatar
1 vote
1 answer
81 views

Rest endpoint with rendered Vue component as a response

I'm building document templater service where there are numerous document templates(contracts, protocols etc.) written in Vue. The idea behind this is that client sends props in body that are passed ...
Daniel Klimek's user avatar
0 votes
0 answers
15 views

Why is webpack referencing file:///C:/ when bundling my code?

Summary I'm trying to utilize webpack to bundle my javascript. However, part of the code that needs to be used exists on root, as a peer to the src folder. (See image below.) Those files contain/...
AdamJSim's user avatar
  • 123
0 votes
0 answers
49 views

JavaScript Server Build Bundle

It seems that with the modern JavaScript approach resumability, lazy load, on demand etc. All of those things lead to a lot of chunk files, when we build the application. Once we build the application ...
Hristiyan Hristov's user avatar
1 vote
0 answers
32 views

How to extract each css/scss file in the application into a separate css files with splitChunks plugin?

I have an express/nest application where I create react templates, and for assembly I use webpack. As part of my task, there was a need to distinguish between files in order to be able to allocate ...
DevOverflow's user avatar
  • 1,522
0 votes
0 answers
48 views

ReferenceError: variable_name is not defined in EJS file

I'm trying to render a simple file passing a variable: <!DOCTYPE html> <html lang="en"> <head> <script src="https://cdn.tailwindcss.com"></...
Ale TheFe's user avatar
  • 1,673
0 votes
0 answers
21 views

Have webpack-dev-middleware serve index html only for routes

I feel like I'm missing something obvious, but I'm not sure how to use webpack-dev-middleware. Specifically, it's trying to serve my index HTML for every file--including JS bundles, manifest.json, etc....
Turner Hayes's user avatar
  • 1,904
0 votes
0 answers
67 views

"Strict MIME Checking Error with 'text/html' MIME Type for 'main.css' on localhost:8080"

I am building a website using Webpack, Sass, Pug, and Express, and I am getting an error in the browser: Strict MIME Checking Error with 'text/html' MIME Type for 'main.css' on localhost:8080 I ...
Lonjezo Dzilankhulani's user avatar
1 vote
1 answer
682 views

Webpack configuration file written in TypeScript not working

I'm currently using the following configuration for my project, which is basically an Express API using TypeScript: webpack.common.js webpack.dev.js webpack.prod.js As explained in the Webpack docs, ...
Giancarlo Sotelo's user avatar

15 30 50 per page
1
2 3 4 5
44