question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Broken with latest ember-cli (2.4.0)

See original GitHub issue

After 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:closed
  • Created 8 years ago
  • Comments:27 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
ebryncommented, Mar 22, 2016

Please give our newly released 0.2.0-beta.1 release a shot and let us know if that solves this issue for you.

0reactions
barneycarrollcommented, Jun 23, 2016

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found