Comments (1)
Looks like for some reason, Bun is resolving the lib/psd.coffee
instead of index.js
in the psd package.
❯ bun psd.ts
Module {
__esModule: true,
default: "/Users/ashcon/Desktop/code/sandbox/node_modules/psd/lib/psd.coffee",
}
1 | import PSD from "psd";
2 | console.log(PSD);
3 | var psd = PSD.fromFile("a.psd");
^
TypeError: PSD.fromFile is not a function. (In 'PSD.fromFile("a.psd")', 'PSD.fromFile' is undefined)
at /Users/ashcon/Desktop/code/sandbox/psd.ts:3:11
from bun.
Related Issues (20)
- Pushing updates to old docker version tags broke our builds
- Destructuring assignment from macro function fails
- Destructuring assignment from macro function fails HOT 1
- https.get() ignores option rejectUnauthorized: false
- Windows: Bun install crashes HOT 1
- Module '"react-hook-form"' has no exported member 'SubmitHandler'.
- MissingSharp: Could not find Sharp.
- Equivalent for `--expose-gc` in node HOT 2
- Bun fails to compile project in cloudflare pages, pnpm works HOT 2
- Bun prints in console [maybe the full] source code of a bundled JS app on `console.error(error)` of caught exceptions (WHY?), while `node`, `ts-node` & `tsx` work OK as expected (don't print it)
- Unable to look up `cpu-features` HOT 1
- `Headers` issues with bun-types|undici-type|@types/node HOT 1
- NODE_ENV=production in package.json scripts no longer reads from .env.production HOT 7
- Support cpu flag
- Error with `pdf-text-reader` and NODE_ENV=production HOT 1
- Add warning about global bin dir missing in $PATH when `bun install -g <pkg>` is used
- Hangs and crash after several times ctrl+c and retrying `bun i -d @playwright/test` on Windows10
- `bun install` causing segfaults on Vercel HOT 4
- Load `.env.local` and `.env.test.local` in `bun test`
- `bun install` is 5x slower on Docker alpine compared to `debian-slim`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bun.