Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jaquer opened this issue Apr 29, 2023 · 3 comments
Open

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

jaquer opened this issue Apr 29, 2023 · 3 comments

Comments

@jaquer
Copy link

jaquer commented Apr 29, 2023

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
Copy link
Author

jaquer commented Apr 30, 2023

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
Copy link
Owner

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants