invalid protocol when undefined
See original GitHub issueExpected Behavior
before the new version published today, running lockfile-lint against my projects was passing.
Current Behavior
now seeing several projects failing with lots of failures similar to
detected invalid protocol for package: abbrev@1.1.1-8f0b92d6fc7847f731964a4f3ab3b7c1e53edee5
expected: https:
actual: undefined
https://travis-ci.com/travi-org/matt.travi.org/builds/147288295#L340-L2012
not sure if this was intentional with recent changes, but seems unexpected.
Possible Solution
Steps to Reproduce (for bugs)
- Clone from https://github.com/travi-org/matt.travi.org
git checkout greenkeeper/lockfile-lint-3.0.10
nvm install
npm install
npm run lint:lockfile
Context
Greenkeeper PRs to several of my projects failed
Your Environment
- Library Version used:
v3.0.10
- Node.js version (e.g. Node.js 5.4):
v10.18.1
- Operating System and version (desktop or mobile):
macOS Catalina 10.15.2
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Invalid protocol: undefined - NodeJS error on POST request
The issue here is that request should not take the body as the second parameter. request.post(post_options, function(err, res, ...
Read more >API Error 400: Invalid request: {"protocol":["undefined is not a ...
Hi frined, today my app started giving errors while performing the purchase of some nfts. I upgraded the version 3.0.4 to version 4.0.2....
Read more >Invalid protocol: undefined - NodeJS error on POST request
The issue here is that request should not take the body as the second parameter. request.post(post_options, function(err, res, resBody) is correct and the ......
Read more >URL | Node.js v19.3.0 Documentation
Invalid URL protocol values assigned to the protocol property are ignored. ... Otherwise, if urlObject.protocol is not undefined and is not a string, ......
Read more >How to consume on-prem services in public Node.JS API ...
Hi Prashant H Suryawanshi Patil ,. With the same approach i am getting 'Invalid protocol: undefined', can you advise on the below? Like...
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
fixed for me as well. thanks for the quick resolution 😃
@fregante @travi thanks for opening the issue quickly, I fixed the regression with PR #59