-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
After running aocrunner with provided AOC_SESSION_KEY in the .env file, the input is not downloading when any day is started (i.e. npm start 1).
~/aoc2024$ npm start 1
(node:69144) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
INVALID SESSION KEY
Please make sure that the session key in the .env file is correct.
You can find your session key in the 'session' cookie at:
https://adventofcode.com
Restart the script after changing the .env file.
.env file (single line):
AOC_SESSION_KEY=53616c746564[...]7
fresh aocrunner install:
~/aoc2024$ npx aocrunner init
Need to install the following packages:
aocrunner@1.10.0
Ok to proceed? (y) y
npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead
Initializing
✔ Year › 2024
✔ Directory name … aoc2024
✔ Language › TypeScript
✔ Strict mode … no / yes
✔ Semicolons … no / yes
✔ Author … [REDACTED]
✔ Package manager › NPM
Installing dependencies...
npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead
added 100 packages, and audited 101 packages in 18s
16 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Formatting the source files...
> aoc2024@1.0.0 format
> prettier -w src
src/template/index.ts 209ms
src/utils/index.ts 5ms
Done!
Go to the project's directory (cd aoc2024) and:
- add your AoC session key to the .env file (optional)
- tweak your template files in src/template (optional)
- start solving the first puzzle: npm start 1
🎄🎄 GOOD LUCK! 🎄🎄
Metadata
Metadata
Assignees
Labels
No labels