Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sprockets::DoubleLinkError in Railsui::Page#index on fresh install #15

Closed
patrols opened this issue Jun 3, 2023 · 3 comments
Closed

Comments

@patrols
Copy link

patrols commented Jun 3, 2023

I got this error today. Same as #9.

Running rails v7.0.5

Showing /Users/username/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/bundler/gems/railsui-e31a7b47feb0/app/views/railsui/page/_launchpad.html.erb where line # raised:

Multiple files with the same output path cannot be linked ("application.js")
In "/Users/username/Projects/development/railsui-test/app/assets/config/manifest.js" these files were linked:
  - /Users/username/Projects/development/railsui-test/app/javascript/application.js
  - /Users/username/Projects/development/railsui-test/app/assets/builds/application.js

I removed //= link_tree ../../javascript .js, is that correct way of fixing it? @justalever

@justalever
Copy link
Collaborator

Thanks for this! This shouldn't need to happen, so I'm looking into it and will report back 👍

@justalever
Copy link
Collaborator

Ok, back already. I missed gsub-ing the manifest.js file during the install script. I just pushed a new version out there if you want to update it locally and give it another shot.

@patrols
Copy link
Author

patrols commented Jun 6, 2023

Nice, it is fixed now 👍

@patrols patrols closed this as completed Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants