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. Fresh install OP 7 : ActionView::Template::Error (File to import not found or unreadable: bundles/openproject-core-app

Fresh install OP 7 : ActionView::Template::Error (File to import not found or unreadable: bundles/openproject-core-app

Added by Stéphane V almost 8 years ago

After a fresh install of Openproject (stable/7), I get the following error message when accessing localhost:3000 for the first time :

Showing /home/stephane/www/openproject8/app/views/homescreen/blocks/_upsale.html.erb where line #6 raised:

File to import not found or unreadable: bundles/openproject-core-app.@

Tutorial followed for installation :

https://www.openproject.org/development/setting-up-development-environment/

Configuration :

  • ruby 2.4.1
  • node 6.11.0
  • rails 5.0.3
  • bundler 1.15.1
  • openproject stable/7 (https://github.com/opf/openproject/tree/stable/7 )

I suspect an issue in app/assets/stylesheets/openproject.sass:43 , as indicated by the error trace… but this app should work out of the box…

Is this related to Foundation ?


Replies (2)

RE: Fresh install OP 7 : ActionView::Template::Error (File to import not found or unreadable: bundles/openproject-core-app - Added by Oliver Günther almost 8 years ago

You are using the development only guide for setting up OpenProject. In this environment, you need to manually compile the assets with webpack so the dev server can find it. See the command Webpack bundling in the guide you linked to.

Unless you’re trying to develop for OpenProject, this setup is unsuitable for any productive use. Instead, either use the packages provided by us or follow the manual installation guide. This is mostly identical to the development guide, but will precompile the assets and generate the required secrets to run OpenProject in production.

RE: Fresh install OP 7 : ActionView::Template::Error (File to import not found or unreadable: bundles/openproject-core-app - Added by Stéphane V almost 8 years ago

Yes. Indeed. The compilation of webpack elements was mising. Running this command (in a separate window) solved the issue

RAILS_ENV=development npm run webpack-watch

And yes, I’m trying to build a development environment with OP7 and not a production environment. The only thing is that I don’t know angularJS yet… so building javacript in development was new to me… ;) learning everyday ;)

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