You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had an issue with local package dependencies not being resolved. i.e packages referenced in the yaml with the 'path:' method. It was because the source code copy happend after the pub get in the docker file. I simply swapped the order and my issue was solved.
I tried to push a branch and create a PR, but I don´t have permission to push.
Example:
#Official Dart image: https://hub.docker.com/_/dart #Specify the Dart SDK base image version using dart:<version> (ex: dart:2.14) FROM dart:stable AS build #Resolve app dependencies. WORKDIR /app COPY pubspec.* ./ #Copy app source code including any local package dependency source code using path: in pubspec. COPY . . RUN dart pub get
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I had an issue with local package dependencies not being resolved. i.e packages referenced in the yaml with the 'path:' method.
It was because the source code copy happend after the pub get in the docker file.
I simply swapped the order and my issue was solved.
I tried to push a branch and create a PR, but I don´t have permission to push.
Example:
Beta Was this translation helpful? Give feedback.
All reactions