Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4836

Ember serve not working

$
0
0

@valentinul wrote:

Hello to everyone,

I'm a noob in Ember and JS and I just started with https://guides.emberjs.com/v2.3.0/tutorial/routes-and-templates/. After installing nodejs, bower and watchman I try to run ember s and the following error is thrown.

valentin@valipc ~/super-rentals $ ember s
version: 2.2.0-beta.6
Livereload server on http://localhost:49152
Serving on http://localhost:4200/
error is not defined
ReferenceError: error is not defined
    at ChildProcess.<anonymous> (/home/valentin/super-rentals/node_modules/ember-cli/node_modules/sane/node_modules/fb-watchman/index.js:206:15)
    at ChildProcess.emit (events.js:110:17)
    at maybeClose (child_process.js:1016:16)
    at Socket.<anonymous> (child_process.js:1184:11)
    at Socket.emit (events.js:107:17)
    at Pipe.close (net.js:484:11)
fs.js:0
(function (exports, require, module, __filename, __dirname) { // Copyright Joy
Error: ENOENT, no such file or directory 'undefined/'
    at Error (native)
    at Object.fs.readdirSync (fs.js:761:18)
    at _walkSync (/home/valentin/super-rentals/node_modules/ember-cli/node_modules/walk-sync/index.js:66:20)
    at Function.entries (/home/valentin/super-rentals/node_modules/ember-cli/node_modules/walk-sync/index.js:47:10)
    at Class.module.exports.Task.extend.getDirectoryEntries (/home/valentin/super-rentals/node_modules/ember-cli/lib/tasks/server/livereload-server.js:112:21)
    at Class.module.exports.Task.extend.didChange (/home/valentin/super-rentals/node_modules/ember-cli/lib/tasks/server/livereload-server.js:135:45)
    at EventEmitter.emit (events.js:129:20)
    at EventEmitter.Watcher.onError (/home/valentin/super-rentals/node_modules/ember-cli/node_modules/broccoli-sane-watcher/index.js:117:8)
    at WatchmanWatcher.emit (events.js:107:17)
    at Client.<anonymous> (/home/valentin/super-rentals/node_modules/ember-cli/node_modules/sane/src/watchman_watcher.js:58:10)

This is the current configuration...

valentin@valipc ~/super-rentals $ ember -v
version: 2.2.0-beta.6
node: 0.12.9
npm: 2.14.10
os: linux x64

Any ideas why is this error present?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4836

Trending Articles