Any questions about 112-1 Hackathon #2, please raise an issue here!
ntuee-web-programming / 112-1-hack2-qnas Goto Github PK
View Code? Open in Web Editor NEWAny question about 112-1 Hackathon #2, please raise an issue here!
Any question about 112-1 Hackathon #2, please raise an issue here!
助教您好
我的網站跑不起來
yarn dev 後出現
Error: getaddrinfo ENOTFOUND base
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Error: Timed out 1500ms waiting for expect(locator).toBeChecked()
Locator: locator('div').filter({ hasText: /^Task 1delete$/ }).getByRole('checkbox')
Expected: checked
Received: unchecked
Call log:
14 | .getByRole("checkbox");
15 | await task1Checkbox.click();
16 | await expect(task1Checkbox).toBeChecked();
| ^
17 |
18 | await addTask(page, "Task 2");
19 | const task2Checkbox = page
at /autograder/source/tests/public-9.spec.ts:16:31
助教好,我有一個9:33分交的紀錄,那個應該是0分,但系統顯示100,再請助教幫我重新批改那一份,不然我怕到時候選錯。(B10705025)
在批改後 都會出現一個叫做> 72 | await page.waitForURL(/projects
);
的錯誤 但我的第一題有通過 然後也是因為這個原因過不了第二題與第三題 請問這是我的問題嗎?
助教您好,在執行yarn migrate後遇到以下錯誤,請問是否需要做任何設定?
/Users/hsiehyuanlung/Desktop/Web Programming/wp1121/hack2/node_modules/drizzle-kit/index.cjs:40722
const message = name === "notice" ? new messages_1.NoticeMessage(length, messageValue) : new messages_1.DatabaseError(messageValue, length, name);
^
error: no pg_hba.conf entry for host "172.23.0.1", user "postgres", database "hack2", no encryption
at Parser.parseErrorMessage (/Users/hsiehyuanlung/Desktop/Web Programming/wp1121/hack2/node_modules/drizzle-kit/index.cjs:40722:98)
at Parser.handlePacket (/Users/hsiehyuanlung/Desktop/Web Programming/wp1121/hack2/node_modules/drizzle-kit/index.cjs:40563:25)
at Parser.parse (/Users/hsiehyuanlung/Desktop/Web Programming/wp1121/hack2/node_modules/drizzle-kit/index.cjs:40487:34)
at Socket. (/Users/hsiehyuanlung/Desktop/Web Programming/wp1121/hack2/node_modules/drizzle-kit/index.cjs:40763:44)
at Socket.emit (node:events:514:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
length: 155,
severity: 'FATAL',
code: '28000',
detail: undefined,
hint: undefined,
position: undefined,
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: 'auth.c',
line: '535',
routine: 'ClientAuthentication'
}
Node.js v18.17.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
想請問目前問題在哪邊~我滿確定都跟上課範例一樣,但是local test過了第一個,gradescope無法過
因為無法登入所以後面都無法做出來,想請助教幫忙一下謝謝!
TA comment: 請勿將作答貼至 issues
我用標題的作法好像跑不出跟上次一樣的畫面
自己壓縮的話,檔案會過大,怎麼辦qq
不好意思 如果最後一次的繳交分數沒有跑出來的話 我是否可以選擇過往的分數作為我的成績呢?
yarn migrate
yarn run v1.22.19
$ drizzle-kit push:pg
drizzle-kit: v0.19.13
drizzle-orm: v0.28.6
No config path provided, using default path
Reading config file 'C:\Users\曹博淵\Desktop\hack2\drizzle.config.ts'
C:\Users\曹博淵\Desktop\hack2\node_modules\drizzle-kit\index.cjs:40722
const message = name === "notice" ? new messages_1.NoticeMessage(length, messageValue) : new messages_1.DatabaseError(messageValue, length, name);
^
error: database "hack2" does not exist
at Parser.parseErrorMessage (C:\Users\曹博淵\Desktop\hack2\node_modules\drizzle-kit\index.cjs:40722:98)
at Parser.handlePacket (C:\Users\曹博淵\Desktop\hack2\node_modules\drizzle-kit\index.cjs:40563:25)
at Parser.parse (C:\Users\曹博淵\Desktop\hack2\node_modules\drizzle-kit\index.cjs:40487:34)
at Socket. (C:\Users\曹博淵\Desktop\hack2\node_modules\drizzle-kit\index.cjs:40763:44)
at Socket.emit (node:events:514:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
length: 91,
severity: 'FATAL',
code: '3D000',
detail: undefined,
hint: undefined,
position: undefined,
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: 'postinit.c',
line: '1019',
routine: 'InitPostgres'
}
Node.js v18.17.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
All of the Button component has an error with the variant attribute.
Is this caused because I have not done some part of the Button component?
一開始被gradescope設為100分的那次grade並未被regrade 我這邊看到的還是100分
一直出現這個錯誤代表什麼意思
at utils.ts:72
70 | await page.getByLabel("Confirm Password").fill(password-${username}
);
71 | await page.getByTestId("auth-submit-button").click();
72 | await page.waitForURL(
/projects
);
| ^
73 | };
74 |
75 | /* Setup the page before each test */
at signUpDummyUser (C:\Users\曹博淵\Desktop\112-1-hack2\tests\utils.ts:72:14)
at C:\Users\曹博淵\Desktop\112-1-hack2\tests\public-3.spec.ts:16:3
助教您好,
我 yarn migrate 可以成功執行,但是 yarn dev 之後 browser 連不上 (connection refused)
想請問gradescope上自動批改器顯示 100.0/100.0,但總分是 -/100 pts是正常的嗎?
我的docker跟terminal是正常的,但是localhost3000一直轉圈跑不出東西
助教您好,我試過curl wp.ee.ntu.edu.tw/file-server/hack2/zip.sh | bash與git archive -o hack2.zip HEAD:hack2,但產生的檔案都只有README, 不確定是哪邊出問題了
我改了大約半小時 結果就沒結果,再次上傳一個大約134kb 的zip,還在改,怎麼會這麼久
想請問一下我們交出去的gradescope成績就是最後的成績嗎? 我這邊是gradescope過了 可是 playwright死一片
請問可以進入meet嗎
批改之後自動批改器結果畫面全部空白是正常的嗎...
然後我在terminal雖然顯示有compile但是畫面怎樣都打不開...想請助教幫忙確認看看問題在哪裡
(base) yutinghsu@YutingdeAir hack2 % yarn dev
yarn run v1.22.21
warning ../../package.json: No license field
$ next dev
▲ Next.js 14.0.1
warning ../../package.json: No license field
✓ Ready in 2.4s
○ Compiling /page ...
✓ Compiled /page in 1388ms (701 modules)
✓ Compiled in 137ms (252 modules)
✓ Compiled in 190ms (252 modules)
✓ Compiled in 211ms (252 modules)
✓ Compiled in 169ms (252 modules)
✓ Compiled in 161ms (252 modules)
✓ Compiled /page in 107ms (449 modules)
助教你好,我本來gradescope第三題是能過的,但是當我寫完第四題後再上傳第三題就不行了。是有更改批改標準。
謝謝。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.