rmachielse / ember-cli-deploy-chrome-app Goto Github PK
View Code? Open in Web Editor NEWEmber CLI Deploy Chrome app
License: MIT License
Ember CLI Deploy Chrome app
License: MIT License
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:
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.
Hi,
thanks for your addon.
I am new to ember-cli-deploy and after installing it and installing your addon "chrome" folder is not created as is explained in readme.
npm install ember-cli-deploy-chrome-app
gave me 4 warnings:
warn engine [email protected] wanted
warn deprecated [email protected]
warn deprecated [email protected]
warn deprecated [email protected]
my setup is:
ember: 1.13.8
node: 0.12.7
npm: 2.13.4
os: win32 x64
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.