TiddlyWiki / TiddlyWiki/MultiWikiServer

Error in exFAT hard disk

Open
#121 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
60
Forks
16
PR merge metrics
No merged PRs in 30d

Description

I have installed msw in a NTFS computer, in a directory called My_wikis and it runs OK. When I copy the My_wikis to another NTFS computer it appears an error (because it is under a proxy):
Error: Cannot find package 'D:\My_wikis\node_modules\prisma-client\index.js' imported from D:\My_wikis\node_modules\@tiddlywiki\mws\dist\mws.js

so I have to install prisma again:

npm install @prisma/client
npm install --save-dev prisma

And it runs OK in the new computer.
Then I copy the My_wikis directory to another computer exFAT computer. When I run the
npm install @prisma/client

It appears an error:

npm error EISDIR: illegal operation on a directory, symlink 'E:\My_wikis\node_modules\@tiddlywiki\mws\prisma\client' -> 'E:\My_wikis\node_modules\prisma-client'

Why I have to install prisma each time I copy My_wikis to other NTFS disk?
Why it does not run in exFAT units?

I want to have a 'medium-portable' mws installation.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the copy-and-install sequence described for My_wikis on NTFS and exFAT, using the npm commands and the paths in node_modules. Read node_modules/@tiddlywiki/mws/dist/mws.js and inspect the reported prisma-client symlink and EISDIR error; done means the cause and a supported portable-install behavior are documented or fixed.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
backend, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.