fix yarn build --filter=backend operation not permitted error #32
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
when run 'yarn build --filter=backend' faced this error:
WARNING stale pid file at "C:\Users\Administrator\AppData\Local\Temp\turbod\efdb3a4d8a8a6c6c\turbod.pid"
• Packages in scope: backend
• Running build in 1 packages
• Remote caching disabled
backend:build: cache miss, executing b4335d3b359281be
backend:build: [Error: EPERM: operation not permitted, unlink 'E:\work_future\AI-js\chat-langchainjs\backend.turbo\turbo-build.log'] {
backend:build: errno: -4048,
backend:build: code: 'EPERM',
backend:build: syscall: 'unlink',
backend:build: path: 'E:\work_future\AI-js\chat-langchainjs\backend\.turbo\turbo-build.log'
backend:build: }
backend:build: ERROR: command finished with error: command (E:\work_future\AI-js\chat-langchainjs\backend) C:\Users\Administrator\AppData\Local\Temp\xfs-f7e01033\yarn.cmd run build exited (1)
backend#build: command (E:\work_future\AI-js\chat-langchainjs\backend) C:\Users\Administrator\AppData\Local\Temp\xfs-f7e01033\yarn.cmd run build exited (1)
Tasks: 0 successful, 1 total
Cached: 0 cached, 1 total
Time: 2.652s
Failed: backend#build
ERROR run failed: command exited (1)