worker: failed to load adaptor package.json during compilation
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 23
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 17
Description
One of the strangest errors I've ever seen:
Error occurred during compilation
R/T Run complete with status: crash
R/T CompileError: alert BD team: ENOENT: no such file or directory, open '/root/.openfn/worker/repo/node_modules/@openfn/language-mailgun_0.6.6/package.json'
I think during the compile stage, while loading the adaptor to pull down its type definitions, it's failing to load the package.json
So this is an installation bug? A corruption in the npm repo?
Could it be related to moving the repo folder?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the worker's compilation stage and the adaptor-loading path that reads package.json. Reproduce the failure using the linked workflow, then determine whether installation, npm package corruption, or moving the repository causes the missing file; done means the cause is confirmed and compilation no longer fails for this case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100