Running sls plugin install -n severless-domain-manager results in ✖ npm ERR! Cannot read properties of null (reading 'matches') error
➜ sls plugin install -n serverless-domain-manager
✖ npm ERR! Cannot read properties of null (reading 'matches')
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/tyler/.npm/_logs/2023-01-17T03_53_03_348Z-debug-0.log
Environment: darwin, node 18.12.1, framework 3.26.0, plugin 6.2.2, SDK 4.3.2
Docs: docs.serverless.com
Support: forum.serverless.com
Bugs: github.com/serverless/serverless/issues
Error:
Error: `npm install --save-dev serverless-domain-manager@latest` Exited with code 1
at ChildProcess.<anonymous> (/Users/tyler/.nvm/versions/node/v18.12.1/lib/node_modules/serverless/node_modules/child-process-ext/spawn.js:38:8)
at ChildProcess.emit (node:events:513:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1091:16)
at Socket.<anonymous> (node:internal/child_process:449:11)
at Socket.emit (node:events:513:28)
at Socket.emit (node:domain:489:12)
at Pipe.<anonymous> (node:net:313:12)
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Bug Report
Error Description
A clear and concise description of the behavior.
Command Run
e.g. sls deploy, sls create_domain, etc.
Console Output
Domain Manager Configuration
Replace this with your own serverless.yml file (anonymized, of course) to help us better resolve your issue.
custom:
customDomain:
domainName: foo.example.tld
basePath: bar
createRoute53Record: true
Running
sls plugin install -n severless-domain-manager
results in✖ npm ERR! Cannot read properties of null (reading 'matches')
errorCommunity Note
Bug Report
Error Description A clear and concise description of the behavior.
Command Run e.g.
sls deploy
,sls create_domain
, etc.Console Output
Domain Manager Configuration Replace this with your own
serverless.yml
file (anonymized, of course) to help us better resolve your issue.Versions
Possible Solution
Additional context/Screenshots Add any other context about the problem here. If applicable, add screenshots to help explain.