Broken with latest ember-cli (2.4.0)
See original GitHub issueAfter upgrading to ember-cli and ember 2.4.0 I started getting this error, preventing the build to run:
this.vendorStaticStyles.concat is not a function
TypeError: this.vendorStaticStyles.concat is not a function
at EmberApp.styles (/home/pablo/projects/kube-admin/node_modules/ember-component-css/index.js:85:43)
at EmberApp.toArray (/home/pablo/projects/kube-admin/node_modules/ember-cli/lib/broccoli/ember-app.js:1493:10)
at EmberApp.toTree (/home/pablo/projects/kube-admin/node_modules/ember-cli/lib/broccoli/ember-app.js:1514:30)
at module.exports (/home/pablo/projects/kube-admin/ember-cli-build.js:25:14)
at Class.module.exports.Task.extend.setupBroccoliBuilder (/home/pablo/projects/kube-admin/node_modules/ember-cli/lib/models/builder.js:55:19)
at Class.module.exports.Task.extend.init (/home/pablo/projects/kube-admin/node_modules/ember-cli/lib/models/builder.js:89:10)
at new Class (/home/pablo/projects/kube-admin/node_modules/ember-cli/node_modules/core-object/core-object.js:18:12)
at Class.module.exports.Task.extend.run (/home/pablo/projects/kube-admin/node_modules/ember-cli/lib/tasks/serve.js:15:19)
at /home/pablo/projects/kube-admin/node_modules/ember-cli/lib/commands/serve.js:70:22
at lib$rsvp$$internal$$tryCatch (/home/pablo/projects/kube-admin/node_modules/rsvp/dist/rsvp.js:493:16)
If I change line 82 at index.js to this
inputFiles: this.vendorStaticStyles['/assets/vendor.css'].concat(['vendor/addons.css']),
then is working again. I’m preparing a PR for this
Apparently the structure of this.vendorStaticStyles changed. Is this private API?
Issue Analytics
- State:
- Created 8 years ago
- Comments:27 (11 by maintainers)
Top Results From Across the Web
Getting corrupted font assets in ember-cli 2.4.0 · Issue #5538
Getting corrupted font assets in ember-cli 2.4.0 #5538 ... with ember-cli 2.3.0. Latest commit has broken fonts after upgrade to 2.4.0 ...
Read more >Ember.js Releases
js Releases. Ember is committed to shipping new features without breaking your existing applications. You get Long Term Support (LTS) versions, a 6-week...
Read more >How to upgrade ember cli version
Updating Ember-CLI's version and ember project's version are different thing. To update Ember-CLI: npm uninstall -g ember-cli npm cache clean bower cache ...
Read more >ember-cli
Command line tool for developing ambitious ember.js apps. Latest version: 4.9.2, last published: 18 days ago. Start using ember-cli in your ...
Read more >ember-cli-mdc-image-list - NPM Package Overview
Package semver skipped several versions, this could indicate a dependency confusion attack or indicate the intention of disruptive breaking ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please give our newly released
0.2.0-beta.1
release a shot and let us know if that solves this issue for you.@webark yeah, no luck. The reason for this is due to my app having a slightly unorthodox pod file system hierarchy, in combination with brittle logic matching classNames at build and run time. Proposed a fork #151.