wiki:node_troubleshooting
Differences
This shows you the differences between two versions of the page.
wiki:node_troubleshooting [2023/10/11 13:17] – created antisa | wiki:node_troubleshooting [2025/03/18 13:21] (current) – add Class extends value undefined is not a constructor or null antisa | ||
---|---|---|---|
Line 29: | Line 29: | ||
curl -o- https:// | curl -o- https:// | ||
nvm install v14.21.3 | nvm install v14.21.3 | ||
- | | + | |
==== Tested on ==== | ==== Tested on ==== | ||
* Ubuntu 20.04 | * Ubuntu 20.04 | ||
* node v10.19.0 | * node v10.19.0 | ||
+ | |||
+ | |||
+ | ===== Class extends value undefined is not a constructor or null ===== | ||
+ | Happened when installing Coc tsserver in vim | ||
+ | :CocInstall coc-tsserver | ||
+ | |||
+ | Remove node npm directory: | ||
+ | sudo rm -rf / | ||
+ | |||
+ | Reinstall node | ||
+ | curl -sL https:// | ||
+ | |||
+ | ==== Tested on ==== | ||
+ | * Ubuntu 22.04 | ||
+ | * node v22.14.0 | ||
====== See also ====== | ====== See also ====== | ||
====== References ====== | ====== References ====== | ||
+ | * https:// | ||
wiki/node_troubleshooting.1697030236.txt.gz · Last modified: 2023/10/11 13:17 by antisa