las-js
las-js copied to clipboard
[BUG]: Importing las-js fails on node v10.x
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.
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:
- Import '...'
- Run '....'
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Here is a screenshot of my code where I am using it:
Desktop (please complete the following information):
- OS: Windows 10 64-bit
- Node Version: 9.6.7
Hello @nDevised sorry for replying late. Can you post the las file?
And what version of las-js are you using?
And what version of las-js are you using?
Using the latest version npm has to offer