Skip to content

Assets precompile error #435

@Tamiyadd

Description

@Tamiyadd

Hi @justin808, i upgraded my react on rails version from 6.0.0.rc1 to 6.0.0 but i started to get an error on assets precompile.

When precompiling assets it throws the following error:

TypeError: no implicit conversion of nil into String
.rvm/gems/ruby-2.1.2/gems/react_on_rails-6.0.0/lib/tasks/assets.rake:30:in `initialize'
.rvm/gems/ruby-2.1.2/gems/react_on_rails-6.0.0/lib/tasks/assets.rake:30:in `new'
.rvm/gems/ruby-2.1.2/gems/react_on_rails-6.0.0/lib/tasks/assets.rake:30:in `block (3 levels) in <top (required)>'
.rvm/gems/ruby-2.1.2/gems/react_on_rails-6.0.0/lib/tasks/assets.rake:109:in `block in <top (required)>'
.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `eval'
.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => react_on_rails:assets:symlink_non_digested_assets
(See full trace by running task with --trace)

i investigated in that line of code and found that the gem search for .sprockets-manifest-*.json manifest file but i have a manifest-*.json manifest file.
Maybe the problem is there? i don't know why with the rc1 everything works well and with this version it's not working

can you help me?

thanks

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