Skip to content
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

Bi-directional component instructions not working on synced Google Drive on Windows - npm install error #92

Open
philipnye opened this issue Feb 14, 2024 · 1 comment

Comments

@philipnye
Copy link

I’m attempting and failing to get the instructions to create create a bi-directional component available here to work using React on Windows.

My setup is as follows:

  • Streamlit 1.31.0
  • nodejs 20.11.0
  • npm 10.2.4
  • Windows 10

Steps I’ve taken:

  1. Cloned this repo
  2. In template/my_component/frontend, run npm install

I get the following error:

npm ERR! code ENOTDIR
npm ERR! syscall mkdir
npm ERR! path G:\Other computers\My Laptop\Documents\Work\Coding\st_component-template_2\template\my_component\frontend\node_modules\babel-jest\node_modules
npm ERR! errno -4052
npm ERR! ENOTDIR: not a directory, mkdir 'G:\Other computers\My Laptop\Documents\Work\Coding\st_component-template_2\template\my_component\frontend\node_modules\babel-jest\node_modules'

npm ERR! A complete log of this run can be found in: C:\Users\phili\AppData\Local\npm-cache\_logs\2024-02-06T20_03_04_381Z-debug-0.log

I’ve posted the log contents here.

Is there a step missing from the instructions? Or have I done something wrong?

@philipnye philipnye changed the title Bi-directional component instructions not working on Windows - npm install error Bi-directional component instructions not working synced Google Drive on Windows - npm install error Feb 15, 2024
@philipnye philipnye changed the title Bi-directional component instructions not working synced Google Drive on Windows - npm install error Bi-directional component instructions not working on synced Google Drive on Windows - npm install error Feb 15, 2024
@philipnye
Copy link
Author

This seems to specifically be a npm issue where the directory is located in Google Drive on Windows: https://discuss.streamlit.io/t/npm-install-error/61717/5

As an upstream npm problem, and one unlikely to affect many users, this probably doesn't warrant mention in the docs, which had been my initial thought. Very content for this issue to be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant