Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 20:11

    matthewp on master

    Update dist for release (compare)

  • 20:11

    matthewp on v6.2.0

    Update dist for release 6.2.0 (compare)

  • 20:05

    matthewp on master

    Fix bundlesize (compare)

  • 19:22

    matthewp on can-observable-bindings-1.3.0

    (compare)

  • 19:22

    matthewp on master

    fix(package): update can-observ… Set new bundle sizes Merge pull request #5389 from c… (compare)

  • 19:22
    matthewp closed #5389
  • 19:09
    matthewp commented #5389
  • 18:33

    matthewp on can-attribute-observable-2.0.1

    (compare)

  • 18:33

    matthewp on master

    fix(package): update can-attrib… Increase the bundlesize Merge pull request #5394 from c… (compare)

  • 18:33
    matthewp closed #5394
  • 17:59
    matthewp synchronize #5394
  • 17:59

    matthewp on can-attribute-observable-2.0.1

    Increase the bundlesize (compare)

  • 17:42
    matthewp synchronize #5389
  • 17:42

    matthewp on can-observable-bindings-1.3.0

    fix(package): update can-observ… Set new bundle sizes (compare)

  • 17:26
    greenkeeper[bot] labeled #5394
  • 17:26
    greenkeeper[bot] opened #5394
  • 17:26

    greenkeeper[bot] on can-attribute-observable-2.0.1

    fix(package): update can-attrib… (compare)

  • 17:15

    matthewp on can-stache-element-1.0.2

    (compare)

  • 17:15

    matthewp on master

    fix(package): update can-stache… Merge pull request #5387 from c… (compare)

  • 17:15
    matthewp closed #5387
Christopher Oliphant
@RALifeCoach
I am still getting the same crash. I have created the file index.stache. I placed it inside the modules folder. I have directories.lib = modules
Thomas Sieverding
@Bajix
My index.stache loads in app using export-as to set it up as my can.route.data instance, my main stylesheet, can/route/pushstate/, and any components immediately being used
Christopher Oliphant
@RALifeCoach
  "system": {
    "directories": {
      "lib": "modules"
    },
    "main": "pga-tour/index.stache"
  },
Thomas Sieverding
@Bajix
You need the done-autorender plugin
  "system": {
    "directories": {
      "lib": "modules"
    },
    "main": "pga-tour/index.stache!done-autorender"
  },
Christopher Oliphant
@RALifeCoach
I think there is some other problem. It still can’t find cfg.main

/git/pgatour-cq-v2/front-end/node_modules/steal-tools/lib/graph/make_graph_with_bundles.js:83
if( Array.isArray(cfg.main) ) {
^

TypeError: Cannot read property 'main' of undefined
at module.exports (/git/pgatour-cq-v2/front-end/node_modules/steal-tools/lib/graph/make_graph_with_bundles.js:83:23)

We haven’t found the magic syntax yet.
Leath Cooper
@IcculusC
looks like it cant' find your package.json at all?
Christopher Oliphant
@RALifeCoach
that’s a possibility
the package json is in the same folder that I’m running the node build.js from
Help??!??
Leath Cooper
@IcculusC
I'm at a loss lol
I haven't tried building naything in production so I hve no idea
Christopher Oliphant
@RALifeCoach
@IcculusC I appreciate your attempts to help.
Leath Cooper
@IcculusC
hey it's a collaborative industry it's how we all learn
is that supposed to say "sausage of loose coupling"
definitely never heard that term
Thomas Sieverding
@Bajix
Yea; that should say something more akin to "This is where we Monkey Patch."
Leath Cooper
@IcculusC
lol
Matthew Phillips
@matthewp
All true, but no better way that I can think of
if you want more than one map type, for example
Appreciate the feedback everyone :) Thanks for beta testing canjs 3.0
Leath Cooper
@IcculusC
I just want to know what "sausage of loose coupling" means
sounds yummy
also sounds like someone asked whoever was writing the docs what they wanted for breakfast while they were typing them
Matthew Phillips
@matthewp
hah, i didn't write that one, not familiar with the term
Thomas Sieverding
@Bajix
I like my monkey patching w/ a side of sausage pl0x
Matthew Phillips
@matthewp
it's a way for a package like can-route to be able to create Maps without depending on can-define or can-map, etc.
Christopher Oliphant
@RALifeCoach
I am still trying to get build to work
Matthew Phillips
@matthewp
@RALifeCoach what does your build script look like
Christopher Oliphant
@RALifeCoach
var stealTools = require("steal-tools");

stealTools.build();
Matthew Phillips
@matthewp
I think there's a bug, make that be
stealTools.build({ config: __dirname + "/package.json!npm" });
instead
I think config is required in the build
even though it probably shouldn't be
got to go, if that is it drop me a note so I can fix the docs tomorrow
Christopher Oliphant
@RALifeCoach
Error loading "can/view/stache/add_bundles" at file:/git/pgatour-cq-v2/front-end/can/view/stache/add_bundles.js
Error loading "can/view/stache/add_bundles" from "done-autorender@0.8.0#autorender" at file:/git/pgatour-cq-v2/front-end/node_modules/done-autorender/src/autorender.js
ENOENT: no such file or directory, open '/git/pgatour-cq-v2/front-end/can/view/stache/add_bundles.js'
I have moved forward
Christopher Oliphant
@RALifeCoach
But not very far forward
Leath Cooper
@IcculusC
is can/view/stache not 2.x
Justin Meyer
@justinbmeyer
@RALifeCoach are you trying to build a 2.3 or 3.0 app?
it also seems you are trying to build a DoneJS app
I don't think you're getting started, so I'm not sure where these problems suddenly sprung up. If you're making a DoneJS app, the guides work and should create a working boilerplate app. But again, I'm not sure where you are. Did you create a forum post?
there is no can/view/stache in 3.0
Justin Meyer
@justinbmeyer
just pushed out some more docs updates: http://canjs.github.io/canjs/ ... lots of little fixes in can-connect, can-stache-bindings updates, can-set updates
Christopher Oliphant
@RALifeCoach
@justinbmeyer I am trying to build 3.0 can app
Christopher Oliphant
@RALifeCoach
I am able to get the build to work! New question. I want the build to separate out can files amd non-can files