ruvnet/ruflo · error

[IPFS] Local IPFS upload failed: ${error}

Error message

[IPFS] Local IPFS upload failed: ${error}

What it means

Log warning in uploadToIPFS: the attempt to upload via the local/custom IPFS node (uploadToLocalIPFS) threw; the upload chain moves on to the next pinning strategy (Pinata, Web3.storage).

Source

Thrown at v3/@claude-flow/cli/src/transfer/ipfs/upload.ts:234

    name = 'pattern',
  } = options;

  // Check environment variables
  const localIPFS = process.env.IPFS_API_URL;
  const web3Token = getWeb3StorageToken();
  const pinataKey = process.env.PINATA_API_KEY;

  // 1. Try local/custom IPFS node first (FREE - your own node)
  if (localIPFS || pinningService === 'local') {
    try {
      const isAvailable = await checkLocalIPFSNode();
      if (isAvailable) {
        return await uploadToLocalIPFS(content, options);
      } else {
        console.warn(`[IPFS] Local node at ${localIPFS || 'localhost:5001'} not available`);
      }
    } catch (error) {
      console.warn(`[IPFS] Local IPFS upload failed: ${error}`);
    }
  }

  // 2. Try Pinata
  if (pinningService === 'pinata' || (pinataKey && !web3Token)) {
    try {
      return await uploadToPinata(content, options);
    } catch (error) {
      console.warn(`[IPFS] Pinata upload failed: ${error}`);
    }
  }

  // 3. Try Web3.storage
  if (web3Token || pinningService === 'web3storage') {
    try {
      return await uploadToWeb3Storage(content, options);
    } catch (error) {
      console.warn(`[IPFS] Web3.storage upload failed: ${error}`);

View on GitHub (pinned to fa13ee4ad6)

Solutions

  1. Ensure a local IPFS daemon is running and IPFS_API_URL points to it, or configure Pinata/Web3.storage credentials instead.
Defensive patterns

Strategy: fallback

When it happens

Trigger: Thrown at v3/@claude-flow/cli/src/transfer/ipfs/upload.ts:234 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of ruvnet/ruflo@fa13ee4ad6 (2026-08-18). Data as JSON: /api/errors/f9e8299b097e59fa. Report an issue: GitHub.