thanks for helping roman, but it is not work, yea it reduces the build time of app.
I think there is problem in importing typescript files in java script file, because when I did little change in importing statement (like import from '/xyz.js' to '/xyz.ts') it resolve and then started showing same error with another typescript file.. so this way there are many files I can't change import statement for all...
still finding solution.
Can you double check the file it complains about does not exist utils/checkPermissions.js. If it doesn't run npm run tsc from packages/app-mobile and, provided it completes successfully, see if the file appears.
error is asking for checkPermissions.js but it is in checkPermissions.ts
so i have two options first - change the file extension and second changing the import statement
but after doing that same error occur with other file.
Yesssssssssssssss!!!!
TypeScript compiler works, Joplin successfully run in my local system,
thank you for support , today I successfully run my first open source app
Doesn't running npm i also build the TypeScript files? or is it currently broken? Otherwise, as mentioned in BUILD.md, you can run npm run watch to rebuild the TypeScript files in real time.
I think it usually does, but I had cases where something went wrong, and I had to run tsc (or sometimes npm install from individual packages) manually.
Never tried to get to the bottom of this.