nodejs_demo doesn't work as described on web site; does via readme

Đang mở
#851 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
node.js, python, rollup
Lĩnh vực
documentation

Hướng nghiên cứu

Compare the nodejs_demo instructions on installation_use.html with nodejs_demo/readme.txt, especially the transcrypt commands and the rollup step. First verify which command sequence works for running the demo with Node.js; done means the web documentation matches the working instructions and explains any required argument differences.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

SUB: documentation

On the page https://www.transcrypt.org/docs/html/installation_use.html, there's a description of how to compile and run the nodejs_demo. However, following the instructions there lead to errors. There is a readme.txt in the nodejs_demo directory. It says to use rollup, which bundles the javascript into a CommonJS format which node can run. That necessary instruction is omitted from the web site version. Also the arguments to the transcrypt command are different; I'm not sure why.

I could offer a PR to fix the docs, but I'm not sure if there's some reason for the different arguments to transcrypt or for not using rollup in the description on the web site. The web site calls transcrypt with:
transcrypt -b -p .none nodejs_demo
whereas the readme.txt uses:
transcrypt -b nodejs_demo

Ngôn ngữ chính
Python
Star
2.9k
Fork
218
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của TranscryptOrg/Transcrypt

Tất cả issue của TranscryptOrg/Transcrypt

Issue tương tự

Thêm issue về Python

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.