Tensegritics / Tensegritics/ClojureDart
Exit code 64 when running on Windows
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 1.6k
- Forks
- 119
- PR merge metrics
- No merged PRs in 30d
Description
From conversation in slack.
When trying to run clj -M:cljd flutter I get the following output
PS C:\Users\Franco\Desktop\flutterexample> clj -M -m cljd.build flutter
=== Warming up `.clojuredart/libs-info.edn` === (helps us emit better code)
=== Adding dev dependencies ===
"analyzer" is already in "dev_dependencies". Use "pub upgrade analyzer" to upgrade to a later version!
pub finished with exit code 65
=== Upgrading dev dependencies ===
Resolving dependencies...
_fe_analyzer_shared 36.0.0 (40.0.0 available)
analyzer 3.3.1 (4.1.0 available)
async 2.8.2 (2.9.0 available)
boolean_selector 2.1.0
characters 1.2.0 (1.2.1 available)
charcode 1.3.1
clock 1.1.0
collection 1.16.0
convert 3.0.2
crypto 3.0.2
cupertino_icons 1.0.5
fake_async 1.3.0
file 6.1.2
flutter 0.0.0 from sdk flutter
flutter_lints 2.0.1
flutter_test 0.0.0 from sdk flutter
glob 2.0.2
lints 2.0.0
matcher 0.12.11
material_color_utilities 0.1.4 (0.1.5 available)
meta 1.7.0 (1.8.0 available)
package_config 2.1.0
path 1.8.1 (1.8.2 available)
pub_semver 2.1.1
sky_engine 0.0.99 from sdk flutter
source_span 1.8.2 (1.9.0 available)
stack_trace 1.10.0
stream_channel 2.1.0
string_scanner 1.1.0 (1.1.1 available)
term_glyph 1.2.0
test_api 0.4.9 (0.4.10 available)
typed_data 1.3.1
vector_math 2.1.2
watcher 1.0.1
yaml 3.1.1
No dependencies changed.
10 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
=== Fetching dependencies ===
Running "flutter pub get" in flutterexample... 2,106ms
=== Dumping type information (it may take a while) ===
Cannot run an executable in a subdirectory of a dependency.
Usage: pub run <executable> [arguments...]
-h, --help Print this usage information.
--[no-]enable-asserts Enable assert statements.
--enable-experiment=<experiment> Runs the executable in a VM with the
given experiments enabled.
(Will disable snapshotting, resulting in
slower startup).
--[no-]sound-null-safety Override the default null safety
execution mode.
-C, --directory=<dir> Run this in the directory<dir>.
Run "pub help" to see global options.
See https://dart.dev/tools/pub/cmd/pub-run for detailed documentation.
pub finished with exit code 64
The problem happens because of this
PS C:\Users\Franco\Desktop\flutter\acme> flutter.bat pub run C:\Users\Franco\Desktop\flutter\acme\.clojuredart\analyzer.dart
Cannot run an executable in a subdirectory of a dependency.
Usage: pub run <executable> [arguments...]
-h, --help Print this usage information.
--[no-]enable-asserts Enable assert statements.
--enable-experiment=<experiment> Runs the executable in a VM with the
given experiments enabled.
(Will disable snapshotting, resulting in
slower startup).
--[no-]sound-null-safety Override the default null safety
execution mode.
-C, --directory=<dir> Run this in the directory<dir>.
Run "pub help" to see global options.
See https://dart.dev/tools/pub/cmd/pub-run for detailed documentation.
pub finished with exit code 64
If I change it like this
https://github.com/frankitox/cd-64/commit/d5f225db7b160579ae4affa0de50463c832b2eeb#
It works (although I hit another new error)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the cljd.build entry point and the .clojuredart/analyzer.dart command shown in the report. Reproduce clj -M -m cljd.build flutter on Windows and compare the generated flutter.bat pub run invocation with the linked working change. Done means dependency setup and type-information dumping complete without pub exit code 64.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100