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

Possible problem with wellio.loadLAS("well.LAS") #86

Open
JustinGOSSES opened this issue May 6, 2022 · 4 comments
Open

Possible problem with wellio.loadLAS("well.LAS") #86

JustinGOSSES opened this issue May 6, 2022 · 4 comments
Assignees

Comments

@JustinGOSSES
Copy link
Owner

JustinGOSSES commented May 6, 2022

It looks like maybe wellio.loadLAS() has a problem when used on front-end in browser.

Couldn't get it to run without problem and looks like the demo page always uses ajax to load the file in the demo...so not sure if new problem or just missed it due to that?

We did make a change recently to get it to run well with REACT, so maybe problem from that?

@JustinGOSSES
Copy link
Owner Author

JustinGOSSES commented May 6, 2022

Made examples here: https://github.com/JustinGOSSES/wellio-playground Some explanation in README

@JustinGOSSES JustinGOSSES self-assigned this May 6, 2022
@JustinGOSSES
Copy link
Owner Author

Maybe would be easier to just recommend people use AJAX to load files if they aren't using webpack or browserify to bundle everything? That would avoid the problems with detecting fs and other options that work for loading files in each possible situation?

@JustinGOSSES
Copy link
Owner Author

JustinGOSSES commented Jun 5, 2022

@JustinGOSSES
Copy link
Owner Author

This is a low priority issue as using wellio.js works, just not in an older manner of using ajax. Not a blocker really for anyone. Should fix at some point for completeness.

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