You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not 100% clear, somehow it happened in that in this project that has no other clear dependency on `esbuild` I ended up with `0.14.49`. The error is:
✘ [ERROR] Invalid option inbuild() call: "jsxImportSource"
/Users/tom/GitHub/inkline/inkline/node_modules/esbuild/lib/main.js:241:12:
241 │ throw new Error(`Invalid option ${where}: "${key}"`);
╵ ^
at checkForInvalidFlags (/Users/tom/GitHub/inkline/inkline/node_modules/esbuild/lib/main.js:241:13)
at flagsForBuildOptions (/Users/tom/GitHub/inkline/inkline/node_modules/esbuild/lib/main.js:424:3)
at buildOrServeContinue (/Users/tom/GitHub/inkline/inkline/node_modules/esbuild/lib/main.js:1213:9)
at /Users/tom/GitHub/inkline/inkline/node_modules/esbuild/lib/main.js:1142:13
ERR! Error: Build failed with 1 error:
ERR! /Users/tom/GitHub/inkline/inkline/node_modules/esbuild/lib/main.js:241:12: ERROR: Invalid option inbuild() call: "jsxImportSource"
ERR! at failureErrorWithLog (/Users/tom/GitHub/inkline/inkline/node_modules/esbuild/lib/main.js:1605:15)
ERR! at /Users/tom/GitHub/inkline/inkline/node_modules/esbuild/lib/main.js:1131:18
ERR! at /Users/tom/GitHub/inkline/inkline/node_modules/esbuild/lib/main.js:1126:9
ERR! at /Users/tom/GitHub/inkline/inkline/node_modules/esbuild/lib/main.js:666:9
ERR! at handleIncomingPacket (/Users/tom/GitHub/inkline/inkline/node_modules/esbuild/lib/main.js:763:9)
ERR! at Socket.readFromStdout (/Users/tom/GitHub/inkline/inkline/node_modules/esbuild/lib/main.js:632:7)
ERR! at Socket.emit (node:events:390:28)
ERR! at addChunk (node:internal/streams/readable:315:12)
ERR! at readableAddChunk (node:internal/streams/readable:289:9)
ERR! at Socket.Readable.push (node:internal/streams/readable:228:10)
ERR! Error: Build failed with 1 error:
ERR! /Users/tom/GitHub/inkline/inkline/node_modules/esbuild/lib/main.js:241:12: ERROR: Invalid option inbuild() call: "jsxImportSource"
ERR! at failureErrorWithLog (/Users/tom/GitHub/inkline/inkline/node_modules/esbuild/lib/main.js:1605:15)
ERR! at /Users/tom/GitHub/inkline/inkline/node_modules/esbuild/lib/main.js:1131:18
ERR! at /Users/tom/GitHub/inkline/inkline/node_modules/esbuild/lib/main.js:1126:9
ERR! at /Users/tom/GitHub/inkline/inkline/node_modules/esbuild/lib/main.js:666:9
ERR! at handleIncomingPacket (/Users/tom/GitHub/inkline/inkline/node_modules/esbuild/lib/main.js:763:9)
ERR! at Socket.readFromStdout (/Users/tom/GitHub/inkline/inkline/node_modules/esbuild/lib/main.js:632:7)
ERR! at Socket.emit (node:events:390:28)
The text was updated successfully, but these errors were encountered:
Describe the bug
We use
jsxImportSource
as an option toesbuild
:storybook/code/lib/builder-manager/src/index.ts
Line 66 in aa110b9
However the feature was introduced in
0.14.51
: evanw/esbuild#2349And we only depend on
storybook/code/lib/builder-manager/package.json
Line 52 in aa110b9
To Reproduce
The text was updated successfully, but these errors were encountered: