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

Attempting to install latest Ember as a node package is failling #12573

Closed
olivierlesnicki opened this issue Nov 9, 2015 · 6 comments
Closed
Labels

Comments

@olivierlesnicki
Copy link

Only the following versions are available from npm:

["0.9.7-1","0.9.8","0.9.8-1","1.0.0-pre","1.0.0-pre.m1","1.0.0-pre.m2","1.0.0-pre.2"]
@olivierlesnicki
Copy link
Author

None of the available versions are actually working.

index.js

require('ember');

Results in:

ReferenceError: window is not defined
    at /Users/pro/Workbench/Centrica/sandbox/ember-node/node_modules/ember/rsvp.js:215:5
    at Object.<anonymous> (/Users/pro/Workbench/Centrica/sandbox/ember-node/node_modules/ember/rsvp.js:217:3)
    at Module._compile (module.js:434:26)
    at Object.Module._extensions..js (module.js:452:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/Users/pro/Workbench/Centrica/sandbox/ember-node/node_modules/ember/runtime.js:6:1)
    at Module._compile (module.js:434:26)

with version 1.0.0-pre.2

and

SyntaxError: Setter must have exactly one formal parameter.
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:413:25)
    at Object.Module._extensions..js (module.js:452:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/Users/pro/Workbench/Centrica/sandbox/ember-node/node_modules/ember/node_modules/window/node_modules/jsdom/lib/jsdom/level2/core.js:1:94)
    at Module._compile (module.js:434:26)
    at Object.Module._extensions..js (module.js:452:10)

with version 0.9.7-1

@olivierlesnicki olivierlesnicki changed the title Attempting to install latest Ember as a package.json is failling Attempting to install latest Ember as a node package is failling Nov 9, 2015
@stefanpenner
Copy link
Member

ember is not an official package for us. Ember has not historically shipped with npm but that should be changing this month.

Sorry for the confusion.

@olivierlesnicki
Copy link
Author

@stefanpenner is there a PR or RFC I can follow for this?

@stefanpenner
Copy link
Member

It is likely we will reserve the ember package for something else

  • release ember package sentinel that throws with helpful message if user tries to use

cc @ef4 i think you mentioned this, do you by anychance of the required cycles ?

@olivierlesnicki
Copy link
Author

@stefanpenner thanks

@locks
Copy link
Contributor

locks commented Sep 28, 2016

Please track this at #13022.

@locks locks closed this as completed Sep 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants