Comments (1)
With NPM version 7.x it appears the new peerDependency handling (force-loading peerDependencies instead of ignoring them) changes the behaviour see: https://github.blog/2021-02-02-npm-7-is-now-generally-available/#peer-dependencies :
│ └─┬ [email protected]
│ ├─┬ @seriousme/[email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected] deduped
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├─┬ @eslint/[email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│ └── [email protected]
└─┬ [email protected]
├─┬ @fastify/[email protected]
│ └── [email protected]
├─┬ [email protected]
│ └── [email protected]
└─┬ [email protected]
└── [email protected]
Humph... closing this, but pleased to have recorded this so maybe someone else can be saved a few hours of debugging.
Note that npm 7 with --legacy-peer-deps
option does things differently again, the install runs CLEAN (NO ERRORS OR WARNINGS), but npm ls ajv
shows:
│ └─┬ [email protected]
│ ├─┬ @seriousme/[email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected] deduped invalid: "^8.5.0" from node_modules/ajv-draft-04
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └── [email protected]
Running the application fails with:
/home/rolf/bmix/myapp/node_modules/ajv-draft-04/dist/vocabulary/draft4.js:11
applicator_1.default(),
^
TypeError: applicator_1.default is not a function
at Object.<anonymous> (/home/rolf/bmix/myapp/node_modules/ajv-draft-04/dist/vocabulary/draft4.js:11:25)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
from ajv-draft-04.
Related Issues (5)
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 ajv-draft-04.