Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. [Solved] Installation of release/4.0 or dev, missing jQuery assets?

[Solved] Installation of release/4.0 or dev, missing jQuery assets?

Added by Taras Zakharko over 10 years ago

Dear all,

I have attempted to run the current release/4.0 branch, but I keep running into the issue that seems to be related to jQuery (same happens on the dev branch)

In short, everything works, but running assets:precompile in production results in

Sprockets::FileNotFound: couldn’t find file ‘jquery’ (in /Users/Shared/openproject1/app/assets/javascripts/application.js.erb:13)

I can then launch OpenProjects via Apache and Passenger and also via rails server, but all I get is html with broken layout.

If I run in development environment, I get tons of

Warning. Error encountered while saving cache 5d9b91cdc8207e6fc4fab93a8e7c38a8aa868887/_mixins.sassc: can’t dump anonymous class #Class:0x007fae13270858

and the website renders an error message

File to import not found or unreadable: css/jquery.atwho.

As I have no idea about Rails, I am absolutely clueless what the issue is and how to fix it.

Hope to get some assistance!

Thanks.

t.

P.S. Running on OS X 10.10 with RVM, ruby 2.1.3p242, rails 3.2.19


Replies (4)

RE: Installation of release/4.0 or dev, missing jQuery assets? - Added by Taras Zakharko over 10 years ago

Ok, it turns out that I didn’t realise that bower was a requirement now. Running it solved everything.

Thanks anyway!

RE: Installation of release/4.0 or dev, missing jQuery assets? - Added by Robin Wagner over 10 years ago

Hi Taras,

thanks for your post.
Yes, you’re right: OpenProject 4.0 requires npm and bower.

We just officially released OP 4.0. Please refer to the news and the installation guidelines for detailed information.

Thanks,
Robin

RE: Installation of release/4.0 or dev, missing jQuery assets? - Added by Duarte Dias over 10 years ago

Taras you say that running bower solved it… but what do you mean by running it? I did bower install and still get the same error

RE: Installation of release/4.0 or dev, missing jQuery assets? - Added by Duarte Dias over 10 years ago

Oops forget it… I tried it so many times…finally worked! maybe wrong order of commands

  • (1 - 4/4)
Loading...