hyperstack-org / hyperstack-org/hyperstack

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

Đang mở
#278 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
538
Fork
41
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.