hyperstack-org / hyperstack-org/hyperstack

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

Aperta
#278 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
538
Fork
41
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.