Skip to content

Not working with Webpack Dashboard (Works now) #1043

Description

@deadcoder0904

pnpm version: 1.32.0

Expected behavior:

Webpack Dashboard must work

Actual behavior:

Webpack Dashboard does not work

Additional information:

  • node -v prints: v9.5.0
  • Windows, OS X, or Linux?: OS X High Sierra 10.13.3

Things that I tried doing

After running I got error -

Error: Cannot find module 'babel-traverse'

so I created pnpmfile.js with following contents -

"use strict";
module.exports = {
  hooks: {
    readPackage
  }
};

function readPackage(pkg) {
  if (pkg.name === "webpack-dashboard") {
    Object.assign(pkg.dependencies, {
      "babel-traverse": "6"
    });
  }
  return pkg;
}

But it still throws error. Also this time, the dependency babel-traverse exists in the package.json

Also take a look at #1022 if you haven't already as it will reduce huge number of issues & save me & others a ton of disk space 😉 otherwise I have to keep deleting projects after completing 😂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions