hyperstack-org / hyperstack-org/hyperstack

Installation with the template: application.js does not appear to exist

Offen
#278 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
538
Forks
41
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi,

I'm trying to follow the installation instructions from the website.

This commands:

rails new hyperstacktest -T -m https://rawgit.com/hyperstack-org/hyperstack/edge/install/rails-webpacker.rb

ends with

```

yarn add v1.19.0
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 1 new dependency.
info Direct dependencies
└─ jquery@3.4.1
info All dependencies
└─ jquery@3.4.1
Done in 1.43s.
insert app/assets/javascripts/application.js
The template [https://rawgit.com/hyperstack-org/hyperstack/edge/install/rails-webpacker.rb] could not be loaded. Error: The file /home/vince/bacasable/hyperstacktest/app/assets/javascripts/application.js does not appear to exist
```

I try to carry on:
- I must install `ruby-foreman`
- `foreman start` complains that there is no Procfile
I create one I found on your Slack:
```
web: bundle exec rails s -b 0.0.0.0
hot-loader: bundle exec hyperstack-hotloader -d app/hyperstack
```
but then `localhost:5000` was still unreachable. Same with BASE_URL="http://localhost:5000" foreman start.

Looks like there's a missing bit in the template.

Cheers

Rails 6

ps: could you point to real world examples, preferably open source (apart from the website itself), if there are any?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.