Skip to content

Reason why React-Hot-Loader is not supported in this environment. #1362

Closed
@StephanPraetsch

Description

@StephanPraetsch

Description

When I start with npm start the message React-Hot-Loader is not supported in this environment is displayed.

> npm start

> foo@1.0.0 start /home/stephan/workspaces/foo
> yarn watch

yarn run v1.17.3
$ cd ../translations && yarn compile
$ node compile
$ WEBPACK_DEV_SERVER='true' webpack-dev-server --config src/webpack.config.js
Starting type checking service...
Using 1 worker with 2048MB memory limit
ℹ 「wds」: Project is running at http://localhost:8080/
ℹ 「wds」: webpack output is served from /
Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade`
React-Hot-Loader is not supported in this environment
No type errors found
Version: typescript 3.5.1
Time: 17171ms
ℹ 「wdm」: 

Expected behavior

Either no message and hot loading works
or a reason why it is not supported.

Actual behavior

Just a message that it doesn't work.

Environment

React Hot Loader version:

package.json
104:    "react-hot-loader": "^4.6.5",

Run these commands in the project folder and fill in their results:

  1. node -v: v8.16.0
  2. npm -v: 6.4.1

Then, specify:

  1. Operating system:
> inxi -F
System:    Host: lin-praetschs Kernel: 4.15.0-65-generic x86_64 bits: 64 Desktop: Gnome 3.28.4
           Distro: Ubuntu 18.04.3 LTS
Machine:   Device: laptop System: LENOVO product: 20EN0005GE v: ThinkPad P50 serial: N/A
           Mobo: LENOVO model: 20EN0005GE v: SDK0J40705 WIN serial: N/A
           UEFI [Legacy]: LENOVO v: N1EET47W (1.21 ) date: 03/08/2016
Battery    BAT0: charge: 67.5 Wh 99.9% condition: 67.6/90.1 Wh (75%)
CPU:       Quad core Intel Core i7-6700HQ (-MT-MCP-) cache: 6144 KB
           clock speeds: max: 3500 MHz 1: 1810 MHz 2: 1676 MHz 3: 1650 MHz 4: 1613 MHz 5: 1700 MHz 6: 1743 MHz
           7: 1264 MHz 8: 1830 MHz
Graphics:  Card-1: Intel HD Graphics 530
           Card-2: NVIDIA GM107GLM [Quadro M1000M]
           Display Server: x11 (X.Org 1.19.6 ) drivers: nouveau (unloaded: modesetting,fbdev,vesa)
           Resolution: 1920x1080@60.01hz
           OpenGL: renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2) version: 4.5 Mesa 19.0.8
Audio:     Card-1 Intel 100 Series/C230 Series Family HD Audio Controller driver: snd_hda_intel
           Card-2 NVIDIA Device 0fbc driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.15.0-65-generic
Network:   Card-1: Intel Ethernet Connection (2) I219-V driver: e1000e
           IF: enp0s31f6 state: down mac: 50:7b:9d:ea:17:14
           Card-2: Intel Wireless 8260 driver: iwlwifi
           IF: wlp4s0 state: up mac: 44:85:00:76:77:08
Drives:    HDD Total Size: 256.1GB (71.8% used)
           ID-1: /dev/sda model: SAMSUNG_MZNLN256 size: 256.1GB
Partition: ID-1: / size: 211G used: 149G (75%) fs: ext4 dev: /dev/dm-1
           ID-2: /boot size: 472M used: 148M (34%) fs: ext2 dev: /dev/sda1
           ID-3: swap-1 size: 25.19GB used: 9.10GB (36%) fs: swap dev: /dev/dm-3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 40.0C mobo: N/A gpu: 47.0
           Fan Speeds (in rpm): cpu: 2305
Info:      Processes: 432 Uptime: 6 days Memory: 18845.2/23521.2MB Client: Shell (bash) inxi: 2.3.56 
  1. Browser and version:
    doesn't matter

Reproducible Demo

This app is huge. I am getting to know this app and react as a beginner. I can't cut this app, sorry.

My colleagues run this app successfully with hot loading. Thus this app provides hot loading in general. I started the app the same way my colleagues did (like WEBPACK_DEV_SERVER='true' is set). I only want to know how can I detect why it is not supported for my system. What do I need to have to change?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reason why React-Hot-Loader is not supported in this environment. · Issue #1362 · gaearon/react-hot-loader