DarylBuckle / dnd-character-sheets

Dungeons and Dragons 5th Edition character sheets created in ReactJS.
https://dnd5esheets.com
MIT License
78 stars 25 forks source link

Unable to install/build: "Local modules not found" #10

Open jaquer opened 1 year ago

jaquer commented 1 year ago

Hello,

I am interested in forking the project in order to translate it to Spanish, however I am unable to install/build it and I'm not familiar enough with node and its ecosystem to be able to fix it.

Steps to reproduce:

  1. Install node 18.16.0/npm 9.5.1
  2. Clone repo,
  3. Run npm install in the main directory. There are several warnings about outdated packages, but it's able to build successfully.
  4. Run npm install in the example directory. I get this error:
npm ERR! Cannot read properties of undefined (reading 'extraneous')

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/jaquer/.npm/_logs/2023-04-29T15_41_53_535Z-debug-0.log

I did some research and found this StackOverflow answer suggesting removing package-lock.json and trying npm install again, but then I got this error:

npm ERR! code 1
npm ERR! path /home/jaquer/src/dnd-character-sheets/node_modules/typescript
npm ERR! command failed
npm ERR! command sh -c gulp build-eslint-rules
npm ERR! [07:30:10] Local modules not found in ~/src/dnd-character-sheets/node_modules/typescript
npm ERR! [07:30:12] Try running: npm install

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/jaquer/.npm/_logs/2023-04-29T15_29_45_002Z-debug-0.log

My searches for solutions have been fruitless. I can post the entire log somewhere if necessary.

I am running Debian 11.6 under WSL, in case that matters.

Let me know if you need any more information. Thank you.

jaquer commented 1 year ago

I'm still unsure of where the incompatibility lies, but I was able to get the project to build by using node 14 (14.21.3 to be exact).

DarylBuckle commented 1 year ago

Hi @jaquer. Thanks for raising this and for the detail you've provided. Glad you could get it working. I'll try and recreate and fix when I can.

michaelkroll commented 5 months ago

Has there been any progress on this issue? I tried to run the example as well but getting the same error over here.