jupyterlab-drawio icon indicating copy to clipboard operation
jupyterlab-drawio copied to clipboard

Unable to install on Mac OS

Open villares opened this issue 7 years ago • 4 comments

Hi, I'm not very Terminal or Jupyter savy...

I've tried: jupyter labextension install jupyterlab-drawio

Then got this: > '' pack jupyterlab-drawio expected str, bytes or os.PathLike object, not NoneType

villares avatar Feb 26 '18 18:02 villares

Hi, I recommend installing brew, a package manager. https://brew.sh/ I also recommend installing conda: https://conda.io/docs/user-guide/install/download.html

Once this is done you can install the two dependencies:

brew install npm

conda install nodejs

conda might also prevent your error message from popping up again. I just installed drawio on my MacOSX and didn't have any issues with the installation. (Just with saving files ... )

axelmuller avatar Feb 26 '18 18:02 axelmuller

@villares, can you tell us what node and npm version you have? You can find this by doing node --version and npm --version at the command line.

jasongrout avatar Feb 26 '18 18:02 jasongrout

Hi, I guess this issue can be closed then... I don't have npm/nodejs installed.

Maybe you could add this information to the Prerequisites session, as npm It is only listed "For a development install".

Cheers!

villares avatar Feb 26 '18 19:02 villares

We should make it crystal-clear that installing any jupyterlab plugin requires node.

jasongrout avatar Feb 26 '18 20:02 jasongrout