dnd-character-sheets
dnd-character-sheets copied to clipboard
Unable to install/build: "Local modules not found"
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:
- Install node 18.16.0/npm 9.5.1
- Clone repo,
- Run
npm install
in the main directory. There are several warnings about outdated packages, but it's able to build successfully. - Run
npm install
in theexample
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.
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).
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.
Has there been any progress on this issue? I tried to run the example as well but getting the same error over here.