-
Notifications
You must be signed in to change notification settings - Fork 765
Open
Labels
a.tut.tutorialRelates to the Tutorial section of dart.devRelates to the Tutorial section of dart.deve0-minutesCan complete in < 60 minutes of normal, not dedicated, workCan complete in < 60 minutes of normal, not dedicated, workfrom.page-issueReported in a reader-filed concernReported in a reader-filed concernp2-mediumNecessary but not urgent concern. Resolve when possible.Necessary but not urgent concern. Resolve when possible.
Description
Page URL
https://dart.dev/learn/tutorial/packages-libs
Page source
https://github.com/dart-lang/site-www/blob/main/src/content/learn/tutorial/packages-libs.md
Describe the problem
Upon adding the command_runner package created locally to the pubspec.yaml file of dartpedia/cli, Dart SDK will complain that 'Publishable packages can't have "path" dependencies.'
Expected fix
Add the following line to pubspec.yaml in dartpedia/cli at the top of the file, below the version detail.
publish_to: none
This will allow the command_runner package to be used locally as we are not publishing it currently.
Additional context
Dart SDK version: 3.11.0 (stable)
OS: Fedora Linux - KDE Plasma Edition - 43
I would like to fix this problem.
- I will try and fix this problem on dart.dev.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
a.tut.tutorialRelates to the Tutorial section of dart.devRelates to the Tutorial section of dart.deve0-minutesCan complete in < 60 minutes of normal, not dedicated, workCan complete in < 60 minutes of normal, not dedicated, workfrom.page-issueReported in a reader-filed concernReported in a reader-filed concernp2-mediumNecessary but not urgent concern. Resolve when possible.Necessary but not urgent concern. Resolve when possible.