#bun link does not work with local package binaries

1 messages · Page 1 of 1 (latest)

flint vapor
#

in lib package.json with bin at lib/bin/index.js:

{
  "name": "bento",
  "version": "0.1.0",
  "module": "./src/index.ts",
  "type": "module",
  "exports": {
    "./server": "./src/server/index.ts",
    "./client": "./src/client/index.ts"
  },
  "bin": {
    "bento": "./bin/index.js"
  },
  // ...
}

i have shuffled the paths so many times,,

flint vapor
#

more shoddy testing

#

running npm link does change the result of the next bunx

#

however now the sym links don't seem to be picked up at all?

#

these were bad screenshots im sorry

#

i'm really out of my element here,,, would appreciate some help !