question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

app-package would fail on npm v7

See original GitHub issue

Describe 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:

  1. 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:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dimitropouloscommented, Mar 21, 2022

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.

0reactions
ssleptsovcommented, Oct 18, 2021

@dimitropoulos have pushed a fixed version of jsonlint, same as JSV package too.

JSV

JSON Lint

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found