app-package would fail on npm v7
See original GitHub issueDescribe the bug
When using NPM v7, app-package
would fail as one of the dependences of insomnia is way too outdated:
https://github.com/garycourt/JSV/blob/e539d4d9e03785bd37159ebf9f7169d9d3ae85ae/package.json#L29
In its package.json
, dependencies
is an array which should be an object or null. NPM v7 is becoming more strict and this dependency would break the packaging routine.
To Reproduce Steps to reproduce the behavior:
- Run
npm run app-package:smoke
using NPM v7
Expected behavior Packaging should success.
Screenshots N/A
Desktop (please complete the following information):
- OS: -
- Installation Method: -
- App Version -
Additional context Not really a “bug report”, but well it throws error when running one of the scripts. Also future-proof surely is a good thing.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Unable to resolve dependency tree error when installing npm ...
Now, whenever I run the command npm install, if the package has the scope @myLib, it will look for it in my private...
Read more >npm 7 is now generally available! - The GitHub Blog
We're announcing version 7 of the npm CLI is now generally available.
Read more >babel-preset-react-app - npm
If you want to use this Babel preset in a project not built with Create React App, you can install it with the...
Read more >Unable to resolve GitHub NPM remote packages when ... - JFrog
npm/@<USER-SCOPE>/npm-app/package.json. In short, the metadata download works but the actual download of package fails with "404 Not Found" ...
Read more >How to solve npm ERR! code 1 when running npm install
Build failed with error code: 1 npm ERR! A complete log of this run can be found in: npm ERR! .npm/_logs/2022-06-24T03_37_26_246Z-debug-0.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
thanks! looks like as of https://github.com/Kong/insomnia/commit/1f05683fad1078741013e6024e58eacdb1b12eee we’re using an updated version now: so unless I misunderstood something: this can be closed.
@dimitropoulos have pushed a fixed version of
jsonlint
, same asJSV
package too.JSV
dependencies
inpackage.json
JSON Lint
JSV
dependency