mmw / react-password-strength-example

Example for React Password Strength
MIT License
3 stars 6 forks source link

Unable to resolve some modules, when importing ReactPasswordStrength #1

Closed ScottAgirs closed 6 years ago

ScottAgirs commented 6 years ago

As soon as Iimport ReactPasswordStrength from "react-password-strength"; i get the following error in terminal:

Unable to resolve some modules:

  "!!../node_modules/css-loader/index.js!./style.css" in /Users/ScottAgirs/workspace/yoga/yogabun/node_modules/react-password-strength/dist/index.js (web.browser.legacy)

If you notice problems related to these missing modules, consider running:

  meteor npm install --save !!..

The app works as expected, but I'm concerned with this, also sometimes it continues in loop.

Here is my package.json:

{
  "name": "appname",
  "private": true,
  "scripts": {
    "start": "meteor run"
  },
  "dependencies": {
    "@babel/runtime": "^7.0.0-beta.51",
    "apollo-client": "^2.3.7",
    "apollo-client-preset": "^1.0.8",
    "babel-plugin-inline-import": "^3.0.0",
    "bcrypt": "^3.0.0",
    "body-parser": "^1.18.3",
    "date-fns": "^1.29.0",
    "express": "^4.16.3",
    "faker": "^4.1.0",
    "google-map-react": "^1.0.6",
    "graphql": "^0.13.2",
    "graphql-server-express": "^1.4.0",
    "graphql-tag": "^2.9.2",
    "graphql-tools": "^3.1.1",
    "lodash": "^4.17.10",
    "meteor-node-stubs": "^0.4.1",
    "moment": "^2.22.2",
    "moment-duration-format": "^2.2.2",
    "react": "^16.4.2",
    "react-apollo": "^2.1.9",
    "react-dom": "^16.4.2",
    "react-map-gl": "^3.3.4",
    "react-password-strength": "^2.3.1",
    "react-places-autocomplete": "^7.2.0",
    "react-router-dom": "^4.3.1",
    "react-stripe-elements": "^2.0.1",
    "react-toastify": "^4.3.1",
    "semantic-ui-calendar-react": "^0.8.0",
    "semantic-ui-react": "^0.82.2",
    "stripe": "^6.8.0",
    "styled-components": "^3.4.1"
  },
  "devDependencies": {
    "chai": "^4.1.2"
  }
}
ScottAgirs commented 6 years ago

Sorry, found same issue posted here