Giter Site home page Giter Site logo

Comments (5)

haifengkao avatar haifengkao commented on May 24, 2024 5

npm install --save-dev webpack
npm install --save-dev webpack-dev-server

from grunt-webpack.

sudanvellakovilkanakavel avatar sudanvellakovilkanakavel commented on May 24, 2024

UNMET PEER DEPENDENCY webpack@1 || ^2.1.0-beta

experiencing similar error in the process of setting up React Node.js environment.Me to searching for the solution.Kindly someone help.I am new to Node.

from grunt-webpack.

sudanvellakovilkanakavel avatar sudanvellakovilkanakavel commented on May 24, 2024

Thank you

from grunt-webpack.

johnyb avatar johnyb commented on May 24, 2024

FYI: if you want to use globally installed peer dependencies, you need to add the global node_modules directory to NODE_PATH. Something like export NODE_PATH="$(npm prefix -g)/lib/node_modules:$NODE_PATH" on Linux/Mac/Unix should do the trick.

Peer dependencies are not installed automatically any longer since npm@3.

from grunt-webpack.

danez avatar danez commented on May 24, 2024

global installation of webpack is not supported. And @johnyb workaround should work.

In terms of webpack 2 there is now [email protected] which works for webpack 2

from grunt-webpack.

Related Issues (20)

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.