"npm is not recognized" or "command not found"
Cause: Node.js isn't installed, or the terminal was opened before the installer finished updating your PATH.
Fix: install Node.js, then close every terminal window and open a new one. node -v and npm -v should both print a version.
ERR_OSSL_EVP_UNSUPPORTED / "digital envelope routines::unsupported"
Cause: Node.js 17 and later ship with OpenSSL 3, which turns off some old hashing algorithms by default. The webpack 4 bundled with Next.js 10 still uses one of them, so npm run dev and npm run build stop with this error.
Fix: turn on the legacy OpenSSL provider for that terminal session:
# macOS / Linux
NODE_OPTIONS=--openssl-legacy-provider npm run dev
# Windows PowerShell
$env:NODE_OPTIONS="--openssl-legacy-provider"; npm run dev
# Windows Command Prompt
set NODE_OPTIONS=--openssl-legacy-provider
npm run dev
If a very recent Node.js release still refuses to start this old version of Next.js, install an older LTS such as Node.js 16 with a version manager (nvm, nvm-windows, fnm or Volta) and use it only in this folder.
A 404 page at localhost:3000
Cause: next.config.js sets basePath: '/fntracker', so the app isn't at the site root.
Fix: open http://localhost:3000/fntracker.
"Port 3000 is already in use"
Cause: another program, possibly an earlier FN Tracker you forgot to stop, already uses port 3000.
Fix: stop the other program, or start FN Tracker on a different port:
npm run dev -- -p 3001
Then open http://localhost:3001/fntracker. A different port counts as a different site to your browser, so your ticks from port 3000 won't show there.
docs/index.html opens as a blank or unstyled page
Cause: the exported files load their scripts from /fntracker/_next/…. When you double-click docs/index.html, the browser looks for those files at the root of your drive and finds nothing.
Fix: use npm run dev locally, or publish docs/ somewhere it is served under /fntracker/, such as a GitHub Pages repository named fntracker. See the hosting guide.
"'touch' is not recognized" during npm run build on Windows
Cause: the build script ends with the Unix command touch docs/.nojekyll. Command Prompt and PowerShell don't have touch.
Fix: the build and export have already finished at that point. Create an empty file named .nojekyll in docs/ yourself, or run the build in Git Bash or WSL.
The page loads but no quests appear
Cause: the quest list is rendered by JavaScript after the page loads. Script blocking, or a base path that doesn't match where the files are hosted, leaves an empty page with just the title.
Fix: allow JavaScript for the address, and check the browser console (F12) for failed _next requests. If they 404, fix the base path and rebuild.
Ticks disappeared
Cause: progress lives in local storage for one browser at one address. A different browser, profile, port or hosted copy, a private window, or clearing site data all lead to an empty list.
Fix: go back to the exact address and browser you used before. To protect against this, keep a backup using the snippet in How FN Tracker saves your progress.
One quest reset after editing config.js
Cause: the storage key is milestone. plus the quest name. Renaming a quest gives it a new, empty key.
Fix: put the old name back, or copy the old value to the new key in the storage panel. Details are in the editing guide.
Ready to try FN Tracker?
Download Now