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

[npm install] fatal error: 'functional' file not found #705

Open
lexfrl opened this issue Dec 13, 2024 · 0 comments
Open

[npm install] fatal error: 'functional' file not found #705

lexfrl opened this issue Dec 13, 2024 · 0 comments

Comments

@lexfrl
Copy link

lexfrl commented Dec 13, 2024

Trying to npm install helia, getting this:

npm ERR! In file included from my-ipfs-react-app/node_modules/node-datachannel/build/_deps/libdatachannel-src/include/rtc/common.hpp:45:
npm ERR! /my-ipfs-react-app/node_modules/node-datachannel/build/_deps/libdatachannel-src/include/rtc/utils.hpp:12:10: fatal error: 'functional' file not found
npm ERR!    12 | #include <functional>
npm ERR!       |          ^~~~~~~~~~~~
npm ERR! 1 error generated.
npm ERR! make[2]: *** [_deps/libdatachannel-build/CMakeFiles/datachannel-static.dir/src/candidate.cpp.o] Error 1
npm ERR! make[1]: *** [_deps/libdatachannel-build/CMakeFiles/datachannel-static.dir/all] Error 2
npm ERR! make: *** [all] Error 2
npm ERR! ERR! OMG Process terminated: 2

My system:

node -v
v20.13.1

2,4 GHz 8-Core Intel Core i9
MacOS Sequoia Version 15.2 (24C101)

Tell me if there is more info needed!

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

1 participant