Comments (2)
@linasburneika is this still an issue with the latest version?
if its failing to resolve deps, you probably need to install the peers
from viewer-components-react.
Yes, it's still a problem (tested with npm v10.2.5), but I don't understand why it fails. Npm is installing peer dependencies automatically, but due to some reason it picks [email protected] in this case, but it should backtrack to v17 because there is no constraint in the dep tree demanding specifically v18. It seems like a bug in npm itself.
pnpm resolves entire dep tree properly without any warning.
I figured out it's necessary to explicitly specify react and react-dom in the project, then npm resolves it properly without any warning too (even with strict peers check enabled):
{
"name": "measure",
"version": "1.0.0",
"dependencies": {
"@itwin/measure-tools-react": "^0.14.2",
"react": "^17.0.0",
"react-dom": "^17.0.0"
}
}
I think you can close it, there is nothing you can do about it.
from viewer-components-react.
Related Issues (20)
- Tree widget: Allow to opt-in for hierarchy level size limiting
- @itwin/map-layers has no direct or peer @itwin/itwinui-react dependency HOT 2
- In Ipad ctrl/command key multiple selection of Model tree doesnt work HOT 5
- Tree widget: Filtering hierarchy level by just class doesn't work
- Tree widget: Exceeded items limit message in hierarchy level filtering dialog is not clear
- Property widget: Selection change causes property widget to auto-focus
- PropertyGrid: Cannot get persisted user preference showNullValues because 'IModelApp.userPreferences' not defined. HOT 11
- Tree widget: Switch to using `@itwin/presentation-hierarchies-react`
- Models tree: Focus mode
- Property widget: Features telemetry reporting
- Tree widget: Features' telemetry reporting
- Models Tree - Request performance improvement during visibility on/off with multi selection HOT 4
- Spatial tree - Request performance improvement during visibility on/off
- Tree Widget: Add ability to show badge in tree selector
- Tree widget: Performance telemetry reporting
- Property widget: Performance telemetry reporting
- Tree & Property widgets: Clean up internal APIs exposed through barrel file
- Tree displays zero items whenever the unit system changes HOT 1
- Tree widget: Support checkbox actions on multiple selected nodes
- @itwin/measure-tools-react, @itwin/map-layers: Support AppUI 4.10+
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viewer-components-react.