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

Could not find a file named "pubspec.yaml" #70

Closed
TheCIash opened this issue Nov 28, 2022 · 0 comments
Closed

Could not find a file named "pubspec.yaml" #70

TheCIash opened this issue Nov 28, 2022 · 0 comments

Comments

@TheCIash
Copy link

TheCIash commented Nov 28, 2022

After adding orm to my flutter project I tried the following in the terminal.

"dart run orm init --datasource-provider sqlite"

But I got the following error:

Could not find a file named "pubspec.yaml" in "C:\Users\Anton\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\app_links-3.3.0".
#0 new Pubspec.load (package:pub/src/pubspec.dart:306:7)
#1 new Package.load (package:pub/src/package.dart:128:29)
#2 SystemCache.load (package:pub/src/system_cache.dart:105:20)
#4 Entrypoint.packageGraph (package:pub/src/entrypoint.dart:116:54)
#5 getExecutableForCommand (package:pub/src/executable.dart:339:19)
#6 RunCommand.run (package:dartdev/src/commands/run.dart:250:32)
#7 CommandRunner.runCommand (package:args/command_runner.dart:209:27)
#8 DartdevRunner.runCommand (package:dartdev/dartdev.dart:231:30)
#9 CommandRunner.run. (package:args/command_runner.dart:119:25)
#10 new Future.sync (dart:async/future.dart:302:31)
#11 CommandRunner.run (package:args/command_runner.dart:119:14)
#12 runDartdev (package:dartdev/dartdev.dart:66:29)
#13 main (file:///C:/b/s/w/ir/x/w/sdk/pkg/dartdev/bin/dartdev.dart:11:9)
#14 _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:293:32)
#15 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12)

Am I missing something?

@TheCIash TheCIash closed this as completed Dec 1, 2022
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