Closed BabutaAniket closed 2 years ago
@showersky I have updated the pull request with the latest version of development branch.
I was facing this issue in designer/main.js :
node:internal/process/promises:265
triggerUncaughtException(err, true /* fromPromise */);
^
[Error: ENOENT: no such file or directory, open 'public/data/meta/.db.json.tmp'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: 'public/data/meta/.db.json.tmp'
}
I faced this issue while building components from source. As in .github/workflows, the components are built from source, the persistence testcases are failing.
So, I have added a new line of code(in designer/main.js) to make a working directory for the storage of internal metadata.
fs.mkdir('public/data/meta/', { recursive: true })
this folder will be mapped from a local path into the container when we deploy the designer. But it is good to add this so that the folder can be created if it does not exist. I have added it into the development branch. Could you pull the new development branch and then make a new PR for the other test scripts?
Thanks for clarifying.
Could you pull the new development branch and then make a new PR for the other test scripts?
Yes, I will do that.
Pull request contains below addition: