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

No method getTokenPosByRangeStart causing build to fail #10743

Closed
trentmwillis opened this issue Mar 28, 2015 · 2 comments · Fixed by #10747
Closed

No method getTokenPosByRangeStart causing build to fail #10743

trentmwillis opened this issue Mar 28, 2015 · 2 comments · Fixed by #10747
Assignees
Labels

Comments

@trentmwillis
Copy link
Member

Trying to get a local build up and running, but seems to be failing. I've seen the note to not use Node v0.12 yet, so I'm running v0.10.38. I get the below error:

Engelbert:ember.js trentmwillis$ npm test

> [email protected] pretest /Users/trentmwillis/workspace/ember.js
> ember build

Future versions of Ember CLI will not support v0.10.38. Please update to Node 0.12 or io.js.
version: 0.2.1
Could not find watchman, falling back to NodeWatcher for file system events.
Visit http://www.ember-cli.com/#watchman for more info.
Build failed.
File: container/container.js
Object #<Object> has no method 'getTokenPosByRangeStart'
TypeError: Object #<Object> has no method 'getTokenPosByRangeStart'
    at /Users/trentmwillis/workspace/ember.js/lib/jscs-rules/require-spaces-after-closing-parenthesis-in-function-declaration.js:37:35
    at Array.forEach (native)
    at Object.JsFile.iterateNodesByType (/Users/trentmwillis/workspace/ember.js/node_modules/emberjs-build/node_modules/broccoli-jscs/node_modules/jscs/lib/js-file.js:406:42)
    at Object.module.exports.check (/Users/trentmwillis/workspace/ember.js/lib/jscs-rules/require-spaces-after-closing-parenthesis-in-function-declaration.js:30:10)
    at null.<anonymous> (/Users/trentmwillis/workspace/ember.js/node_modules/emberjs-build/node_modules/broccoli-jscs/node_modules/jscs/lib/string-checker.js:133:18)
    at Array.forEach (native)
    at StringChecker._checkJsFile (/Users/trentmwillis/workspace/ember.js/node_modules/emberjs-build/node_modules/broccoli-jscs/node_modules/jscs/lib/string-checker.js:131:31)
    at StringChecker.checkString (/Users/trentmwillis/workspace/ember.js/node_modules/emberjs-build/node_modules/broccoli-jscs/node_modules/jscs/lib/string-checker.js:111:14)
    at JSCSFilter.processString (/Users/trentmwillis/workspace/ember.js/node_modules/emberjs-build/node_modules/broccoli-jscs/index.js:58:31)
    at Filter.processFile (/Users/trentmwillis/workspace/ember.js/node_modules/emberjs-build/node_modules/broccoli-filter/index.js:139:31)
npm ERR! Test failed.  See above for more details.
npm ERR! not ok code 0
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 a pull request may close this issue.

2 participants