sasjs deploy for SAS 9 is failing
Maintainer thường phản hồi trong vòng 1 ngày
@krishna-acondy đang làm issue này rồi.
Từ ngày 8/12/2021.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
This happens under two scenarios:
- Failing job (contains
%abort) - Large job (eg DC deploy script, 266k lines)
Failing Job error:
To reproduce, just deploy a build.sas containing the string %abort;
sasjs d -t sas9
ℹ Target sas9 was found in your local sasjsconfig.json file. 14:26:50
ℹ Processing SAS file mysas9deploy.sas ... 14:26:50
JobExecutionError: Error Code 404: This request completed with errors. 14:26:52
at new t (/Users/munja/.nvm/versions/node/v16.13.1/lib/node_modules/@sasjs/cli/node_modules/@sasjs/adapter/node/index.js:2:337505)
at h (/Users/munja/.nvm/versions/node/v16.13.1/lib/node_modules/@sasjs/cli/node_modules/@sasjs/adapter/node/index.js:2:326682)
at Object.t.throwIfError (/Users/munja/.nvm/versions/node/v16.13.1/lib/node_modules/@sasjs/cli/node_modules/@sasjs/adapter/node/index.js:2:325633)
at t.<anonymous> (/Users/munja/.nvm/versions/node/v16.13.1/lib/node_modules/@sasjs/cli/node_modules/@sasjs/adapter/node/index.js:2:330996)
at /Users/munja/.nvm/versions/node/v16.13.1/lib/node_modules/@sasjs/cli/node_modules/@sasjs/adapter/node/index.js:2:328768
at Object.next (/Users/munja/.nvm/versions/node/v16.13.1/lib/node_modules/@sasjs/cli/node_modules/@sasjs/adapter/node/index.js:2:328873)
at /Users/munja/.nvm/versions/node/v16.13.1/lib/node_modules/@sasjs/cli/node_modules/@sasjs/adapter/node/index.js:2:327785
at new Promise (<anonymous>)
at r (/Users/munja/.nvm/versions/node/v16.13.1/lib/node_modules/@sasjs/cli/node_modules/@sasjs/adapter/node/index.js:2:327530)
at /Users/munja/.nvm/versions/node/v16.13.1/lib/node_modules/@sasjs/cli/node_modules/@sasjs/adapter/node/index.js:2:330802
url:
method:
headers:
data:
ERROR An error occurred while executing the request. 14:26:52
The SASjs runner was not found in your user folder at /User Folders/allbow/My Folder/sasjs/runner.
ℹ Please deploy the SASjs runner by running the code below and try again: 14:26:52
filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas";
%inc mc;
filename ft15f001 temp;
parmcards4;
%macro sasjs_runner();
%if %symexist(_webin_fileref) %then %do;
%inc &_webin_fileref;
%end;
%mend sasjs_runner;
%sasjs_runner()
;;;;
%mm_createwebservice(path=/User Folders/&sysuserid/My Folder/sasjs,name=runner)
ERROR Error getting execution log 14:26:52
✔ Services have been successfully deployed to https://sas.analytium.co.uk:8343.
Large Job Error
To reproduce, send a vary large file (eg the data controller SAS 9 build on the development branch - sasjs cbd -t sas9)

➜ sas git:(development) ✗ sasjs d -t sas9
ℹ Target sas9 was found in your local sasjsconfig.json file. 20:02:08
ℹ Processing SAS file mysas9deploy.sas ... 20:02:08
ERROR An error has occurred when deploying services: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of Object
at Object.writeFile (node:internal/fs/promises:760:5)
at Object.<anonymous> (/Users/munja/.nvm/versions/node/v16.13.1/lib/node_modules/@sasjs/cli/node_modules/@sasjs/utils/file/file.js:241:75)
at step (/Users/munja/.nvm/versions/node/v16.13.1/lib/node_modules/@sasjs/cli/node_modules/@sasjs/utils/file/file.js:52:23)
at Object.next (/Users/munja/.nvm/versions/node/v16.13.1/lib/node_modules/@sasjs/cli/node_modules/@sasjs/utils/file/file.js:33:53)
at fulfilled (/Users/munja/.nvm/versions/node/v16.13.1/lib/node_modules/@sasjs/cli/node_modules/@sasjs/utils/file/file.js:24:58)
- Ngôn ngữ chính
- TypeScript
- Star
- 41
- Fork
- 6
- Merge trung bình
- 9 giờ 40 phút
- Pull request đã merge (30 ngày)
- 18
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của sasjs/cli
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Automatically ratchet up coverage thresholds instead of hand-maintaining themCó thể làm lại được @YuryShkoda đã nhận 119 ngày trước và không có pull request nào đang mở. Đang mởrefactoring
sasjs/cli#1453 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Mocked test suite (`npm run test:mocked`) is too slow — speed it up without losing coverageCó thể làm lại được @YuryShkoda đã nhận 119 ngày trước và không có pull request nào đang mở. Đang mởrefactoring
sasjs/cli#1452 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Move all HTTP requests to @sasjs/adapterCó thể làm lại được @YuryShkoda đã nhận 1172 ngày trước và không có pull request nào đang mở. Đang mởadapter refactoring
sasjs/cli#1369 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
awslabs/visual-asset-management-system#937 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
t0ggles
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
nolimits4web/swiper#8255 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 15 ngày
-
render: --variables-file (and --variables <path>) fails with "io.readFile is not a function" since 0.8.212Có thể đã có người làm @miguel-heygen đã nhận hôm nay. Đang mởbug triage/needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
heygen-com/hyperframes#6830 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug launch local use
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
account: profile bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 5 ngày