Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX release] Update ember-cli-htmlbars-inline-precompile requirement #6711

Merged
merged 1 commit into from Jan 24, 2017

Conversation

SaladFork
Copy link
Contributor

@SaladFork SaladFork commented Jan 24, 2017

This fixes an error that would occur if a version <0.3.6 were installed in an app with the ember-source NPM package rather than the bower package, recently introduced in Ember v2.11.0:

$ ember s
Cannot find module 'MyApp/bower_components/ember/ember-template-compiler'
Error: Cannot find module 'MyApp/bower_components/ember/ember-template-compiler'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Class.included (MyApp/node_modules/ember-cli-htmlbars-inline-precompile/index.js:48:20)
    at Class.superWrapper [as included] (MyApp/node_modules/core-object/lib/assign-properties.js:32:18)
    at EmberApp.<anonymous> (MyApp/node_modules/ember-cli/lib/broccoli/ember-app.js:492:15)
    at Array.filter (native)
    at EmberApp._notifyAddonIncluded (MyApp/node_modules/ember-cli/lib/broccoli/ember-app.js:487:45)
    at new EmberApp (MyApp/node_modules/ember-cli/lib/broccoli/ember-app.js:138:8)

See: https://github.com/ember-cli/ember-cli-htmlbars-inline-precompile/blob/master/CHANGELOG.md#036-2016-11-04

…ement

This fixes an error that would occur if a version <0.3.6 were installed in an app with the `ember-source` NPM package rather than the bower package, recently introduced in Ember v2.11.0:

```
$ ember s
Cannot find module 'MyApp/bower_components/ember/ember-template-compiler'
Error: Cannot find module 'MyApp/bower_components/ember/ember-template-compiler'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Class.included (MyApp/node_modules/ember-cli-htmlbars-inline-precompile/index.js:48:20)
    at Class.superWrapper [as included] (MyApp/node_modules/core-object/lib/assign-properties.js:32:18)
    at EmberApp.<anonymous> (MyApp/node_modules/ember-cli/lib/broccoli/ember-app.js:492:15)
    at Array.filter (native)
    at EmberApp._notifyAddonIncluded (MyApp/node_modules/ember-cli/lib/broccoli/ember-app.js:487:45)
    at new EmberApp (MyApp/node_modules/ember-cli/lib/broccoli/ember-app.js:138:8)
```

See: https://github.com/ember-cli/ember-cli-htmlbars-inline-precompile/blob/master/CHANGELOG.md#036-2016-11-04
@SaladFork SaladFork changed the title [BUGFIX release] Update ember-cli-htmlbars-inline-precompile requir… [BUGFIX release] Update ember-cli-htmlbars-inline-precompile requirement Jan 24, 2017
Copy link
Member

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for getting to the bottom of this!

@rwjblue
Copy link
Member

rwjblue commented Jan 24, 2017

@homu r+

@homu
Copy link
Contributor

homu commented Jan 24, 2017

📌 Commit f50d04a has been approved by rwjblue

@homu
Copy link
Contributor

homu commented Jan 24, 2017

⚡ Test exempted - status

@homu homu merged commit f50d04a into ember-cli:release Jan 24, 2017
homu added a commit that referenced this pull request Jan 24, 2017
[BUGFIX release] Update `ember-cli-htmlbars-inline-precompile` requirement

This fixes an error that would occur if a version <0.3.6 were installed in an app with the `ember-source` NPM package rather than the bower package, recently introduced in Ember v2.11.0:

```
$ ember s
Cannot find module 'MyApp/bower_components/ember/ember-template-compiler'
Error: Cannot find module 'MyApp/bower_components/ember/ember-template-compiler'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Class.included (MyApp/node_modules/ember-cli-htmlbars-inline-precompile/index.js:48:20)
    at Class.superWrapper [as included] (MyApp/node_modules/core-object/lib/assign-properties.js:32:18)
    at EmberApp.<anonymous> (MyApp/node_modules/ember-cli/lib/broccoli/ember-app.js:492:15)
    at Array.filter (native)
    at EmberApp._notifyAddonIncluded (MyApp/node_modules/ember-cli/lib/broccoli/ember-app.js:487:45)
    at new EmberApp (MyApp/node_modules/ember-cli/lib/broccoli/ember-app.js:138:8)
```

See: https://github.com/ember-cli/ember-cli-htmlbars-inline-precompile/blob/master/CHANGELOG.md#036-2016-11-04
@SaladFork SaladFork deleted the patch-1 branch January 24, 2017 16:53
@Turbo87 Turbo87 added this to the v2.11.1 milestone Jan 26, 2017
@Turbo87 Turbo87 added the bug label Feb 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants