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

[BUG]: Importing las-js fails on node v10.x #41

Open
nDevised opened this issue Sep 8, 2023 · 3 comments
Open

[BUG]: Importing las-js fails on node v10.x #41

nDevised opened this issue Sep 8, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@nDevised
Copy link

nDevised commented Sep 8, 2023

Describe the bug
Processing file: C:/Users/labadmin/Documents/CSTWeb/(10)77502S_C1L1_02000_00000.las
Processing file: C:/Users/labadmin/Documents/CSTWeb/(11)81604S_C1L1_08000_04000.las
Processing file: C:/Users/labadmin/Documents/CSTWeb/03210N_C1R1_16000_20000_cut_small.las
Processing file: C:/Users/labadmin/Documents/CSTWeb/77902S_C1L1_L1L2_20000_16000.las
TypeError: Cannot read properties of undefined (reading 'split')
at Las. (C:\Users\labadmin\Documents\GitHub\las-js-test\node_modules\las-js\dist\index.js:280:57)
at Generator.next ()
at fulfilled (C:\Users\labadmin\Documents\GitHub\las-js-test\node_modules\las-js\dist\index.js:5:58)

I am having this error when the las file is loaded with a valid path. It seems like something to do with the blobstring part of it. I am not sure however why it occurs. Please let me know how I can address this issue. Thanks

To Reproduce
Steps to reproduce the behavior:

  1. Import '...'
  2. Run '....'
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Here is a screenshot of my code where I am using it:
image
image

Desktop (please complete the following information):

  • OS: Windows 10 64-bit
  • Node Version: 9.6.7
@nDevised nDevised added the bug Something isn't working label Sep 8, 2023
@iykekings
Copy link
Member

Hello @nDevised sorry for replying late. Can you post the las file?

@iykekings
Copy link
Member

And what version of las-js are you using?

@nDevised
Copy link
Author

And what version of las-js are you using?

Using the latest version npm has to offer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants