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
Context: Using NPM workspaces. The package 'web' is where bun build is being run. This package imports another workspace package called spark-engine, specifically an index.js file. The paltform is Windows 11 Home, version 23H2.
Please note that the web package is using React. This should not make a difference, but as it may be relevant I'd prefer to mention it.
Added script 'dev:bun' to package.json of web : bun build src/main.tsx --outfile=dist/index.js --watch --sourcemap --target=node
cd to package
Run above script using bun: bun run dev:bun
In my case, the error posted in the stacktrace occurs.
Relevant log output
Stack Trace (bun.report)
Bun v1.1.34 (5e5e7c6) on windows x86_64 [AutoCommand]
panic: Expected pretty file path to have only forward slashes, got 'C:\Users\Gustavo\Desktop\brisa-example\node_modules\brisa\jsx-runtime\index.js'
How can we reproduce the crash?
Context: Using NPM workspaces. The package 'web' is where
bun build
is being run. This package imports another workspace package calledspark-engine
, specifically anindex.js
file. The paltform is Windows 11 Home, version 23H2.Please note that the
web
package is using React. This should not make a difference, but as it may be relevant I'd prefer to mention it.web
:bun build src/main.tsx --outfile=dist/index.js --watch --sourcemap --target=node
bun run dev:bun
Relevant log output
Stack Trace (bun.report)
Bun v1.1.34 (
5e5e7c6
) on windows x86_64 [AutoCommand]panic: Expected pretty file path to have only forward slashes, got 'C:\Users\Gustavo\Desktop\brisa-example\node_modules\brisa\jsx-runtime\index.js'
fs.zig:1732
:assertPrettyIsValid
bundle_v2.zig:9284
:postProcessJSChunk
bundle_v2.zig:8174
:generateChunk
atomic.zig:40
:load
Features: Bun.stdin, bunfig, define, external, jsc, tsconfig, tsconfig_paths, tsconfig_paths
Sentry Issue: BUN-6EX
The text was updated successfully, but these errors were encountered: