Comments (7)
Thanks for the details @dnys1! I'll take a look to see if I can reproduce.
from sdk.
from sdk.
Seems to be an issue in DDS. I haven't looked into the code at all, but I found that passing --no-dds
produces the expected output.
from sdk.
I'm unable to reproduce this on the main branch (Dart 3.5.0-edge.4692937341db70e60ee6b58bb75c6a0c621e14b0
). @dnys1 can you run dart info
and share the output here?
from sdk.
Thanks, @bkonyi. The above was discovered on the Dart stable branch (3.4.1).
Trying with flutter master, I get the following output:
PS D:\workspace\dev_test> dart run --enable-vm-service=0 .\example.dart
Hello, World!
Could not start the VM service:
DartDevelopmentServiceException: Failed to start Dart Development Service
dart info
PS D:\workspace\dev_test> dart info
If providing this information as part of reporting a bug, please review the information
below to ensure it only contains things you're comfortable posting publicly.
#### General info
- Dart 3.5.0-219.0.dev (dev) (Mon Jun 3 17:02:15 2024 -0700) on "windows_x64"
- on windows / "Windows 10 Pro" 10.0 (Build 22631)
- locale is en-US
#### Project info
- sdk constraint: '^3.4.1'
- dependencies:
- dev_dependencies: lints, test
#### Process info
| Memory | CPU | Elapsed time | Command line |
| -----: | --: | -----------: | ------------ |
| 133 MB | -- | | dart.exe |
| 95 MB | -- | | dart.exe |
Although it says Windows 10, this is Windows 11, running commands in new Terminal program. Not sure if that makes a difference.
from sdk.
Thanks for the response @dnys1.
I've tried to run using the Dart SDK shipped with Flutter, but I'm still unable to reproduce:
PS D:\> dart --version
Dart SDK version: 3.5.0-234.0.dev (dev) (Thu Jun 6 17:03:02 2024 -0700) on "windows_x64"
PS D:\> dart run --enable-vm-service=0 .\foo.dart
The Dart VM service is listening on http://127.0.0.1:50415/efUSziJRNGI=/
The Dart DevTools debugger and profiler is available at: http://127.0.0.1:50415/efUSziJRNGI=/devtools?uri=ws://127.0.0.1:50415/efUSziJRNGI=/ws
hello world!
Is there anything special about your drive configuration by any chance? I know we've had some issues with Dev Drives before, although I'm a bit fuzzy on what was actually impacted.
Would it be possible for you to try moving your SDK (or creating a new copy of it) on your D:\ drive and seeing if you can reproduce?
from sdk.
Welp.. I went to dive in and debug this but as soon as I started, I was no longer able to consistently reproduce it. Not sure what to make of it!
I'll close this for now and chalk it up to something being wrong with my dev setup.
I appreciate the quick help, @bkonyi!
from sdk.
Related Issues (20)
- Import `new_library` assist should auto-remove unecessary import HOT 2
- Add more context to `not_a_type` diagnostics
- Dart2Wasm compiler fails building when dart:ffi library is conditionally imported HOT 4
- [Null-aware elements] [meta] Null-aware elements implementation
- [resource_identifiers] `UsageQueryable` proposal HOT 4
- Possible index error in _processExpressionCompilationRequest
- Different async timing whether using vm, node, dart2js and dart2wasm HOT 3
- Macros: Expose doc comments of a declaration
- [Null-aware elements] Implement parser changes
- [Null-aware elements] CFE Implementation
- Make analysis server/IDEs show the distinction between fields and getters accurately and consistently
- The return type 'String' isn't a 'String', as required by the closure's context HOT 2
- Flaky coverage/package:front_end/src/fasta/type_inference/inference_visitor_base.dart on front-end-linux-release-x64-try
- Add `Iterable.fromIterator` (or similar, name less important) HOT 1
- `meta` limitation: `useResult` not available in `factory` constructors HOT 4
- [vm/ffi] Variable length inline arrays no bounds checks HOT 2
- [wildcards] Quick fix: convert `UNUSED_LOCAL_VARIABLE` to wildcard
- [vm/ffi] Add `dladdr` embedder callback
- Analyzer Feedback from IntelliJ
- bug: FutureOr<FutureOr<Object>> does not resolve to FutureOr<Object> HOT 1
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 sdk.