hirosystems / stacks-blockchain-api

API for the Stacks blockchain
https://stacks-blockchain-api.vercel.app
GNU General Public License v3.0
174 stars 111 forks source link

Error: [mobx] There are multiple, different versions of MobX active #1202

Closed wileyj closed 2 years ago

wileyj commented 2 years ago

Building the API using docker, independent of arch or libc, the following error occurs:

...
> @stacks/stacks-blockchain-api-types@0.1.0 generate:docs
> redoc-cli bundle --output .tmp/index.html .tmp/openapi.resolved.yaml

/src/docs/node_modules/mobx/lib/mobx.js:20
        throw new Error("[mobx] " + (message || OBFUSCATED_ERROR));
        ^

Error: [mobx] There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`
    at invariant (/src/docs/node_modules/mobx/lib/mobx.js:20:15)
    at fail (/src/docs/node_modules/mobx/lib/mobx.js:15:5)
    at Timeout._onTimeout (/src/docs/node_modules/mobx/lib/mobx.js:1487:17)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
ERROR: "generate:docs" exited with 1.
wileyj commented 2 years ago

apparently this can be closed pending merge of https://github.com/hirosystems/stacks-blockchain-api/pull/1166

zone117x commented 2 years ago

Gotta love npm lib authors breaking semver

blockstack-devops commented 2 years ago

:tada: This issue has been resolved in version 6.0.0-beta.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

blockstack-devops commented 2 years ago

:tada: This issue has been resolved in version 6.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

blockstack-devops commented 1 year ago

:tada: This issue has been resolved in version 4.2.0-stacks-2.1.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: