Code Monkey home page Code Monkey logo

webpack-demo-app's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

webpack-demo-app's Issues

webpack-merge

in newer version, webpack-merge should be imported like this:
const { merge } = require('webpack-merge');

Problems displaying the bootstrap styles

Hi, I followed the video up to part 7 (commit 9), but I'm having two problems right now. One, when I run 'npm start', Webpack doesn't create the Dist folder and only opens the html file in the browser but doesn't display any styles from bootstrap nor the inputs fields work at all.
In production mode, it does creates the Dist folder but the styles and the input fields are not working.
I checked the source code (html) after running both scripts (build and start). The main.css is created ( main.[contentHash].css also ), and is injected at the bottom of the code, but it doesn't execute the script.
Any idea why it's happening this? Thanks in advance!

Debug Vue files

Greetings,
Thanks for the great videos! Is there a simple way to convert the vue files to plain js that we can debug on the browser?
Thanks

Failed at the [email protected] postinstall script.

Hi I'm trying to make the webpack.configure.js file work, and when I want to install sass-loader and node sass using the npm install sass-loader node-sass --save-dev , it fails and throws error,
Failed at the [email protected] postinstall script.
NPM version 6.10.2
Node version 12.9.1
I installed the version 13 of node and the newer version of npm and it is still the same. can you help me please?
this is the log file
https://gist.github.com/Mustafa-Hayati/0fbb5bbbc95aa2add18a4a8f5513eabf

Images declared in HTML that are inserted by JS not found in imgs folder

My setup is exactly like this one, except my application includes a button that when pressed inserts HTML that includes tags into the site. Webpack seems to put the images that are initially loaded with the static homepage in the imgs folder but it doesn't put the ones that will be later inserted on user input.

Node-sass error

I am in Windows 10 20H1 build and doing npm install everything is fine but the node-sass installation part is giving an error.
I have tried install npm i -D node-sass but it didn't work out.

dynamic image loading

i look your video, its a wonderful appreciation. i am not trying it but let say my image path is stored in the database, how to move dist folder without contenthash.

node-sass result in gyp error "Can't find Python executable"

[email protected] breaks npm install on Windows 10, resulting in the following error

gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at PythonFinder.failNoPython (C:\Users\samir\Desktop\woooha\webpack-demo-app\node_modules\node-gyp\lib\configure.js:484:19)
gyp ERR! stack     at PythonFinder.<anonymous> (C:\Users\samir\Desktop\woooha\webpack-demo-app\node_modules\node-gyp\lib\configure.js:509:16)
gyp ERR! stack     at C:\Users\samir\Desktop\woooha\webpack-demo-app\node_modules\graceful-fs\polyfills.js:282:31
gyp ERR! stack     at FSReqCallback.oncomplete (fs.js:158:21)
gyp ERR! System Windows_NT 10.0.18363
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\samir\\Desktop\\woooha\\webpack-demo-app\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\Users\samir\Desktop\woooha\webpack-demo-app\node_modules\node-sass
gyp ERR! node -v v12.13.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

EDIT: updating node-sass to version 4.13.1 solved this problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.