GithubHelp home page GithubHelp logo

Comments (3)

odinr avatar odinr commented on September 3, 2024

dunno what pnpm is doing, but plain npm i not (neither yarn)

npm init -y
npm i @equinor/fusion-framework-react-app   

added 24 packages, and audited 25 packages in 20s

1 package is looking for funding
  run `npm fund` for details

found 0 vulnerabilities

packages/react-app/package.json

note @equinor/fusion-framework-react-module-context is optional

{
"dependencies": {
        "@equinor/fusion-framework-app": "^4.0.17",
        "@equinor/fusion-framework-react": "^2.0.19",
        "@equinor/fusion-framework-react-module-http": "^1.1.7"
    },
    "devDependencies": {
        "@equinor/fusion-framework-react-module-context": "^1.0.15",
        "@types/react": "^17.0.11",
        "@types/react-dom": "^17.0.7",
        "react": "^17.0.2",
        "react-dom": "^17.0.2",
        "typescript": "^4.9.3"
    },
    "peerDependencies": {
        "@equinor/fusion-framework-react-module-context": ">=1.0.1",
        "@types/react": "^16.9.0 || ^17.0.0 || ^18.0.0",
        "react": "^16.9.0 || ^17.0.0 || ^18.0.0",
        "react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0"
    },
    "peerDependenciesMeta": {
        "@equinor/fusion-framework-react-module-context": {
            "optional": true
        },
        "@types/react": {
            "optional": true
        },
        "react-dom": {
            "optional": true
        }
    }
}

packages/app/package.json

{
  "dependencies": {
        "@equinor/fusion-framework": "^5.0.17",
        "@equinor/fusion-framework-module": "^1.2.10",
        "@equinor/fusion-framework-module-app-config": "^2.0.8",
        "@equinor/fusion-framework-module-event": "^1.2.0",
        "@equinor/fusion-framework-module-http": "^2.2.1",
        "@equinor/fusion-framework-module-msal": "^1.0.21"
    }
}

from fusion-framework.

odinr avatar odinr commented on September 3, 2024

also tested with copy of cookbook to clean directory an fresh install, no errors

npm i

added 215 packages, and audited 216 packages in 27s

39 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

from fusion-framework.

odinr avatar odinr commented on September 3, 2024

Tried with pnpm and got same warning, but all deps installed 🐒

no clue why pnpm failes to resolve deps of deps.

anyway... we can not support every package manager under the sky, so closing issue since it limited to pnpm

@jaysencpp if you find a solution why this warning occurres, please reopen issue or submit a pull request

npx pnpm install
Need to install the following packages:
  [email protected]
Ok to proceed? (y) 
Packages: +209
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Packages are hard linked from the content-addressable store to the virtual store.
  Content-addressable store is at: /Users/odin.rochmann/Library/pnpm/store/v3
  Virtual store is at:             node_modules/.pnpm
Progress: resolved 229, reused 0, downloaded 208, added 209, done
node_modules/.pnpm/[email protected]/node_modules/esbuild: Running postinstall script, done in 206ms

devDependencies:
+ @equinor/fusion-framework-cli 1.2.8
+ @equinor/fusion-framework-react-app 2.0.21
+ @types/react 18.0.26
+ @types/react-dom 18.0.9
+ react 18.2.0
+ react-dom 18.2.0

 WARN  Issues with peer dependencies found
.
└─┬ @equinor/fusion-framework-react-app 2.0.21
  └─┬ @equinor/fusion-framework-react 2.0.20
    ├─┬ @equinor/fusion-framework-react-module-context 1.0.16
    │ └─┬ @equinor/fusion-framework-module-context 1.2.2
    │   └── ✕ missing peer @equinor/fusion-framework-module@>=1.2.5
    └─┬ @equinor/fusion-framework-react-module-http 1.1.7
      ├── ✕ missing peer @equinor/fusion-framework-module-http@>=1.0.0
      └── ✕ missing peer @equinor/fusion-framework-react-module@>=0.2.0
Peer dependencies that should be installed:
  @equinor/fusion-framework-module-http@>=1.0.0   @equinor/fusion-framework-module@>=1.2.5        @equinor/fusion-framework-react-module@>=0.2.0  

Done in 6.5s

from fusion-framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.