Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev Containerのpnpmが微妙な感じがする #10201

Closed
tamaina opened this issue Mar 4, 2023 · 3 comments · Fixed by #10207
Closed

Dev Containerのpnpmが微妙な感じがする #10201

tamaina opened this issue Mar 4, 2023 · 3 comments · Fixed by #10207
Labels
⚠️bug? This might be a bug

Comments

@tamaina
Copy link
Contributor

tamaina commented Mar 4, 2023

/workspace/.pnpm-storeにpnpm-storeが作られる
(.gitignoreしていないので正しい挙動ではない)

かつ、

 WARN  GET https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz error (ECONNRESET). Will retry in 10 seconds. 2 retries left.
 ENOENT  ENOENT: no such file or directory, copyfile '/workspace/.pnpm-store/v3/files/ff/ea3297aa9d8394d9248e420fe886ab45a790d8a7f50c6e95fffaccc3915be93821234035b2dd163de6ee3b4863ce7fdbdd20d11d9a763743a0f57b66fda856' -> '/workspace/node_modules/.pnpm/github.com+misskey-dev+summaly@51f3870e1ff5e0b22102e804112b10cb72f3c494/node_modules/_tmp_623_c605cc4538f9378a25f484ef9a33fee4/_tmp_623_261df4bc15c62436058e5238b273eff5/built/index.d.ts'mjs.org/@swc/core-linux-arm64-gnu/1.3.36: 6.25 MB/13.7 MB

pnpm: ENOENT: no such file or directory, copyfile '/workspace/.pnpm-store/v3/files/ff/ea3297aa9d8394d9248e420fe886ab45a790d8a7f50c6e95fffaccc3915be93821234035b2dd163de6ee3b4863ce7fdbdd20d11d9a763743a0f57b66fda856' -> '/workspace/node_modules/.pnpm/github.com+misskey-dev+summaly@51f3870e1ff5e0b22102e804112b10cb72f3c494/node_modules/_tmp_623_c605cc4538f9378a25f484ef9a33fee4/_tmp_623_261df4bc15c62436058e5238b273eff5/built/index.d.ts'
Progress: resolved 1748, reused 0, downloaded 1270, added 1268
Downloading registry.npmjs.org/typescript/4.9.5: 4.73 MB/11.6 MB
Downloading registry.npmjs.org/@tensorflow/tfjs-core/4.2.0: 4.44 MB/6.69 MB
Downloading registry.npmjs.org/@swc/core-linux-arm64-gnu/1.3.36: 6.25 MB/13.7 MB
Downloading registry.npmjs.org/@swc/core-linux-arm64-musl/1.3.36: 6.53 MB/13.4 MB
Downloading registry.npmjs.org/@tensorflow/tfjs/4.2.0: 2.67 MB/29.1 MB
Downloading registry.npmjs.org/@tensorflow/tfjs-layers/4.2.0: 2.81 MB/5.93 MB
[308800 ms] postCreateCommand failed with exit code 1. Skipping any further user-provided commands.
Done. Press any key to close the terminal.

と言ってpostCreateCommand failed

with macOS, Docker Desktop

@tamaina tamaina added the ⚠️bug? This might be a bug label Mar 4, 2023
@tamaina
Copy link
Contributor Author

tamaina commented Mar 4, 2023

どうして.pnpm-storeなんだろうか(v3って書いてあるのでv3がインストールされてしまっている?

@tamaina
Copy link
Contributor Author

tamaina commented Mar 4, 2023

The store should be always on the same disk on which installation is happening, so there will be one store per disk. If there is a home directory on the current disk, then the store is created inside it. If there is no home on the disk, then the store is created at the root of the filesystem. For example, if installation is happening on a filesystem mounted at /mnt, then the store will be created at /mnt/.pnpm-store. The same goes for Windows systems.

https://pnpm.io/npmrc#node-modules-settings

これか

tamaina added a commit that referenced this issue Mar 4, 2023
@tamaina
Copy link
Contributor Author

tamaina commented Mar 4, 2023

.pnpm-storeはgitignoreで解決するとして、 ENOENT: no such file or directoryはどうにもと言う感じが

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠️bug? This might be a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant