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

./nodebb setup package.json not found. and problem #8570

Closed
TechComet opened this issue Aug 19, 2020 · 0 comments
Closed

./nodebb setup package.json not found. and problem #8570

TechComet opened this issue Aug 19, 2020 · 0 comments

Comments

@TechComet
Copy link

Hello,

Node: v12.18.3
npm = 6.14.6

./nodebb setup
package.json not found.
Populating package.json...
/home/techcomet/NodeBB/src/cli/package-install.js:27
Object.entries(oldPackageContents.dependencies).forEach(([dep, version]) => {
^

TypeError: Cannot convert undefined or null to object
at Function.entries ()
at Object.updatePackageFile (/home/techcomet/NodeBB/src/cli/package-install.js:27:9)
at Object. (/home/techcomet/NodeBB/src/cli/index.js:19:18)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (/home/techcomet/NodeBB/nodebb:5:1)

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