Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There are conflicts when execute npm install #444

Open
wriver1 opened this issue Mar 19, 2021 · 1 comment
Open

There are conflicts when execute npm install #444

wriver1 opened this issue Mar 19, 2021 · 1 comment

Comments

@wriver1
Copy link

wriver1 commented Mar 19, 2021

I'm following the quickstart in https://frint.js.org/docs. I installed frint, I initialized an example app, but, when I execute npm install, throw those errors:

npm ERR! While resolving: frint-kitchensink@0.0.1
npm ERR! Found: webpack@3.12.0
npm ERR! node_modules/webpack
npm ERR!   dev webpack@"^3.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@"1 || 2 || ^2.1.0-beta || ^2.2.0-rc" from babel-loader@6.4.1
npm ERR! node_modules/babel-loader
npm ERR!   dev babel-loader@"^6.2.9" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

my package.sjon

{
  "name": "frint-kitchensink",
  "version": "0.0.1",
  "description": "Kitchensink app in Frint",
  "main": "index.js",
  "scripts": {
    "bundle:vendors": "webpack --config ./vendors/webpack.config.js",
    "bundle:apps": "webpack",
    "build": "npm run bundle:vendors && npm run bundle:apps",
    "start:server": "live-server build",
    "start": "npm run build && npm run start:server"
  },
  "author": "FrintJS Authors (https://github.com/frintjs/frint/graphs/contributors)",
  "license": "MIT",
  "dependencies": {
    "frint": "^3.3.1",
    "frint-react": "^3.3.1",
    "frint-store": "^3.3.1",
    "frint-test-utils": "^3.3.1",
    "lodash": "^4.17.4",
    "prop-types": "^15.5.10",
    "react": "^16.0.0",
    "react-dom": "^16.0.0",
    "rxjs": "^5.4.1"
  },
  "devDependencies": {
    "babel-cli": "^6.10.1",
    "babel-core": "^6.13.2",
    "babel-eslint": "^7.1.0",
    "babel-loader": "^6.2.9",
    "babel-preset-travix": "^1.1.0",
    "babel-register": "^6.9.0",
    "chai": "^3.5.0",
    "chai-enzyme": "^0.6.1",
    "enzyme": "^2.8.0",
    "frint-config": "^3.3.1",
    "html-webpack-plugin": "^2.28.0",
    "jsdom": "^9.12.0",
    "live-server": "^1.2.0",
    "mocha": "^3.2.0",
    "sinon": "^2.1.0",
    "webpack": "^3.0.0"
  }
}

@StevePlace68
Copy link

Also have this issue. Haven't been able to resolve it by googling yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants