GithubHelp home page GithubHelp logo

Comments (4)

thoov avatar thoov commented on May 22, 2024

@jackmatt2 Thanks for opening this issue. I just ran these commands to test the baseline:

ember new testapp
cd testapp
ember install ember-websockets
ember s

And I was not able to get the error you mentioned. Can you give me some info on your setup (what version of ember-cli, are you running on windows, etc)? Also can you let me know how you installed the addon?

from ember-websockets.

jackmatt2 avatar jackmatt2 commented on May 22, 2024

OS: Fedora Linux 20

$ ember --version
version: 0.2.7
Could not find watchman, falling back to NodeWatcher for file system events.
Visit http://www.ember-cli.com/#watchman for more info.
node: 0.12.2
npm: 2.11.0

Installed using ember install ember-websockets but get the error below while installing.

version: 0.2.7
Could not find watchman, falling back to NodeWatcher for file system events.
Visit http://www.ember-cli.com/#watchman for more info.
Installed packages for tooling via npm.
Cannot read property 'name' of undefined                                                                                                                                                       
TypeError: Cannot read property 'name' of undefined                                                                                                                                            
    at /home/jack/git/my-project/node_modules/ember-cli/lib/models/project.js:482:53                                                                                      
    at baseFindIndex (/home/jack/git/my-project/node_modules/ember-cli/node_modules/lodash/internal/baseFindIndex.js:16:9)                                                
    at /home/jack/git/my-project/node_modules/ember-cli/node_modules/lodash/internal/createFind.js:18:19                                                                  
    at Project.findAddonByName (/home/jack/git/my-project/node_modules/ember-cli/lib/models/project.js:481:20)                                                            
    at Class.module.exports.Task.extend.findDefaultBlueprintName (/home/jack/git/my-project/node_modules/ember-cli/lib/tasks/addon-install.js:63:30)                      
    at Class.module.exports.Task.extend.installBlueprint (/home/jack/git/my-project/node_modules/ember-cli/lib/tasks/addon-install.js:52:30)                              
    at Class.<anonymous> (/home/jack/git/my-project/node_modules/ember-cli/lib/tasks/addon-install.js:42:19)                                                              
    at lib$rsvp$$internal$$tryCatch (/home/jack/git/my-project/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:489:16)                                              
    at lib$rsvp$$internal$$invokeCallback (/home/jack/git/my-project/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:501:17)                                        
    at lib$rsvp$$internal$$publish (/home/jack/git/my-project/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:472:11)

Running ember s

Path or pattern "bower_components/uri.js/src/URI.min.js" did not match any files
Error: Path or pattern "bower_components/uri.js/src/URI.min.js" did not match any files
    at Object.multiGlob (/home/jack/git/my-project/node_modules/ember-cli/node_modules/broccoli-kitchen-sink-helpers/index.js:202:13)
    at Class.module.exports.CachingWriter.extend.addFiles (/home/jack/git/my-project/node_modules/ember-cli/node_modules/broccoli-sourcemap-concat/concat-with-maps.js:74:13)
    at Class.module.exports.CachingWriter.extend.updateCache (/home/jack/git/my-project/node_modules/ember-cli/node_modules/broccoli-sourcemap-concat/concat-with-maps.js:52:12)
    at /home/jack/git/my-project/node_modules/ember-cli/node_modules/broccoli-sourcemap-concat/node_modules/broccoli-caching-writer/index.js:92:34
    at lib$rsvp$$internal$$tryCatch (/home/jack/git/my-project/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:489:16)
    at lib$rsvp$$internal$$invokeCallback (/home/jack/git/my-project/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:501:17)
    at lib$rsvp$$internal$$publish (/home/jack/git/my-project/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:472:11)
    at lib$rsvp$asap$$flush (/home/jack/git/my-project/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:1290:9)
    at process._tickCallback (node.js:355:11)

installed using npm install --save-dev ember-websockets results in no error during installation but I get the same error when running ember s

Uninstalled npm uninstall --save-dev ember-websockets, ember s now results in no error and the server starts successfully.

from ember-websockets.

thoov avatar thoov commented on May 22, 2024

What happens if you run:

ember install ember-websockets
bower install --save-dev uri.js
ember s

from ember-websockets.

jackmatt2 avatar jackmatt2 commented on May 22, 2024

@thoov Yes, that has fixed the issue. Maybe this should be part of the installation instructions.

from ember-websockets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.