This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Big is not a function error #1363
Closed
Description
- Version: ipfs 0.28.2
- Platform: Chrome, seeing this on webpack's done on:
Linux wwwb-dev0.fnf.archive.org 4.4.0-45-generic fix - module not found #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux and on OSX - Subsystem: ipfs-bitswap
Type: Bug
Severity: Critical
Description:
After clearing out my node_modules to do a fresh install, I'm seeing a crash
Uncaught TypeError: Big is not a function
at Stats.initialCounters.forEach (VM3189 stat.js:22)
at Array.forEach (<anonymous>)
at new Stats (VM3189 stat.js:21)
at new Stats (VM3188 index.js:32)
at new Bitswap (VM3157 index.js:48)
at series (VM3156 start.js:41)
at eval (VM2557 parallel.js:39)
at eval (VM2555 once.js:12)
at replenish (VM2569 eachOfLimit.js:61)
at iterateeCallback (VM2569 eachOfLimit.js:50)
Steps to reproduce the error:
The rough build procerss was:
rm package-lock.json and npm_modules
npm install;
webpack --mode development # of something that does a require('ipfs')
Its happening with my repo dweb-transports, and I don't currently have a workaround since this is deep in the IPFS code.