Giter VIP home page Giter VIP logo

Comments (5)

moudy avatar moudy commented on July 19, 2024

@droppedonjapan can't tell what your issue is. I updated the project to ember-cli 0.44 to see if that would help. It's working fine for me. Can you try again and let me know? Make sure to run bower install in the app/ directory in addition to npm install.

from agenda-ui.

Albert-IV avatar Albert-IV commented on July 19, 2024

I've found out why this wasn't installing, apparently you need both Bower and Ember installed globally for this to work. Do you want me to add something to the README to reference that?

On the road to installing, it looks like your Bower entry for bootstrap-sass-official might be pointing to the wrong target. I see the tag in GitHub exists, however Bower says it isn't a valid install target (this happened even after cleaning Bower's cache). After changing the dependency from ~3.2.0+2 to ^3.2.0 bower install would finish without any issues.

screenshot from 2014-09-16 08 16 30

So the last bump in the road is that I can't get your npm prepublish build script to finish correctly; it failing at the ember build step. If I change the npm script name the npm install finishes correctly.

$ npm install

> [email protected] prepublish /home/alberte/personal/agenda-ui
> ./scripts/build

version: 0.0.44
Build failed.
Path or pattern "vendor/highlight/highlight.pack.js" did not match any files [string exception]
Error: Path or pattern "vendor/highlight/highlight.pack.js" did not match any files [string exception]
    at /home/alberte/personal/agenda-ui/app/node_modules/ember-cli/node_modules/broccoli/lib/builder.js:34:15
    at $$$internal$$tryCatch (/home/alberte/personal/agenda-ui/app/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:470:16)
    at $$$internal$$invokeCallback (/home/alberte/personal/agenda-ui/app/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:482:17)
    at $$$internal$$publish (/home/alberte/personal/agenda-ui/app/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:453:11)
    at $$$internal$$publishRejection (/home/alberte/personal/agenda-ui/app/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:395:7)
    at $$rsvp$asap$$flush (/home/alberte/personal/agenda-ui/app/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:1531:9)
    at process._tickCallback (node.js:419:13)
mv: cannot stat ‘./dist/assets/app.*’: No such file or directory
mv: cannot stat ‘./dist/assets/vendor*’: No such file or directory

npm ERR! [email protected] prepublish: `./scripts/build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] prepublish script.
npm ERR! This is most likely a problem with the agenda-ui package,
npm ERR! not with npm itself.

So we're close! If you want a PR for the README and Bower.json file, let me know and I can whip one up. I'm playing with the Brocfile.js now.

from agenda-ui.

Albert-IV avatar Albert-IV commented on July 19, 2024

Yeah, I can't seem to find this highlight.pack.js anywhere. I noticed that the base node_modules has the highlight.js package installed, but I can't find that specific file that you are trying to import anywhere in the project.

That being said, this was my order of operations:

cd app/
npm install
bower install
cd ..
npm install

from agenda-ui.

moudy avatar moudy commented on July 19, 2024

@droppedonjapan oops, I forgot to un-ignore highlight.pack.js. I'm including it in the repo because it's a custom build of highlightjs that only includes JSON syntax highlighting. Does that solve it?

from agenda-ui.

Albert-IV avatar Albert-IV commented on July 19, 2024

Ahh, that fixed most of my issues. I'm going to submit a PR to improve the development documentation a bit, as well as fix the broken Bower dependency.

from agenda-ui.

Related Issues (19)

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.