Code Monkey home page Code Monkey logo

Comments (3)

xcv58 avatar xcv58 commented on August 17, 2024

Can you tell me what's your node version?

I mean that could you try to use node v6.0.0?

from mantra-sample-blog-app.

ariesshrimp avatar ariesshrimp commented on August 17, 2024

Same issue using node v4.20.6. Haven't had a chance to try with new node yet but I'm sure that's the issue.

from mantra-sample-blog-app.

lc3t35 avatar lc3t35 commented on August 17, 2024

Got the same error ; updated to node 6.3.1 with n -> works fine, with just few warnings and 1 pending test :

npm test

> [email protected] test /Users/laurent/dev/meteor/mantra-sample-blog-app
> npm run lint && npm run testonly


> [email protected] lint /Users/laurent/dev/meteor/mantra-sample-blog-app
> eslint ./lib ./client ./server --ext .js


> [email protected] testonly /Users/laurent/dev/meteor/mantra-sample-blog-app
> mocha .scripts/mocha_boot.js client/**/tests/**/*.js --compilers js:babel-core/register



  comments.actions.comments
    create
      ✓ should reject if text is not there
      ✓ should reject if postId is not there
      ✓ should clear older LocalState for CREATE_COMMENT_ERROR
      ✓ should call Meteor.call to save the comment
      after Meteor.call
        if there is error
          ✓ should set CREATE_COMMENT_ERROR with the error message
    clearErrors
      ✓ should clear CREATE_COMMENT_ERROR local state

  comments.components.comment_list
    ✓ should list given number of items
    ✓ should list comment author for each item
    ✓ should list comment text for each item
    ✓ should list saving status for each item

  comments.components.create_comment
    ✓ should show the error if there are any
    ✓ should display the create comment form
    ✓ should create a new comment when click on the button

  comments.containers.comment_list
    composer
      ✓ should subscribe to posts.comments
      after subscribed
        ✓ should fetch data from all comments & pass to onData

  comments.containers.create_comment
    composer
      ✓ should get CREATE_COMMENT_ERROR from local state
      ✓ should call onData with null and {error}
      ✓ should return clearErrors
    depsMapper
      actions
        ✓ should map comments.create
        ✓ should map comments.clearErrors
      context
        ✓ should map the whole context as a function

  core.actions.posts
    create
      ✓ should reject if title is not there
      ✓ should reject if content is not there
      ✓ should clear older LocalState for SAVING_ERROR
      ✓ should call Meteor.call to save the post
      ✓ should redirect user to the post
      after Meteor.call
        if there is error
          ✓ should set SAVING_ERROR with the error message
    clearErrors
      ✓ should clear SAVING_ERROR local state

  core.components.main_layout
    ✓ should contain navigation
    ✓ should render childrens

  core.components.navigation
    ✓ should contain a link to home
    ✓ should contain a link to create a new post

  core.components.newpost
Warning: ReactComponentTreeDevtool: Missing React element for debugID 5 when building stack
Warning: ReactComponentTreeDevtool: Missing React element for debugID 5 when building stack
Warning: ReactComponentTreeDevtool: Missing React element for debugID 5 when building stack
Warning: ReactComponentTreeDevtool: Missing React element for debugID 5 when building stack
Warning: ReactComponentTreeDevtool: Missing React element for debugID 5 when building stack
Warning: ReactComponentTreeDevtool: Missing React element for debugID 5 when building stack
Warning: ReactComponentTreeDevtool: Missing React element for debugID 5 when building stack
Warning: ReactComponentTreeDevtool: Missing React element for debugID 5 when building stack
Warning: ReactComponentTreeDevtool: Missing React element for debugID 5 when building stack
    ✓ should show the error if there are any
    ✓ should display the create post form
    ✓ should create a new post when click on the button

  core.components.post
    ✓ should display the post title
    ✓ should display the post content
    ✓ should display saving indicator if saving prop is there

  core.components.postlist
    ✓ should list given number of items
    ✓ should list post title for each item
    ✓ shallow list post link for each items

  core.containers.newpost
    composer
      ✓ should get SAVING_ERROR from local state
      ✓ should call onData with null and {error}
      ✓ should return clearErrors
      - should get SAVING_NEW_POST from local state
    depsMapper
      actions
        ✓ should map posts.create
        ✓ should map posts.clearErrors
      context
        ✓ should map the whole context as a function

  core.containers.post
    composer
      ✓ should subscribe to the given postId via prop
      before subscription ready
        with latency componsation
          ✓ should call onData with data
        with no latency componsation
          ✓ should call onData without nothing
      after subscription is ready
        ✓ should call onData with data

  core.containers.postlist
    composer
      ✓ should subscribe to posts.list
      after subscribed
        ✓ should fetch data from all posts & pass to onData


  53 passing (255ms)
  1 pending

What's the pending test ( "should get SAVING_NEW_POST from local state" )

from mantra-sample-blog-app.

Related Issues (20)

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.