![]() Node Buster - no additional preparations, the image size is big, but if you have a multistage docker build, usually it's 'builder', 'remover', and 'production', then buster is also not a bad choise. Node Buster Slim: RUN apt-get update & apt-get install -y -no-install-recommends autoconf automake g++ libpng-dev make ![]() Here is my webpack configuration for imagesĪnswer for like their readme explains, to install it (and to build gifsicle it depends on), node alpine requires this script: RUN apk add -no-cache autoconf automake file g++ libtool make nasm libpng-dev index.html (./node_modules/html-webpack-plugin/lib/loader.js!./index.html) 3:33-64īackground: url('././images/logo/logo_mini_dark.jpg') (/home/ranjith/Desktop/project/FORTRAN/node_modules/imagemin-gifsicle/index.js:3:18)Īt Module._compile (internal/modules/cjs/loader.js:778:30)Īt Object.Module._extensions.js (internal/modules/cjs/loader.js:789:10)Īt Module.load (internal/modules/cjs/loader.js:653:32)Īt tryModuleLoad (internal/modules/cjs/loader.js:593:12)Īt Function.Module._load. node_modules/image-webpack-loader/index.js):Īt Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)Īt Function.Module._load (internal/modules/cjs/loader.js:562:25)Īt Module.require (internal/modules/cjs/loader.js:692:17)Īt require (internal/modules/cjs/helpers.js:25:18)Īt Object. I couldn't figure out what the problem is. But I can use image in the same project on my machine. In that my project works on my machine, but in all of my teammates laptop who has ubuntu installed on their machine(mine is zorin - a ubuntu based distro), if he uses an image in the project the dev-server throws the following error.
0 Comments
Leave a Reply. |