Git Product home page Git Product logo

ember-cli-deploy-chrome-app's People

Contributors

ember-tomster avatar rmachielse avatar wadie 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

Watchers

 avatar  avatar

ember-cli-deploy-chrome-app's Issues

Default configuration on new project not working

Hi ! This just happened to me today, I believe I did set up things correctly, so I guess it is a problem in the addon, here are the details:

In a brand new project with the following versions:

  • ember: 2.18.1
  • ember-cli-deploy: 1.0.2
  • ember-cli-deploy-chrome-app: 0.4.0

Full package.json

{
  "name": "ember-chrome-extension-example",
  "version": "0.0.0",
  "private": true,
  "description": "Small description for ember-chrome-extension-example goes here",
  "license": "MIT",
  "author": "",
  "directories": {
    "doc": "doc",
    "test": "tests"
  },
  "repository": "",
  "scripts": {
    "build": "ember build",
    "lint:js": "eslint ./*.js app config lib server tests",
    "start": "ember serve",
    "test": "ember test"
  },
  "devDependencies": {
    "broccoli-asset-rev": "^2.4.5",
    "ember-ajax": "^3.0.0",
    "ember-cli": "~2.18.1",
    "ember-cli-app-version": "^3.0.0",
    "ember-cli-babel": "^6.6.0",
    "ember-cli-dependency-checker": "^2.0.0",
    "ember-cli-deploy": "^1.0.2",
    "ember-cli-deploy-chrome-app": "^0.4.0",
    "ember-cli-eslint": "^4.2.1",
    "ember-cli-htmlbars": "^2.0.1",
    "ember-cli-htmlbars-inline-precompile": "^1.0.0",
    "ember-cli-inject-live-reload": "^1.4.1",
    "ember-cli-qunit": "^4.1.1",
    "ember-cli-shims": "^1.2.0",
    "ember-cli-sri": "^2.1.0",
    "ember-cli-uglify": "^2.0.0",
    "ember-data": "~2.18.0",
    "ember-export-application-global": "^2.0.0",
    "ember-load-initializers": "^1.0.0",
    "ember-resolver": "^4.0.0",
    "ember-source": "~2.18.0",
    "ember-welcome-page": "^3.0.0",
    "eslint-plugin-ember": "^5.0.0",
    "loader.js": "^4.2.3"
  },
  "engines": {
    "node": "^4.5 || 6.* || >= 7.*"
  }
}

ember deploy development blows up with

TypeError: Path must be a string. Received undefined
    at assertPath (path.js:28:11)
    at Object.join (path.js:1251:7)
    at Promise (/Users/federico/fedekau/ember-chrome-extension-example/node_modules/ember-cli-deploy-chrome-app/index.js:119:26)
    at initializePromise (/Users/federico/fedekau/ember-chrome-extension-example/node_modules/rsvp/dist/rsvp.js:567:5)
    at new Promise (/Users/federico/fedekau/ember-chrome-extension-example/node_modules/rsvp/dist/rsvp.js:1039:33)
    at Class._ensureOutputPath (/Users/federico/fedekau/ember-chrome-extension-example/node_modules/ember-cli-deploy-chrome-app/index.js:118:16)
    at Class.didBuild (/Users/federico/fedekau/ember-chrome-extension-example/node_modules/ember-cli-deploy-chrome-app/index.js:53:21)
    at Object.fn (/Users/federico/fedekau/ember-chrome-extension-example/node_modules/ember-cli-deploy/lib/tasks/pipeline.js:93:21)
    at Pipeline._notifyPipelinePluginHookExecution (/Users/federico/fedekau/ember-chrome-extension-example/node_modules/ember-cli-deploy/lib/models/pipeline.js:173:19)
Pipeline aborted

Looking at the code I decided to add a distDir key to the config/deploy.js file

'chrome-app': {
      distDir: 'chrome-extension'
},

After the ember deploy development command is executed the chrome-extension folder is created with a chrome folder in it but no zip is created in the project tree.

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.