Vue Js not compile in Linux base.
I am encountering an issue with the localStorageDB package on Linux-based systems due to inconsistent casing between the file names in the resources folder and references in the d.ts file.
On Linux-based systems, file names are case-sensitive. The folder inside node_modules is named in lowercase (localstoragedb), but the localStorageDB.d.ts file references this folder with uppercase letters (localStorageDB). This discrepancy results in errors when trying to use the package.
Steps to Reproduce: Install the package on a Linux-based system. Attempt to import or use the localStorageDB library in a Node.js project. Observe the case mismatch errors due to the file naming issue. Expected Behavior: The package should work seamlessly on Linux-based systems, regardless of case sensitivity in file names.
Actual Behavior: Errors occur because the Linux-based file system treats localStorageDB and localstoragedb as different.
Hi @rjsfigueiredo. I haven't looked at this lib in ages. If simply renaming the file will fix this, we can do that. Please test the behaviour and feel free to send a PR.
I tried everything and i cannot put the package to work using vue.js in google project idx... i can do npm run dev when i change: import localStorageDB from "localStorageDB"; to import localStorageDB from "localstoragedb";
but when i run npm run build it returns error on build because we are not looking for the d.ts file inside the package.