MetaMask/snaps

@metamask/snaps-cli 6.5.0 doesnt work

Closed this issue · 1 comments

Running mm-snap build

[WebServer] node:internal/modules/cjs/loader:1228
[WebServer]   throw err;
[WebServer]   ^
[WebServer] 
[WebServer] Error: Cannot find module 'fork-ts-checker-webpack-plugin'
[WebServer] Require stack:
[WebServer] - /Users/hd/code/filsnap/node_modules/.pnpm/@metamask+snaps-cli@6.5.0_@babel+runtime@7.25.9_@metamask+approval-controller@7.1.0_webextension-polyfill@0.10.0/node_modules/@metamask/snaps-cli/dist/webpack/config.cjs
[WebServer] - /Users/hd/code/filsnap/node_modules/.pnpm/@metamask+snaps-cli@6.5.0_@babel+runtime@7.25.9_@metamask+approval-controller@7.1.0_webextension-polyfill@0.10.0/node_modules/@metamask/snaps-cli/dist/webpack/compiler.cjs
[WebServer] - /Users/hd/code/filsnap/node_modules/.pnpm/@metamask+snaps-cli@6.5.0_@babel+runtime@7.25.9_@metamask+approval-controller@7.1.0_webextension-polyfill@0.10.0/node_modules/@metamask/snaps-cli/dist/webpack/index.cjs
[WebServer] - /Users/hd/code/filsnap/node_modules/.pnpm/@metamask+snaps-cli@6.5.0_@babel+runtime@7.25.9_@metamask+approval-controller@7.1.0_webextension-polyfill@0.10.0/node_modules/@metamask/snaps-cli/dist/commands/build/implementation.cjs
[WebServer] - /Users/hd/code/filsnap/node_modules/.pnpm/@metamask+snaps-cli@6.5.0_@babel+runtime@7.25.9_@metamask+approval-controller@7.1.0_webextension-polyfill@0.10.0/node_modules/@metamask/snaps-cli/dist/commands/build/build.cjs
[WebServer] - /Users/hd/code/filsnap/node_modules/.pnpm/@metamask+snaps-cli@6.5.0_@babel+runtime@7.25.9_@metamask+approval-controller@7.1.0_webextension-polyfill@0.10.0/node_modules/@metamask/snaps-cli/dist/commands/build/index.cjs
[WebServer] - /Users/hd/code/filsnap/node_modules/.pnpm/@metamask+snaps-cli@6.5.0_@babel+runtime@7.25.9_@metamask+approval-controller@7.1.0_webextension-polyfill@0.10.0/node_modules/@metamask/snaps-cli/dist/commands/index.cjs
[WebServer] - /Users/hd/code/filsnap/node_modules/.pnpm/@metamask+snaps-cli@6.5.0_@babel+runtime@7.25.9_@metamask+approval-controller@7.1.0_webextension-polyfill@0.10.0/node_modules/@metamask/snaps-cli/dist/main.cjs
[WebServer]     at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
[WebServer]     at Module._load (node:internal/modules/cjs/loader:1051:27)
[WebServer]     at Module.require (node:internal/modules/cjs/loader:1311:19)
[WebServer]     at require (node:internal/modules/helpers:179:18)
[WebServer]     at Object.<anonymous> (/Users/hd/code/filsnap/node_modules/.pnpm/@metamask+snaps-cli@6.5.0_@babel+runtime@7.25.9_@metamask+approval-controller@7.1.0_webextension-polyfill@0.10.0/node_modules/@metamask/snaps-cli/dist/webpack/config.cjs:8:58)
[WebServer]     at Module._compile (node:internal/modules/cjs/loader:1469:14)
[WebServer]     at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
[WebServer]     at Module.load (node:internal/modules/cjs/loader:1288:32)
[WebServer]     at Module._load (node:internal/modules/cjs/loader:1104:12)
[WebServer]     at Module.require (node:internal/modules/cjs/loader:1311:19) {
[WebServer]   code: 'MODULE_NOT_FOUND',
[WebServer]   requireStack: [
[WebServer]     '/Users/hd/code/filsnap/node_modules/.pnpm/@metamask+snaps-cli@6.5.0_@babel+runtime@7.25.9_@metamask+approval-controller@7.1.0_webextension-polyfill@0.10.0/node_modules/@metamask/snaps-cli/dist/webpack/config.cjs',
[WebServer]     '/Users/hd/code/filsnap/node_modules/.pnpm/@metamask+snaps-cli@6.5.0_@babel+runtime@7.25.9_@metamask+approval-controller@7.1.0_webextension-polyfill@0.10.0/node_modules/@metamask/snaps-cli/dist/webpack/compiler.cjs',
[WebServer]     '/Users/hd/code/filsnap/node_modules/.pnpm/@metamask+snaps-cli@6.5.0_@babel+runtime@7.25.9_@metamask+approval-controller@7.1.0_webextension-polyfill@0.10.0/node_modules/@metamask/snaps-cli/dist/webpack/index.cjs',
[WebServer]     '/Users/hd/code/filsnap/node_modules/.pnpm/@metamask+snaps-cli@6.5.0_@babel+runtime@7.25.9_@metamask+approval-controller@7.1.0_webextension-polyfill@0.10.0/node_modules/@metamask/snaps-cli/dist/commands/build/implementation.cjs',
[WebServer]     '/Users/hd/code/filsnap/node_modules/.pnpm/@metamask+snaps-cli@6.5.0_@babel+runtime@7.25.9_@metamask+approval-controller@7.1.0_webextension-polyfill@0.10.0/node_modules/@metamask/snaps-cli/dist/commands/build/build.cjs',
[WebServer]     '/Users/hd/code/filsnap/node_modules/.pnpm/@metamask+snaps-cli@6.5.0_@babel+runtime@7.25.9_@metamask+approval-controller@7.1.0_webextension-polyfill@0.10.0/node_modules/@metamask/snaps-cli/dist/commands/build/index.cjs',
[WebServer]     '/Users/hd/code/filsnap/node_modules/.pnpm/@metamask+snaps-cli@6.5.0_@babel+runtime@7.25.9_@metamask+approval-controller@7.1.0_webextension-polyfill@0.10.0/node_modules/@metamask/snaps-cli/dist/commands/index.cjs',
[WebServer]     '/Users/hd/code/filsnap/node_modules/.pnpm/@metamask+snaps-cli@6.5.0_@babel+runtime@7.25.9_@metamask+approval-controller@7.1.0_webextension-polyfill@0.10.0/node_modules/@metamask/snaps-cli/dist/main.cjs'
[WebServer]   ]
[WebServer] }
[WebServer] 
[WebServer] Node.js v20.17.0

Using pnpm 9.12.2 and node 20

@hugomrdias Thanks for reporting! Fixed in 6.5.1.