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

"The filesystem is not working" #77

Open
bhsuarez opened this issue Sep 9, 2022 · 2 comments
Open

"The filesystem is not working" #77

bhsuarez opened this issue Sep 9, 2022 · 2 comments

Comments

@bhsuarez
Copy link

bhsuarez commented Sep 9, 2022

I'm getting an npm error when I do npm start

make_http_index | json > filesystem-index.json sh: make_http_index: command not found

Is this an NPM error?

@bhsuarez
Copy link
Author

bhsuarez commented Sep 9, 2022

I figured it out. Here you state that [email protected] is currently assumed to be installed globally but in the dependencies list, you put [email protected]. I guess that wasn't a good assumption cuz I've never done anything with browserfs before and once I changed the dependency value to the 2.0.0 version, the error didn't show up on npm start

Is there a reason for the discrepancy? If not I will do a fork.

@1j01
Copy link
Owner

1j01 commented Jul 3, 2024

I had patched [email protected], which is why I didn't want to upgrade, but I still needed the make_http_index CLI only available in [email protected]. That's how I came to depend on two separate versions of the same package.

I've now documented this on the readme, and I'm working on migrating to ZenFS, a fork of BrowserFS.

I guess I could have also used package aliases to avoid needing a global install, since I only needed the command from one of the versions, and the other version didn't have the command. That's assuming npm 6.9.0 was out at the time.

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

3 participants
@1j01 @bhsuarez and others