Closed
Description
Thanks for reporting the below issue @frankkienl:
Error
node:internal/modules/cjs/loader:361
throw err;
^
Error: Cannot find module '/Users/frankbouwens/priv/SOME_PROJECT/node_modules/@2toad/diff-match-patch/diff_match_patch.js'. Please verify that the package.json has a valid "main" entry
Environment
node: v16.14.2
npm: 8.5.0
RCA
Per @frankkienl :
I noticed that the file: diff-match-patch.js is named "diff-match-patch.js" with
-
's and the file: package.json#L12 mentions that same file, but with_
instead of-
.