-
Notifications
You must be signed in to change notification settings - Fork 134
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 '.\node_modules\stockfish\src\stockfish.worker.js' #68
Comments
You may need to compile the code. |
How do I compile the code after installing it with |
Have you found a solution? Faced to the same problem |
issuing the same with node@16
|
I've solved it with using example below, and cloning repo into my project, without installing npm module |
I am having the same error while trying to compile Stockfish 15 running the I downloaded the Any help would be appreciated, as the documentation is frankly abysmal. |
I also used @arthurchumak proposal as a temporary workaround and I got it working. I created a directory on my project with a subfolder called "engine" that contains:
Then on my code I called it with
|
When I try @arthurchumak or @gazeau's solution, I get these errors:
Perhaps I need to be on a specific version of Node, any ideas? |
i keep getting this error when i try and run my code with NodeJS
pthread sent an error! undefined:undefined: Cannot find module 'C:\Users\user\Desktop\ChessWeb\node_modules\stockfish\src\stockfish.worker.js'
This is my code
Thanks
The text was updated successfully, but these errors were encountered: