npm-webpack Installation

Updated 14 June 2017

With this small blog we tried to introduce npm, webpack and few more libraries that might necessary with these packages and solve error that came while installing webpack. So, starting with basic 🙂

What is npm?

Node Package Manager (NPM) provides Online repositories for node.js packages/modules and Command line utility to install Node.js packages, do version management and dependency management of Node.js packages.

What is webpack?

Webpack is a module bundler, it takes modules with dependencies and generates static value representing those modules.

                                

To install node js and npm


or nodejs can be installed from https://nodejs.org/en/


to install webpack


On implementing any plugin if we are receiving below error or webpack – extrack-text-webpack-plugin cannot find module

                    

check whether webpack properly install or not if not then install it locally:


then run


this will Extract text from bundle into a file.

Then run,(this part is optional)


node-sass is a library that provides binding for Node.js to LibSass , It allows us to natively compile .scss files to css speedly and automatically via a connect middleware.

             CONTACT US IN CASE OF ANY QUERY

Category(s) Uncategorized
author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project




    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home