Code Monkey home page Code Monkey logo

aqueduct_examples's People

Contributors

joeconwaystk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aqueduct_examples's Issues

SocketException: OS Error: Connection refused, errno = 61, address = localhost, port = 54372

Steps:

  • Start Flutter on iOS simulator
  • Start Aqueduct
  • Enter username and password and click Register

screen shot 2019-01-07 at 5 06 42 pm

Flutter client terminal:

Upgrading project.pbxproj of Runner.app' to include the 'flutter_assets' directory
Removing app.flx from project.pbxproj since it has been replaced with flutter_assets.
Xcode build done.                                            9.3s
[VERBOSE-2:shell.cc(184)] Dart Error: Unhandled exception:
SocketException: OS Error: Connection refused, errno = 61, address = localhost, port = 54372
#0      _rootHandleUncaughtError.<anonymous closure> (dart:async/zone.dart:1112:29)
#1      _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#2      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
[VERBOSE-2:shell.cc(184)] Dart Error: Unhandled exception:
SocketException: OS Error: Connection refused, errno = 61, address = localhost, port = 54372
#0      _rootHandleUncaughtError.<anonymous closure> (dart:async/zone.dart:1112:29)
#1      _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#2      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)

Aqueduct terminal:

[server]$ aqueduct serve
-- Aqueduct CLI Version: 3.1.0+1
-- Aqueduct project version: 3.1.0+1
-- Preparing...
-- Starting application 'todo/todo'
    Channel: Todo
    Config: /Users/bartonhammond/projects/aqueduct_examples/todo/server/config.yaml
    Port: 8888
[INFO] aqueduct: Server aqueduct/1 started.
[INFO] aqueduct: Server aqueduct/2 started.
[INFO] aqueduct: Server aqueduct/3 started.
[INFO] aqueduct: Server aqueduct/4 started.

user.dart is incorrect

I have error when I try to repeat the sample:
image

Dart version 2.0.0-dev.54.0.flutter-e6d7d67f4b

Examples have path dependencies that seem to be specific to 'Users/joeconway/Projects/'

aqueduct:
path: /Users/joeconway/Projects/aqueduct/aqueduct/
aqueduct_test:
path: /Users/joeconway/Projects/aqueduct/aqueduct_test/

Should dependency overrides be removed? This tripped me up for a minute when I got errors that the location did not exist on my machine. I get why the overrides are there, but for people going through the tutorial, the errors might scare them away from what looks to be a great tool.

[Improvement] - App engine example

Provide an example showing aqueduct running on app engine using cloud sql postgres as persistence mechanism.

  • prerequisites: setting up gcloud, app engine, etc
  • setting up app engine flex w/ docker or dev_appserver
  • production/staging/testing(local) environments

Can not run flutter todo App.

Hello there,
This could not be an issue with code rather could be my knowledge less in dart, However, While running the todo flutter app, register new user, i get error exception;

D/EGL_emulation( 5368): eglMakeCurrent: 0xaa9b2040: ver 2 0 (tinfo 0xa1403320)
E/flutter ( 5368): [ERROR:flutter/shell/common/shell.cc(181)] Dart Error: Unhandled exception:
E/flutter ( 5368): type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'Map<String, String>'
E/flutter ( 5368): #0      _rootHandleUncaughtError.<anonymous closure> (dart:async/zone.dart:1112:29)
E/flutter ( 5368): #1      _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
E/flutter ( 5368): #2      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)

What should i do make it work?
Thanks.

How to debug services?

When I'm in Flutter, in login_widget.dart I try to Step into the following register function but I'm not able to. First I set a Breakpoint on line 61 and when it breaks, I use the Debugger button Step Into and it never gets into the register function.

61:  Store.instance.userController.register(
            usernameController.text, passwordController.text);

NoSuchMethodError: The getter 'location' was called on null.

Hi,
I am facing error while creating my first project through command line. Here is the error lines...

E:\Flutter>aqueduct create sample_server
-- Aqueduct CLI Version: 3.3.0+1
*** Uncaught error
NoSuchMethodError: The getter 'location' was called on null.
Receiver: null
Tried calling: location
**** Stacktrace

  • #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
  • #1 CLIAqueductGlobal.templateDirectory (package:aqueduct/src/cli/commands/create.dart:347:41)
  • #2 CLIAqueductGlobal.getTemplateLocation (package:aqueduct/src/cli/commands/create.dart:351:12)
  • #3 CLITemplateCreator.handle (package:aqueduct/src/cli/commands/create.dart:51:27)
  • #4 CLICommand.process (package:aqueduct/src/cli/command.dart:159:20)
  • #5 CLICommand.process (package:aqueduct/src/cli/command.dart:135:12)
  • #6 main (file:///C:/Users/lenovo/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/aqueduct-3.3.0+1/bin/aqueduct.dart:9:27)
  • #7 _startIsolate. (dart:isolate-patch/isolate_patch.dart:299:32)
  • #8 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.