Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throws Error when invoked via 'NPM rebuild' #127

Open
github-sj opened this issue Sep 2, 2021 · 0 comments
Open

Throws Error when invoked via 'NPM rebuild' #127

github-sj opened this issue Sep 2, 2021 · 0 comments

Comments

@github-sj
Copy link

‘rc’ is throwing an error when invoked via ‘npm rebuild’.

Rebuilding npm packages...

/codebuild/output/src151053611/src/node_modules/rc/index.js:12
	throw new Error('rc(name): name *must* be string')
    ^

Error: rc(name): name *must* be string
	at module.exports (/codebuild/output/src151053611/src/node_modules/rc/index.js:12:11)
    at Object.<anonymous> (/codebuild/output/src151053611/src/node_modules/rc/cli.js:4:28)
    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)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Module.require (internal/modules/cjs/loader.js:952:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object.<anonymous> (/codebuild/output/src151053611/src/node_modules/.bin/prebuild-install:9:10)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)

RC is installed a nested dependency of 'serverless' npm package

The issue is noticed in Ubuntu 20.04 with NodeJS - v14.15.4 (with npm 6.14.10).
RC version is 1.2.8 and Serverless version is 2.54.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant