Coder Social home page Coder Social logo

Comments (7)

PatrickJS avatar PatrickJS commented on May 1, 2024

@Blackbaud-DanHamlin could you delete node_modules/ and install it again. In the meantime you can use the express server with npm run express but make sure you install the deps first with npm run express-install

from mfe-starter.

Blackbaud-DanHamlin avatar Blackbaud-DanHamlin commented on May 1, 2024

Thanks, express did work. Removing node_modules and reinstalling didn’t fix my problem with webpack.

From: PatrickJS [mailto:[email protected]]
Sent: Wednesday, July 29, 2015 12:28 AM
To: angular-class/angular2-webpack-starter
Cc: Dan Hamlin
Subject: Re: [angular2-webpack-starter] webpack-dev-server won't run (#41)

@Blackbaud-DanHamlinhttps://github.com/Blackbaud-DanHamlin could you delete node_modules/ and install it again. In the meantime you can use the express server with npm run express but make sure you install the deps first with npm run express-install


Reply to this email directly or view it on GitHubhttps://github.com//issues/41#issuecomment-125847683.

from mfe-starter.

noxxious avatar noxxious commented on May 1, 2024

I found the culprit - it seems that if NODE_ENV is not defined, then the environment plugins lookup produce a null to the plugins array in the webpack.config.js. Adding the definition to explicity default to development if NODE_ENV is not defined fixed it.

from mfe-starter.

PatrickJS avatar PatrickJS commented on May 1, 2024

@noxxious thanks for looking into it 👍 can you make a Pull-Request?

var NODE_ENV = process.env.NODE_ENV || 'development';

from mfe-starter.

Blackbaud-DanHamlin avatar Blackbaud-DanHamlin commented on May 1, 2024

great, i wonder if those npm scripts for setting the environment aren't actually working then?

from mfe-starter.

PatrickJS avatar PatrickJS commented on May 1, 2024

@noxxious you can make a pull-request simply just by clicking edit icon either on desktop or mobile
screen shot 2015-07-29 at 2 58 45 pm

from mfe-starter.

PatrickJS avatar PatrickJS commented on May 1, 2024

fixed via #43

from mfe-starter.

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.