Registry / devops / webpack-jarvis

webpack-jarvis

JSON →
library0.3.2jsnpmunverified

A webpack dashboard that runs in the browser, providing real-time insights into your build process including ES harmony module counts, asset performance across connection types, and beautified error output with Google/Stackoverflow search. Current version 0.3.2 (beta), last updated in 2018, with no active development. It uses a Preact-based client, Socket.IO for real-time communication, and a Polka server. Unlike other webpack dashboards, it offers unique features like treeshakability analysis and integrated error search. Requires webpack as a peer dependency.

npm install webpack-jarvis
INSTALL
IMPORT
SIG · WEBPACK-JARVIS
W
webpack-jarvis
devopsjavascriptv0.3.2
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18–226 runs
build_error
glibc
node 18–226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Jarvis
✓ const Jarvis = require('webpack-jarvis');
✗ import Jarvis from 'webpack-jarvis';
Package is CJS-only; ESM import may fail in Node.js environments.
Jarvis
✓ plugins: [new Jarvis({ port: 1337 })]
✗ plugins: [Jarvis({ port: 1337 })]
Must be instantiated with 'new' as it is a class.
Jarvis
✓ const Jarvis = require('webpack-jarvis');
✗ const { Jarvis } = require('webpack-jarvis');
Export is a single class, not named export.

Configures Jarvis as a webpack plugin with all options, enabling the browser dashboard on localhost:1337 during development.

// webpack.config.js const path = require('path'); const Jarvis = require('webpack-jarvis'); module.exports = { entry: './src/index.js', output: { filename: 'bundle.js', path: path.resolve(__dirname, 'dist'), }, plugins: [ new Jarvis({ port: 1337, host: 'localhost', watchOnly: true, packageJsonPath: process.cwd(), }), ], };
Debug
Known issues
deprecatedPackage is in beta and no longer maintained; consider alternatives like webpack-bundle-analyzer.
fix
Migrate to webpack-bundle-analyzer or others.
affects: >=0.0.0
gotchaOnly works with webpack 4 and below; not compatible with webpack 5.
fix
Use webpack 4 or switch to a compatible dashboard.
affects: >=0.0.0
gotchawatchOnly defaults to true, so Jarvis will not run for single builds; set to false if needed.
fix
Explicitly set watchOnly: false for non-watch builds.
affects: >=0.0.0
gotchaRunning multiple instances may cause port conflicts if not configured differently.
fix
Assign unique ports via the 'port' option.
affects: >=0.0.0
Errors
Common errors & fixes
Error: Cannot find module 'webpack-jarvis'
Package not installed or not in node_modules.
fix
Run 'npm install --save-dev webpack-jarvis'.
TypeError: Jarvis is not a constructor
Missing 'new' keyword when instantiating.
fix
Use 'new Jarvis(...)' in plugins array.
Module parse failed: Unexpected token (1:0) - You may need an appropriate loader to handle this file type.
Jarvis client code uses JSX/ES6+; requires correct webpack configuration.
fix
Ensure Babel is configured in your webpack setup (unlikely if project is already standard).
Upgrade
Version history
0.3.2latest on npm
Audit
Dependencies
webpackrequiredpeer dependency: required to function as a webpack plugin
Agent activity
20 hits · last 30 days
node
18
OpenAI (training)
1
Resources
webpack-jarvis — npm install webpack-jarvis · libregistry