I am using Ubuntu 20.04 on windows 10 wsl and when I run the command in my terminals:
./target/release/node-template \
--base-path /tmp/alice \
--chain local \
--alice \
--port 30333 \
--ws-port 9945 \
--rpc-port 9933 \
--node-key 0000000000000000000000000000000000000000000000000000000000000001 \
--telemetry-url "wss://telemetry.polkadot.io/submit/ 0" \
--validator
Getting error like this:
./target/release/node-template \
> --base-path /tmp/alice \
> --chain local \
> --alice \
> --port 30333 \
> --ws-port 9945 \
> --rpc-port 9933 \
> --node-key 0000000000000000000000000000000000000000000000000000000000000001 \
> --telemetry-url "wss://telemetry.polkadot.io/submit/ 0" \
> --validator
2022-07-10 12:05:30 Substrate Node
2022-07-10 12:05:30 ✌️ version 4.0.0-dev-9c89be106cb
2022-07-10 12:05:30 ❤️ by Substrate DevHub <https://github.com/substrate-developer-hub>, 2017-2022
2022-07-10 12:05:30 📋 Chain specification: Local Testnet
2022-07-10 12:05:30 🏷 Node name: Alice
2022-07-10 12:05:30 👤 Role: AUTHORITY
2022-07-10 12:05:30 💾 Database: RocksDb at /tmp/alice/chains/local_testnet/db/full
2022-07-10 12:05:30 ⛓ Native runtime: node-template-100 (node-template-1.tx1.au1)
Error: Service(Client(RuntimeApiError(Application(Execution(RuntimeConstruction(Other("failed to instantiate a new WASM module instance: Insufficient resources: cannot create a memfd")))))))
help me to find out the solutions