d0p3t / fivem-js

Javascript and Typescript wrapper for the FiveM natives API
https://d0p3t.nl
Other
143 stars 57 forks source link

Package module UUIDV4 has wrong letter case and fail to import in Linux #30

Closed VPagani closed 5 years ago

VPagani commented 5 years ago

Linux is case-sensitive for files and directories so the compiled file uuidv4.js is not recognized as UUIDV4.js and throws an error message Cannot find module './UUIDV4'.

Maybe it is caused by compiling and uploading the package from a Windows computer which is case-insensitive.

You can check here the wrong uploaded files (uuidv4.js and uuidv4.d.ts): https://unpkg.com/browse/fivem-js@1.3.0/lib/utils/

d0p3t commented 5 years ago

Fixed in 1.3.1