-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting started contributing documentation #1754
Comments
Also, had to deal with this error:
|
@dsblank Sorry! Were you using the following links or docs from another spot? If from another spot, we should update that place to give users a bit more guidance. https://jupyter-notebook.readthedocs.io/en/latest/contributing.html The second link contains an important step with Ubuntu/Debian since the legacy node requires installation. Most importantly, we are happy to have any doc contributions or corrections. Please feel free to ping me if you run up against something like this in the future. @gnestor Feel free to add a note about using an up to date version of node. Thanks for following up! |
@willingc Ok it looks like https://jupyter-notebook.readthedocs.io/en/latest/contributing.html#installing-node-js-and-npm covers it. Thanks. @dsblank Feel free to close. |
@willingc I did follow those instructions. The only way I could get |
Also note that the issue pointed to here webpack-contrib/css-loader#145 is another issue, I think because of version incompatibilities. I think that docs you point to could use some checks ("at this point you should be able to run the following: node, nvm, npm, ... with these versions.") and followed by troubleshooting hints. |
We add the following in JupyterLab to work around the css-loader issue: https://github.com/jupyter/jupyterlab/blob/d32b3f8180cc1ec5bcad25b1ddc9b5d3f6924674/jupyterlab/webpack.config.js#L4-L6 |
@blink1073 Thanks for confirming; I had to add that line too. |
@blink1073 Thanks for adding this in 👍 |
@blink1073 Should I submit a PR to notebook adding the es6-promise polyfill to the webpack config? @dsblank Where are you seeing the following: "at this point you should be able to run the following: node, nvm, npm, ... with these versions." I don't see it at https://jupyter-notebook.readthedocs.io/en/latest/contributing.html#installing-node-js-and-npm. I'd like to add that nvm is not a requirement for installing or running the notebook (nvm is a version manager for Node), just a non-legacy version of Node, so
|
@gnestor I was suggesting that text like that should be added. That is, it would be helpful to have checks, and also troubleshooting along the process. I am new to this the notebook development process; I'm just reporting the problem I had, and what appears to have resolved it. I'm using Ubuntu. |
@dsblank Ok, you're on Ubuntu. Did you try |
@gnestor, I'd say add the polyfill to the webpack config, the move it from bower to an npm requirement. |
Closing as the contributing guide on |
Attempting to contribute to notebook on Ubuntu 14.04, followed the documentation for developers, but kept encountering an error:
I tried many things, but eventually I went through the .travis.yml, noted the use of nvm, and did the following:
which doesn't seem to be documented anywhere. But afterwards, I was able to build and install the notebook from source.
The text was updated successfully, but these errors were encountered: