Open lohitakshsingla0 opened 6 months ago
If you run yarn build --filter=backend
does it still fail?
If you run
yarn build --filter=backend
does it still fail?
Yes, after that only i used npm run build.
Did you faced any similar issue?
If you run
yarn build --filter=backend
does it still fail?Yes, after that only i used npm run build.
Did you faced any similar issue?
You should be using yarn for this project, not NPM. Does it work if you run yarn build --filter=backend
, and if so could you send me the yarn error.
If you run
yarn build --filter=backend
does it still fail?Yes, after that only i used npm run build. Did you faced any similar issue?
You should be using yarn for this project, not NPM. Does it work if you run
yarn build --filter=backend
, and if so could you send me the yarn error.
hi, I used yarn and faced this error: ╭───────────────────────────────────────────────────────────────────────╮ │ │ │ Update available v1.12.3 ≫ v1.12.4 │ │ Changelog: https://github.com/vercel/turbo/releases/tag/v1.12.4 │ │ Run "npx @turbo/codemod@latest update" to update │ │ │ │ Follow @turborepo for updates: https://x.com/turborepo │ ╰───────────────────────────────────────────────────────────────────────╯ WARNING stale pid file at "C:\Users\Lenovo\AppData\Local\Temp\turbod\d6841cd07b6bbdde\turbod.pid" • Packages in scope: backend • Running build in 1 packages • Remote caching disabled backend:build: cache miss, executing 3473bc159ff870b4 backend:build: [Error: EPERM: operation not permitted, unlink 'D:\chat-langchainjs-main\backend.turbo\turbo-build.log'] { backend:build: errno: -4048, backend:build: code: 'EPERM', backend:build: syscall: 'unlink', backend:build: path: 'D:\chat-langchainjs-main\backend\.turbo\turbo-build.log' backend:build: } backend:build: ERROR: command finished with error: command (D:\react\chat-langchainjs-main\backend) C:\Users\Lenovo\AppData\Local\Temp\xfs-f6567ff4\yarn.cmd run build exited (1) backend#build: command (D:\chat-langchainjs-main\backend) C:\Users\Lenovo\AppData\Local\Temp\xfs-f6567ff4\yarn.cmd run build exited (1)
Tasks: 0 successful, 1 total Cached: 0 cached, 1 total Time: 3.862s Failed: backend#build
ERROR run failed: command exited (1) Thanks in advance!
If you run
yarn build --filter=backend
does it still fail?Yes, after that only i used npm run build. Did you faced any similar issue?
You should be using yarn for this project, not NPM. Does it work if you run
yarn build --filter=backend
, and if so could you send me the yarn error.hi, I used yarn and faced this error: ╭───────────────────────────────────────────────────────────────────────╮ │ │ │ Update available v1.12.3 ≫ v1.12.4 │ │ Changelog: https://github.com/vercel/turbo/releases/tag/v1.12.4 │ │ Run "npx @turbo/codemod@latest update" to update │ │ │ │ Follow @turborepo for updates: https://x.com/turborepo │ ╰───────────────────────────────────────────────────────────────────────╯ WARNING stale pid file at "C:\Users\Lenovo\AppData\Local\Temp\turbod\d6841cd07b6bbdde\turbod.pid" • Packages in scope: backend • Running build in 1 packages • Remote caching disabled backend:build: cache miss, executing 3473bc159ff870b4 backend:build: [Error: EPERM: operation not permitted, unlink 'D:\chat-langchainjs-main\backend.turbo\turbo-build.log'] { backend:build: errno: -4048, backend:build: code: 'EPERM', backend:build: syscall: 'unlink', backend:build: path: 'D:\chat-langchainjs-main\backend.turbo\turbo-build.log' backend:build: } backend:build: ERROR: command finished with error: command (D:\react\chat-langchainjs-main\backend) C:\Users\Lenovo\AppData\Local\Temp\xfs-f6567ff4\yarn.cmd run build exited (1) backend#build: command (D:\chat-langchainjs-main\backend) C:\Users\Lenovo\AppData\Local\Temp\xfs-f6567ff4\yarn.cmd run build exited (1)
Tasks: 0 successful, 1 total Cached: 0 cached, 1 total Time: 3.862s Failed: backend#build
ERROR run failed: command exited (1) Thanks in advance!
I also have the same problem
I'm facing this same problem on my end.
I've even tried running it on a standalone Powershell window with Admin privileges and got the same error.
To add more context to my particular environment:
Here's the log for yarn install
:
yarn install
➤ YN0000: ┌ Resolution step
➤ YN0060: │ backend@workspace:backend provides weaviate-ts-client (pf931d) with version 2.0.0, which doesn't satisfy what langchain and some of its descendants request
➤ YN0002: │ chat-langchain@workspace:frontend doesn't provide @chakra-ui/system (p73d29), requested by @chakra-ui/icons
➤ YN0060: │ chat-langchain@workspace:frontend provides weaviate-ts-client (p4756e) with version 2.0.0, which doesn't satisfy what langchain requests
➤ YN0002: │ weaviate-ts-client@npm:2.0.0 doesn't provide graphql (pf798f), requested by graphql-request
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed in 0s 654ms
➤ YN0000: ┌ Fetch step
➤ YN0013: │ yargs-parser@npm:21.1.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yargs@npm:17.7.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yocto-queue@npm:0.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ zod-to-json-schema@npm:3.22.4 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ zod@npm:3.22.4 can't be found in the cache and will be fetched from the remote registry
➤ YN0000: └ Completed in 6s 831ms
➤ YN0000: ┌ Link step
➤ YN0007: │ esbuild@npm:0.18.20 must be built because it never has been before or the last one failed
➤ YN0007: │ @swc/core@npm:1.4.0 [93b36] must be built because it never has been before or the last one failed
➤ YN0007: │ esbuild@npm:0.19.12 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 32s 470ms
➤ YN0000: Done with warnings in 40s 267ms
Then yarn build...
yarn build --filter=backend
• Packages in scope: backend
• Running build in 1 packages
• Remote caching disabled
backend:build: cache miss, executing 410a2a1a5421188e
backend:build: [Error: EPERM: operation not permitted, unlink 'C:\Users\nnn\Documents\git\chama-v2\backend\.turbo\turbo-build.log'] {
backend:build: errno: -4048,
backend:build: code: 'EPERM',
backend:build: syscall: 'unlink',
backend:build: path: 'C:\\Users\\nnn\\Documents\\git\\v2\\backend\\.turbo\\turbo-build.log'
backend:build: }
backend:build: ERROR: command finished with error: command (C:\Users\nnn\Documents\git\v2\backend) C:\Users\nnn\AppData\Local\Temp\xfs-4b6742fe\yarn.cmd run build exited (1)
backend#build: command (C:\Users\nnn\Documents\git\v2\backend) C:\Users\nnn\AppData\Local\Temp\xfs-4b6742fe\yarn.cmd run build exited (1)
Tasks: 0 successful, 1 total
Cached: 0 cached, 1 total
Time: 4.032s
Failed: backend#build
ERROR run failed: command exited (1)
Close VSCode, use terminal outside VScode to build. Works fine
yarn build --filter=backend operation not permitted error
in backend folder:
change package.json file
'"clean": "rimraf .turbo/ dist/",' -> '"clean": "rimraf dist/",'
remove '.turbo/' can fix this error
Hi All,
Can anyone help me here. I am facing the below issue while running build command at root. Anyone facing or faced similar issue.
Thanks in advance!