mohebifar / mohebifar/racket

When I run the CMD 'npm run dev' throw an err on terminal console

Open
#20 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
288
Forks
13
PR merge metrics
No merged PRs in 30d

Description

When I run the CMD 'npm run dev' throw an err on terminal console:

[1] to be executed: "node bin/server.js" [0] ==> Webpack development server listening on port 8080 [1] [webpack-isomorphic-tools] [error].development()method is now deprecated (for server-side instance only, not for webpack plugin instance) and has no effec t. Set up a properprocess.env.NODE_ENVvariable instead.

It always make the 'webpack-hot-middleware' bad. Is this a bug and how to resolve it?
This is my question, thx!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running npm run dev and inspect the mentioned bin/server.js entry point. Review the webpack development server and webpack-isomorphic-tools output, especially the deprecated development() message; done means the command runs without the reported error and webpack-hot-middleware works.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, webpack
Domain
build-system, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.