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

Cannot find module 'D:\Node\node_modules\stockfish\src\stockfish.js'. #92

Open
SamarthKadam opened this issue Jul 19, 2024 · 4 comments

Comments

@SamarthKadam
Copy link

SamarthKadam commented Jul 19, 2024

Y is it saying it. Even when using it in nextjs it says module not found

@Gameboy612
Copy link

Same issue here
Error: Cannot find module 'C:\codes\freechess\node_modules\stockfish\src\stockfish.js'. Please verify that the package.json has a valid "main" entry

@Gameboy612
Copy link

solved, change package.json "main": "src/stockfish.js" to "main": "src/stockfish-nnue-16.js"
image

@SamarthKadam
Copy link
Author

@Gameboy612 thank you

@Gameboy612
Copy link

You're welcome!

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

2 participants