Open conmute opened 9 months ago
✅ Read 179 questions on https://www.fullstack.cafe/interview-questions/javascript
✅ Read 129 questions on https://www.fullstack.cafe/interview-questions/nodejs
✅ Reinstall jupyter notebook for nodejs as sugested in artcile (but used many others links instead)
The jupyter notebook with nodejs and others, I followed the best rule of thumb and started from instalation:
conda update --all
command from https://stackoverflow.com/a/45197778 as suggested jupyter_contrib_nbextensions
conda gave me errors, so I installed with pip instead, see: https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/install.htmlnpm install -g ijavascript; ijsinstall;
and npm install -g itypescript; its --ts-install=global
as explained here: https://gist.github.com/mihai-dinculescu/06120cdd4363f84bc68e79dee8ec27cc.
conda install nodejs
, it will install it into base environment if u wish other, create onenvm
that I have will intercept and it might mess up with existing node installation from conda… conda perfectly replaces nvmconda install conda-forge::deno
and deno jyputer --unstable --install
Notes:
1) search conda-forge packages here https://conda-forge.org/packages/?
2) specific nbextensions for jupyter notebook: https://towardsdatascience.com/jupyter-notebook-extensions-517fa69d2231
3) To befriend with nvm, we can use such script in ~/.zshrc
:
export NVM_DIR="$HOME/.nvm"
# Check if .nvmrc file exists
if [ -f .nvmrc ]; then
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm use
fi
Now nvm is used only and only when we are opening a new session where .nvmrc
is there, and it will overwrite conda node path variable to nvm node path!
Update:
While using condiitonal .nvmrc from above looks good, but there is no need of it :D
Yes, automatically loading of nvm depending on .nvmrc
is a good but in general its ok to allow nvm rc be always.
nvm use system
will fallback to environment node, which can go to condas nodejs!
✅ In additon 50 question about Network https://www.linkedin.com/pulse/top-50-basic-networking-interview-questions-answers-2023-crawsec/