Coder Social home page Coder Social logo

peeps-ember-orbit's People

Contributors

dgeb avatar ember-tomster avatar fpauser avatar tchak avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

peeps-ember-orbit's Issues

Error on "ember s: no such file or directory, mkdir 'C:\orbit\peeps-ember-orbit\tmp\funnel-output_path-OgUT01GW.tmp\@orbit\utils'

Launching with ember s I have this error:

$ ember s
Livereload server on http://localhost:49153
The Broccoli Plugin: [broccoli-persistent-filter:Babel > [Babel: ember-orbit]: Babel: ember-orbit] failed with:
Error: ENOENT: no such file or directory, mkdir 'C:\orbit\peeps-ember-orbit\tmp\funnel-output_path-OgUT01GW.tmp\@orbit\utils'
    at Object.fs.mkdirSync (fs.js:892:18)
    at Funnel.applyPatch [as _applyPatch] (C:\orbit\peeps-ember-orbit\node_modules\broccoli-funnel\index.js:375:10)
    at Funnel.<anonymous> (C:\orbit\peeps-ember-orbit\node_modules\broccoli-funnel\index.js:343:10)
    at Array.forEach (<anonymous>)
    at Funnel.processFilters (C:\orbit\peeps-ember-orbit\node_modules\broccoli-funnel\index.js:342:11)
    at Funnel.build (C:\orbit\peeps-ember-orbit\node_modules\broccoli-funnel\index.js:258:10)
    at C:\orbit\peeps-ember-orbit\node_modules\broccoli-plugin\read_compat.js:93:34
    at tryCatch (C:\orbit\peeps-ember-orbit\node_modules\rsvp\dist\rsvp.js:539:12)
    at invokeCallback (C:\orbit\peeps-ember-orbit\node_modules\rsvp\dist\rsvp.js:554:13)
    at publish (C:\orbit\peeps-ember-orbit\node_modules\rsvp\dist\rsvp.js:522:7)

The broccoli plugin was instantiated at:
    at Babel.Plugin (C:\orbit\peeps-ember-orbit\node_modules\broccoli-plugin\index.js:7:31)
    at Babel.Filter [as constructor] (C:\orbit\peeps-ember-orbit\node_modules\broccoli-persistent-filter\index.js:62:10)
    at new Babel (C:\orbit\peeps-ember-orbit\node_modules\broccoli-babel-transpiler\index.js:35:10)
    at Class.transpileTree (C:\orbit\peeps-ember-orbit\node_modules\ember-orbit\node_modules\ember-cli-babel\index.js:52:18)
    at packageTrees.map.tree (C:\orbit\peeps-ember-orbit\node_modules\ember-orbit\index.js:63:65)
    at Array.map (<anonymous>)
    at Class.treeForAddon (C:\orbit\peeps-ember-orbit\node_modules\ember-orbit\index.js:63:47)
    at Class.superWrapper [as treeForAddon] (C:\orbit\peeps-ember-orbit\node_modules\core-object\lib\assign-properties.js:34:20)
    at Class._treeFor (C:\orbit\peeps-ember-orbit\node_modules\ember-cli\lib\models\addon.js:556:33)
    at Class.treeFor (C:\orbit\peeps-ember-orbit\node_modules\ember-cli\lib\models\addon.js:516:21)

I'm on Windows 10 x64, nodejs 8.5.0, npm 5.4.1, yarn 1.0.2.

It doesn't work by default with nodejs 8.5.0 so I upgraded in package.json:

    "ember-cli": "^2.13.2",
    "ember-cli-qunit": "^4.0.1",

404 on put contacts/:id

I know this is very much in the draft phase but I thought it might be useful to document issues that I found while trying this out with peeps-uuid.

Currently when a new contact is created orbit.js does a PUT to /contacts/:id but the server responds with a 404. According to http://jsonapi.org/format/#crud-creating-client-ids it looks like the request should be a POST (even though it includes a uuid). I'm not entirely sure though because http://jsonapi.org/format/#crud-creating-client-ids doesn't mention whether PUT or POST should be used.

Adding a phone number causes continuous attempts to create resource

i.e. after adding a phone number orbit.js keeps hitting the server with:

http://localhost:4200/phone_numbers/e3c7bc6d-6052-4bb2-8aca-6a737a71bcc4
{ phone_numbers: {contact_id: null} }

the response is a 200 with a payload like:

{"phone_numbers":{"id":"e3c7bc6d-6052-4bb2-8aca-6a737a71bcc4","contact_id":null,"name":null,"phone_number":"345","links":{"contact":null}}}

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.