[BUG] (Windows environment) FATAL: An unexpected Turbopack error occurred. Error [TurbopackInternalError]: FileSystemPath("").join("../C:\sim\apps\sim") leaves the filesystem root
Hi there, has anyone able to run this project from Windows environment? if so which commit? Seem to be an issue with POSIX path issue and doesn't run on Windows.
Describe the bug On Windows 11 environment, when run the project, Turbopack crashed and sim ai does not start when access http://localhost:3000
To Reproduce On Windows, go thru the self-hosted manual setup with Option A: Postgres running Using Docker https://github.com/simstudioai/sim#self-hosted-manual-setup
Expected behavior Expected http://localhost:3000 to load sim ai platform and no Errors or panic when execute bun run dev:full or bun run dev
Screenshots
Additional context PS C:\sim> bun run dev:full //or bun run dev , same result $ turbo run dev turbo 2.5.8
WARNING Unable to calculate transitive closures: No lockfile entry found for '@emnapi/core' • Packages in scope: @sim/db, docs, sim, simstudio, simstudio-ts-sdk • Running dev in 5 packages • Remote caching disabled docs:dev: cache bypass, force executing d5e46f6bef8f92fb sim:dev: cache bypass, force executing 13764dc972c3784a docs:dev: $ next dev --port 3001 sim:dev: $ next dev --turbo --port 3000 docs:dev: [MDX] updated map file in 127.73250000000189ms docs:dev: [MDX] started dev server docs:dev: ▲ Next.js 15.4.1 docs:dev: - Local: http://localhost:3001 docs:dev: - Network: http://192.168.10.153:3001 docs:dev: docs:dev: ✓ Starting... sim:dev: ▲ Next.js 15.4.1 (Turbopack) sim:dev: - Local: http://localhost:3000 sim:dev: - Network: http://192.168.10.153:3000 sim:dev: - Environments: .env sim:dev: - Experiments (use with caution): sim:dev: ✓ optimizeCss sim:dev: ⨯ turbopackSourceMaps sim:dev: sim:dev: ✓ Starting... docs:dev: ✓ Ready in 28.1s sim:dev: sim:dev: ----- sim:dev: FATAL: An unexpected Turbopack error occurred. A panic log has been written to C:\Users\user1\AppData\Local\Temp\next-panic-e24e8725ba0a6f0c649deb52b0bea020.log. sim:dev: sim:dev: To help make Turbopack better, report this error by clicking here. sim:dev: ----- sim:dev: sim:dev: [Error [TurbopackInternalError]: FileSystemPath("").join("../C:\sim\apps\sim") leaves the filesystem root sim:dev: sim:dev: Debug info: sim:dev: - Execution of get_entrypoints_with_issues_operation failed sim:dev: - Execution of EntrypointsOperation::new failed sim:dev: - Execution of Project::entrypoints failed sim:dev: - Execution of Project::middleware_endpoint failed sim:dev: - Execution of *MiddlewareEndpoint::new failed sim:dev: - Execution of Project::middleware_context failed sim:dev: - Execution of *parse_config_from_source failed sim:dev: - Execution of *ProcessResult::module failed sim:dev: - Execution of *AssetContext::process failed sim:dev: - Execution of Project::edge_middleware_context failed sim:dev: - Execution of AppProject::edge_ecmascript_client_reference_transition failed sim:dev: - Execution of *NextEcmascriptClientReferenceTransition::new failed sim:dev: - Execution of AppProject::client_transition failed sim:dev: - Execution of *FullContextTransition::new failed sim:dev: - Execution of AppProject::client_module_context failed sim:dev: - Execution of *ModuleAssetContext::new failed sim:dev: - Execution of AppProject::client_module_options_context failed sim:dev: - Execution of *get_client_module_options_context failed sim:dev: - Execution of Project::execution_context failed sim:dev: - Execution of Project::node_root failed sim:dev: - FileSystemPath("").join("../C:\sim\apps\sim") leaves the filesystem root] sim:dev: