Category "webpack"

Error: Cannot find module 'html-webpack-plugin' - Webpack (React)

I tried to create a basic React app with webpack 4 following this link until installing "html-webpack-plugin", I did not face any errors. But, once I run the c

Fail to compile webpack when I run ruby server

I have try to run my ruby server and I got this error : [Webpacker] Compiling... [Webpacker] Compilation failed: /var/lib/gems/2.7.0/gems/webpacker-5.2.1/lib/we

Module parse failed for wasm module generated by rust wasm-pack

I have been following this tutorial: https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_wasm in order to build a Rust library and use it in a VueJS pr

How to ignore typescript errors when compile by webpack production mode

environment webpack 4.41.2 typescript 3.7.2 problem When I compile files by webpack development mode, there is no problem. But when I compile by production

Angular 4 AOT with webpack integration

After configure AOT with webpack in angular 4, i am facing following issue ERROR in : "let-" is only supported on ng-template elements. ("<template ngFor [

Webpack alias is not recognized by flow

I'm having some trouble with webpack aliases and having it play nicely with flow. I have the alias: alias: { vue$: 'vue/dist/vue.esm.js', pu

Angular application throwing "inline style..." error due to CSP response header configured on server

I am working on an angular application.I am working in angular 8 application with CLI.My application is running on local server without any failure. On deployi

Unable to build the graylog web plugin using "mvn package"

I have downloaded the latest version of plugin and trying to build it using "mvn package" command. I am getting below error. Please help me to resolve the issue

Error - node_modules : Callback was already called

I am building SSR rendered Gatsby react application and I get the following error while doing "gatsby build". Been searching for a solution for this error for a

React router with basename and webpack initial url

Hello i am stuck with this one and couldnt figure it out. So i have React router v6 with basename - "/ui/" , and i want that when i open localhost:8080 that it

Inject CSS styles inside of the shadow-root instead of the head tag | Vue.js & Webpack

I'm making an embeddable widget for websites using Vue.js and vue-custom-element. Everything was going smoothly until I ran into a problem. When I'm trying to u

Why Laravel Mix deletes CSS @import url()

I'm using Laravel Mix, and when I run npm run dev, everything is good, but when I run npm run prod, in minified style.css, all @import url()s get deleted! Webpa

Importing slick carousel theme css throws errors on webpack build

I'm trying to import slick-theme.scss in my parent scss as @import "../node_modules/slick-carousel/slick/slick-theme.css"; but during bundle, I get errors on

How to run nextjs dev server with the config from another project?

I develop a nextjs application. Inside the root folder, I've made landing/pages/ folder and I want to run dev server with those pages using next dev ./landing.

Can you compile a TS file with webpack separately from Vue application?

So I have a Vue 3 + Typescript app. npm run build of course takes the app and compiles it into the dist folder so it can be deployed. I have a web worker typesc

How to auto-refresh the browser on .ejs changes when using express + webpack middlewares?

I have set up a server using express and the webpack-dev-middleware and webpack-hot-middleware that is currently accepting module replacements for the .js files

How to solve this error: "internal/modules/cjs/loader.js:638 throw err; ^"

I want to run my Vue.js using npm on localhost:8080 but they give me this error. Is there a way to solve this issue? This error only occurs when I tried to inst

Uncaught ReferenceError: process is not defined - React-Rails

Components aren't rendering because of the Uncaught ReferenceError error. The error is thrown in one of the React API files (see the code in question below). I'

Can't load popper.js with webpack and Laravel mix

I'm using bootstrap 4 beta and Laravel 5.4 on my project and loading my js dependencies with npm and laravel mix. So far everything has been working great, exce

IMAGE: You may need an appropriate loader to handle this file type

I can't figure what is the proper loader to load images in ReactJS webpack, May you give me a hand? I get this error: Module parse failed: /Users/imac/Desktop