Skip to content

Instantly share code, notes, and snippets.

@jason-curtis
Created August 17, 2023 03:44
Show Gist options
  • Save jason-curtis/746affa2385639c8fd2ea3c0332c70e3 to your computer and use it in GitHub Desktop.
Save jason-curtis/746affa2385639c8fd2ea3c0332c70e3 to your computer and use it in GitHub Desktop.
Failure to install mermaid on fresh github spaces instance
@jason-curtis ➜ /workspaces/mermaid (issue-2509-subgraph-direction-limitation) $ volta install node
success: installed and set [email protected] (with [email protected]) as default
note: you are using [email protected] in the current project
@jason-curtis ➜ /workspaces/mermaid (issue-2509-subgraph-direction-limitation) $ npx pnpm install
Need to install the following packages:
[email protected]
Ok to proceed? (y)
Scope: all 6 workspace projects
Lockfile is up to date, resolution step is skipped
Packages: +1985
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Packages are hard linked from the content-addressable store to the virtual store.
Content-addressable store is at: /workspaces/.pnpm-store/v3
Virtual store is at: node_modules/.pnpm
Downloading registry.npmjs.org/cytoscape-fcose/2.1.0: 7.60 MB/7.60 MB, done
Progress: resolved 1985, reused 0, downloaded 1976, added 1985, done
Downloading registry.npmjs.org/typescript/5.1.3: 7.15 MB/7.15 MB, done
Downloading registry.npmjs.org/typescript/5.0.4: 7.05 MB/7.05 MB, done
node_modules/.pnpm/[email protected]/node_modules/es5-ext: Running postinstall script, done in 298ms
node_modules/.pnpm/[email protected][email protected]/node_modules/vue-demi: Running postinstall script, done in 719ms
node_modules/.pnpm/[email protected][email protected]/node_modules/vue-demi: Running postinstall script, done in 688ms
node_modules/.pnpm/[email protected]/node_modules/esbuild: Running postinstall script, done in 301ms
node_modules/.pnpm/[email protected]/node_modules/esbuild: Running postinstall script, done in 131ms
node_modules/.pnpm/[email protected]/node_modules/esbuild: Running postinstall script, done in 192ms
node_modules/.pnpm/[email protected]/node_modules/cypress: Running postinstall script, done in 14.5s
devDependencies:
+ @applitools/eyes-cypress 3.33.1
+ @commitlint/cli 17.6.1
+ @commitlint/config-conventional 17.6.1
+ @cspell/eslint-plugin 6.31.1
+ @cypress/code-coverage 3.10.7
+ @rollup/plugin-typescript 11.1.1
+ @types/cors 2.8.13
+ @types/eslint 8.37.0
+ @types/express 4.17.17
+ @types/js-yaml 4.0.5
+ @types/jsdom 21.1.1
+ @types/lodash 4.14.194
+ @types/mdast 3.0.11
+ @types/node 18.16.0
+ @types/prettier 2.7.2
+ @types/rollup-plugin-visualizer 4.2.1
+ @typescript-eslint/eslint-plugin 5.59.0
+ @typescript-eslint/parser 5.59.0
+ @vitest/coverage-v8 0.34.0
+ @vitest/spy 0.34.0
+ @vitest/ui 0.34.0
+ ajv 8.12.0
+ concurrently 8.0.1
+ cors 2.8.5
+ cypress 12.10.0
+ cypress-image-snapshot 4.0.1
+ esbuild 0.19.0
+ eslint 8.39.0
+ eslint-config-prettier 8.8.0
+ eslint-plugin-cypress 2.13.2
+ eslint-plugin-html 7.1.0
+ eslint-plugin-jest 27.2.1
+ eslint-plugin-jsdoc 46.0.0
+ eslint-plugin-json 3.1.0
+ eslint-plugin-lodash 7.4.0
+ eslint-plugin-markdown 3.0.0
+ eslint-plugin-no-only-tests 3.1.0
+ eslint-plugin-tsdoc 0.2.17
+ eslint-plugin-unicorn 47.0.0
+ express 4.18.2
+ globby 13.1.4
+ husky 8.0.3
+ jest 29.5.0
+ jison 0.4.18
+ js-yaml 4.1.0
+ jsdom 22.0.0
+ lint-staged 13.2.1
+ nyc 15.1.0
+ path-browserify 1.0.1
+ pnpm 8.6.8
+ prettier 2.8.8
+ prettier-plugin-jsdoc 0.4.2
+ rimraf 5.0.0
+ rollup-plugin-visualizer 5.9.2
+ start-server-and-test 2.0.0
+ ts-node 10.9.1
+ typescript 5.1.3
+ vite 4.3.9
+ vite-plugin-istanbul 4.1.0
+ vitest 0.34.0
. prepare$ husky install && pnpm build
│ husky - Git hooks installed
│ > [email protected] build /workspaces/mermaid
│ > pnpm run -r clean && pnpm build:types && pnpm build:vite
│ Scope: 5 of 6 workspace projects
│ packages/mermaid clean$ rimraf dist
│ packages/mermaid clean: Done
│ > [email protected] build:types /workspaces/mermaid
│ > tsc -p ./packages/mermaid/tsconfig.json --emitDeclarationOnly && tsc -p ./packages/mermaid-zenuml/tsconfig.json --emitDeclarationOnly && tsc -p ./packages/mermaid-example-diagram/tsco…
│ > [email protected] build:vite /workspaces/mermaid
│ > ts-node-esm --transpileOnly .vite/build.ts
│ mermaid { name: 'mermaid', packageName: 'mermaid', file: 'mermaid.ts' }
│ vite v4.3.9 building for production...
│ transforming...
│ packages/mermaid/src/setupGraphViewbox.js (2:9) "SVG" is not exported by "packages/mermaid/src/diagram-api/types.ts", imported by "packages/mermaid/src/setupGraphViewbox.js".
│ ✓ 1722 modules transformed.
│ rendering chunks...
│ computing gzip size...
│ packages/mermaid/dist/mermaid.esm.mjs 0.07 kB │ gzip: 0.09 kB
│ packages/mermaid/dist/array-b7dcf730.js 0.12 kB │ gzip: 0.12 kB
│ packages/mermaid/dist/init-cc95ec8e.js 0.26 kB │ gzip: 0.16 kB
│ packages/mermaid/dist/flowDiagram-v2-007f7fcf.js 0.88 kB │ gzip: 0.42 kB
│ packages/mermaid/dist/line-30e0c6ae.js 1.76 kB │ gzip: 0.62 kB
│ packages/mermaid/dist/ordinal-475e0c0c.js 2.22 kB │ gzip: 0.78 kB
│ packages/mermaid/dist/svgDrawCommon-2b6475d7.js 2.78 kB │ gzip: 0.81 kB
│ packages/mermaid/dist/constant-b644328d.js 3.28 kB │ gzip: 1.01 kB
│ packages/mermaid/dist/classDiagram-77ea170d.js 5.79 kB │ gzip: 1.63 kB
│ packages/mermaid/dist/arc-8ff351b0.js 7.01 kB │ gzip: 1.96 kB
│ packages/mermaid/dist/classDiagram-v2-82e1b0fa.js 9.58 kB │ gzip: 2.79 kB
│ packages/mermaid/dist/svgDraw-396fe6c8.js 10.80 kB │ gzip: 2.78 kB
│ packages/mermaid/dist/stateDiagram-v2-cb5f7874.js 11.04 kB │ gzip: 3.24 kB
│ packages/mermaid/dist/styles-80a5a509.js 17.13 kB │ gzip: 4.64 kB
│ packages/mermaid/dist/infoDiagram-d51bc5db.js 17.91 kB │ gzip: 4.69 kB
│ packages/mermaid/dist/stateDiagram-04771985.js 18.36 kB │ gzip: 4.74 kB
│ packages/mermaid/dist/linear-e017313a.js 20.31 kB │ gzip: 5.62 kB
│ packages/mermaid/dist/index-82d9f9ad.js 22.17 kB │ gzip: 5.19 kB
│ packages/mermaid/dist/pieDiagram-a7d6bf3a.js 31.52 kB │ gzip: 8.19 kB
│ packages/mermaid/dist/flowDiagram-1ed3a64d.js 40.33 kB │ gzip: 9.23 kB
│ packages/mermaid/dist/sankeyDiagram-432627a6.js 41.68 kB │ gzip: 10.51 kB
│ packages/mermaid/dist/journeyDiagram-38549548.js 42.32 kB │ gzip: 10.70 kB
│ packages/mermaid/dist/timeline-definition-b44f9031.js 45.47 kB │ gzip: 11.27 kB
│ packages/mermaid/dist/requirementDiagram-c6625a2c.js 45.79 kB │ gzip: 11.25 kB
│ packages/mermaid/dist/styles-3db9bd2c.js 49.82 kB │ gzip: 11.40 kB
│ packages/mermaid/dist/erDiagram-42c50961.js 55.24 kB │ gzip: 13.23 kB
│ packages/mermaid/dist/quadrantDiagram-9036be21.js 55.40 kB │ gzip: 11.09 kB
│ packages/mermaid/dist/edges-030e4cde.js 56.70 kB │ gzip: 10.31 kB
│ packages/mermaid/dist/styles-a5610f35.js 60.36 kB │ gzip: 14.35 kB
│ packages/mermaid/dist/gitGraphDiagram-c93ab1c2.js 70.53 kB │ gzip: 14.78 kB
│ packages/mermaid/dist/flowDb-895145a4.js 80.24 kB │ gzip: 18.47 kB
│ packages/mermaid/dist/ganttDiagram-969e83c0.js 116.18 kB │ gzip: 26.97 kB
│ packages/mermaid/dist/c4Diagram-512d0f9a.js 116.93 kB │ gzip: 24.04 kB
│ packages/mermaid/dist/layout-f1c40d64.js 118.32 kB │ gzip: 26.80 kB
│ packages/mermaid/dist/createText-46076a9e.js 135.88 kB │ gzip: 25.30 kB
│ packages/mermaid/dist/sequenceDiagram-f795f553.js 140.62 kB │ gzip: 29.37 kB
│ packages/mermaid/dist/mermaid-0336dc67.js 421.70 kB │ gzip: 86.14 kB
│ packages/mermaid/dist/mindmap-definition-099daa2e.js 1,150.03 kB │ gzip: 216.01 kB
│ packages/mermaid/dist/flowchart-elk-definition-6606f8f0.js 2,972.69 kB │ gzip: 537.94 kB
│ packages/mermaid/dist/mermaid.js 6,384.00 kB │ gzip: 1,169.52 kB
│ ✓ built in 25.11s
│ mermaid { name: 'mermaid', packageName: 'mermaid', file: 'mermaid.ts' }
│ vite v4.3.9 building for production...
│ transforming...
│  ELIFECYCLE  Command failed with exit code 1.
│  ELIFECYCLE  Command failed with exit code 1.
└─ Failed in 50.8s at /workspaces/mermaid
 ELIFECYCLE  Command failed with exit code 1.
@jason-curtis ➜ /workspaces/mermaid (issue-2509-subgraph-direction-limitation) $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment