Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails due to missing pub binary #92

Open
wolkenschieber opened this issue Apr 30, 2023 · 0 comments
Open

Build fails due to missing pub binary #92

wolkenschieber opened this issue Apr 30, 2023 · 0 comments

Comments

@wolkenschieber
Copy link

The build through make build fails:

$ make build
cd unpub_web &&\
dart pub global activate webdev 2.7.4 &&\
dart pub global run webdev build
Package webdev is currently active at version 2.7.4.
The package webdev is already activated at newest available version.
To recompile executables, first run `dart pub global deactivate webdev`.
Installed executable webdev.
Activated webdev 2.7.4.
Unhandled exception:
ProcessException: No such file or directory
  Command: /mnt/Development/flutter/sdk/flutter/bin/cache/dart-sdk/bin/pub deps
#0      _ProcessImpl._runAndWait (dart:io-patch/process_patch.dart:487:7)
#1      _runNonInteractiveProcessSync (dart:io-patch/process_patch.dart:632:18)
#2      Process.runSync (dart:io-patch/process_patch.dart:68:12)
#3      _runPubDeps (package:webdev/src/pubspec.dart:58:24)
#4      PubspecLock.read (package:webdev/src/pubspec.dart:80:11)
#5      readPubspecLock (package:webdev/src/command/shared.dart:100:39)
#6      BuildCommand.run (package:webdev/src/command/build_command.dart:53:29)
#7      CommandRunner.runCommand (package:args/command_runner.dart:212:27)
#8      _CommandRunner.runCommand (package:webdev/src/webdev_command_runner.dart:40:24)
#9      CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:122:25)
#10     new Future.sync (dart:async/future.dart:302:31)
#11     CommandRunner.run (package:args/command_runner.dart:122:14)
#12     run (package:webdev/src/webdev_command_runner.dart:21:56)
#13     main (file:///home/keibak/.pub-cache/hosted/pub.dev/webdev-2.7.4/bin/webdev.dart:19:22)
#14     _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:295:33)
#15     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:192:26)
make: *** [Makefile:11: build] Fehler 255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant