GithubHelp home page GithubHelp logo

Comments (7)

Arkham avatar Arkham commented on August 15, 2024

Hey @crodriguez1a I couldn't replicate this error using ember cli 2.4.3 Do you have some replication steps?

from ember-calendar.

BenjaminHorn avatar BenjaminHorn commented on August 15, 2024

same here. I am on Ember CLI 2.3.0.

from ember-calendar.

Arkham avatar Arkham commented on August 15, 2024

@BenjaminHorn can you setup a new repo which reproduces the issue?

from ember-calendar.

BenjaminHorn avatar BenjaminHorn commented on August 15, 2024

@Arkham I'have just made a new repo (this time with ember-cli 2.4.0) and I tried to install the addon.

ember new ember-calendar-error
cd ember-calendar-error
ember install ember-calendar

image

https://github.com/alphasights/ember-calendar/blob/develop/blueprints/ember-calendar/index.js#L10

from ember-calendar.

crodriguez1a avatar crodriguez1a commented on August 15, 2024

@Arkham Man, I'm sorry I never got back to you. Same issue as @BenjaminHorn. I'm not sure that babel is compiling when the blueprint is executed. Let me know if I can help.

from ember-calendar.

BenjaminHorn avatar BenjaminHorn commented on August 15, 2024

@Arkham @crodriguez1a I think the problem is that in 'use strict' mode there is no arrow function. Anyway this seems to solve the problem:

/* jshint node: true */
'use strict';

module.exports = {
  normalizeEntityName: function() {},

  afterInstall: function() {
    var _this = this;
    return this.addAddonsToProject({
      packages: [{ name: 'ember-moment', target: '6.0.0' }]
    }).then(function() {
      return _this.addPackagesToProject([
        { name: 'broccoli-sass', target: '0.7.0' },
        { name: 'ember-component-inbound-actions', target: '0.0.4' },
        { name: 'ember-rl-dropdown', target: '0.7.0' },
        { name: 'liquid-fire', target: '0.21.3' }
      ]);
    }).then(function() {
      return _this.addBowerPackagesToProject([
        { name: 'interact', target: '1.2.5' },
        { name: 'jquery-simulate', target: '1.0.1' },
        { name: 'lodash', target: '3.10.0' },
        { name: 'fontawesome', target: '~4.5.0'}
      ]);
    });
  }
};

from ember-calendar.

Arkham avatar Arkham commented on August 15, 2024

Thanks for the report, I've release 0.3.8 which fixes this problem!

from ember-calendar.

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.