Skip to content

Help me understand how pnpm works and why deps sometimes cannot be found #8632

Answered by xty
mobob asked this question in Q&A
Discussion options

You must be logged in to vote

Ok - so where is @aws-sdk/core? My cwd is /backend, so i check backend/node_modules:

(base) ➜  backend git:(oct7-pdfs) ✗ ls node_modules/@aws-sdk     
client-dynamodb        client-s3              client-ses             client-sts             util-dynamodb
client-eventbridge     client-secrets-manager client-sso-oidc        lib-dynamodb

Hmm - this seems odd. From how i understand packages that are dependencies should always show up at the root, and be (soft) symbolically linked in.

Why would you think otherwise? I mean, it's not immediately clear from your terminal output that node_modules/@aws-sdk is not a symlink. In fact, it probably is. To find out for yourself, while inside backend,…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mobob
Comment options

@xty
Comment options

Answer selected by mobob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants