You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a parent repository and a child repository. Font-Awesome is self hosted in child repo and license in added in the child repo in .npmrc file. When I run yarn install in child repo everything installs successfully.
Child repo is added to the parent repo like this
Package.json of parent repo
"child-repo-name": "ssh://path.git#v0.1.6"
when I run yarn install in the parent repo I receive this error
Bug: Couldn't find package "@fortawesome/pro-duotone-svg-icons@^6.2.0" required by "module-name version" on the "npm" registry
NOTE:
If I add .npmrc the license to parent repo and run yarn install it starts working the packages get installed as the license issue is resolved. But it shouldn't be the case. FontAwesome packages are installed in the child repo it should not request license from the parent. I have upgraded it from fontawesome-pro": "5.15.4" and in that version I wasn't having this issue
There is a "Project A", with its own directory and package.json
"Project A" has a dependency on "Project B", which is listed into Project A's package.json
"Project B" has a dependency on Font Awesome Pro, and you expect that Project A can use Project B's Font Awesome license without configuration
In my understanding of node/npm, the .npmrc with the Font Awesome Pro token should be available into Project A, and there is no way it can work without a valid license.
Also, I have concerns that this use case configures into a redistribution of a Font Awesome Pro license
@tagliala@robmadole I am curious because when we were using the previous version "5.15.4" we didn't need to add .npmrc in "Project A" but now we need to.
@shaheryarkhan2021 the general setup of our NPM packages hasn't changed. Can you provide a reproducible example of what you are dealing with? I understand the basics but without seeing this work I'm not sure we'll be able to move forward.
@shaheryarkhan2021 I could imagine that this issue did not occur in version "5.15.4" because you authenticated not with a .npmrc file but with the global setup?
Bug description
There is a parent repository and a child repository. Font-Awesome is self hosted in child repo and license in added in the child repo in .npmrc file. When I run
yarn install
in child repo everything installs successfully.Child repo is added to the parent repo like this
when I run yarn install in the parent repo I receive this error
Bug: Couldn't find package "@fortawesome/pro-duotone-svg-icons@^6.2.0" required by "module-name version" on the "npm" registry
NOTE:
If I add .npmrc the license to parent repo and run
yarn install
it starts working the packages get installed as the license issue is resolved. But it shouldn't be the case. FontAwesome packages are installed in the child repo it should not request license from the parent. I have upgraded it from fontawesome-pro": "5.15.4" and in that version I wasn't having this issueChild Package.json
Reproducible test case
create a parent and child repo as mentioned above. put license in child repo and install it through parent using yarn install
Screenshots
No response
Font Awesome version
v6.2.0
Serving
Self-hosted
Implementation
SVG+JS
Browser and Operating System
Chrome on Linux
Web bug report checklist
The text was updated successfully, but these errors were encountered: