Skip to content

ember serve failing after a bare install #1

Closed

Description

@huafu

After a bare install I'm having a failure running ember serve:

$ git clone https://github.com/artificialio/sane.git
$ cd sane
$ npm install
...
$ bower install
...
$ ember serve
version: 0.0.44
Livereload server on port 35729
Serving on http://0.0.0.0:4200
.../sane/client/bower_components/foundation/scss/foundation/functions:13: error: error reading values after )
 [string exception]
Error: .../sane/client/bower_components/foundation/scss/foundation/functions:13: error: error reading values after )
 [string exception]
    at .../sane/client/node_modules/ember-cli/node_modules/broccoli/lib/builder.js:34:15
    at $$$internal$$tryCatch (.../sane/client/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:470:16)
    at $$$internal$$invokeCallback (.../sane/client/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:482:17)
    at $$$internal$$publish (.../sane/client/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:453:11)
    at $$$internal$$publishRejection (.../sane/client/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:395:7)
    at $$rsvp$asap$$flush (.../sane/client/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:1531:9)
    at process._tickCallback (node.js:419:13)

I first tried to do the same but instead of npm install && bower install I've ran ember init and choose no to all xxx exists, replace? and I was having another issue and that is why I tried a bare install without changing anything and following the README. The error I was getting at that point was (but I didn't change the app/app.js):

$ ember server
version: 0.0.44
Livereload server on port 35729
Serving on http://0.0.0.0:4200
ENOENT, no such file or directory '.../client/tmp/tree_merger-tmp_dest_dir-irUhw3wT.tmp/client/app.js'
Error: ENOENT, no such file or directory '.../client/tmp/tree_merger-tmp_dest_dir-irUhw3wT.tmp/client/app.js'
  at Object.fs.statSync (fs.js:695:18)
  at addModule (.../client/node_modules/ember-cli/node_modules/broccoli-es6-concatenator/index.js:83:46)
  at addModule (.../client/node_modules/ember-cli/node_modules/broccoli-es6-concatenator/index.js:126:9)
  at .../client/node_modules/ember-cli/node_modules/broccoli-es6-concatenator/index.js:59:7
  at $$$internal$$tryCatch (.../client/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:470:16)
  at $$$internal$$invokeCallback (.../client/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:482:17)
  at $$$internal$$publish (.../client/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:453:11)
  at $$rsvp$asap$$flush (.../client/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:1531:9)
  at process._tickCallback (node.js:419:13)

Is anyone having such issues?

Activity

  1. Globegitter commented on Sep 10, 2014

    @Globegitter
    Member

    Yeah, with upgrading to the latest ember-cli they did have some breaking changes how external libraries and bower components are loaded. Will look into it and get back to you asap.

    Edit: To temporary fix it, you could remove the foundation import in this file https://github.com/artificialio/sane/blob/master/client/app/styles/app.scss

  2. Globegitter commented on Sep 10, 2014

    @Globegitter
    Member

    Aahh @huafu it seems the latest foundation is the culprit. Libsass 2.1 Beta is not supporting the global keyword yet that came with sass 3.3 - that is pretty annoying. Will push at least a temporary fix soon.

  3. huafu commented on Sep 10, 2014

    @huafu
    Author

    thanks for taking care of that. but waiting for the fix, should I try going back to foundation 2.0 or down?

  4. Globegitter commented on Sep 10, 2014

    @Globegitter
    Member

    @huafu Can you just try, in the file client/bower.json change "foundation": "zurb/bower-foundation#~5.4.3" to "foundation": "zurb/bower-foundation#~5.3.0"

    Then run bower install again and that should fix it at least until I found a better solution

  5. huafu commented on Sep 10, 2014

    @huafu
    Author

    Haha, I was about to post that I replaced with "foundation": "zurb/bower-foundation#5.4.0" and that worked ;-)

  6. huafu commented on Sep 10, 2014

    @huafu
    Author

    You have to remove the ~ else it'll install 5.4.3. Thanks anyway for the fast answer!

  7. Globegitter commented on Sep 11, 2014

    @Globegitter
    Member

    Just checked the foundation code and locking it to 5.4.2 should do the trick. Let me if you run into any other issues.

  8. added a commit that references this issue on Dec 26, 2014
  9. added a commit that references this issue on Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions