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

Build error: recipe for target 'node_modules' failed #13993

Closed
strk opened this issue Dec 15, 2020 · 2 comments
Closed

Build error: recipe for target 'node_modules' failed #13993

strk opened this issue Dec 15, 2020 · 2 comments

Comments

@strk
Copy link
Member

strk commented Dec 15, 2020

Current master branch (c3fc190)

strk@hst:~/go/src/code.gitea.io/gitea$ make
npm install --no-save

> [email protected] postinstall /home/strk/go/src/code.gitea.io/gitea/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


Makefile:633: recipe for target 'node_modules' failed
make: *** [node_modules] Error 1
strk@hst:~/go/src/code.gitea.io/gitea$ echo $?
2
strk@hst:~/go/src/code.gitea.io/gitea$ nodejs --version
v10.23.0
strk@hst:~/go/src/code.gitea.io/gitea$ go version
go version go1.12.5 linux/amd64

@strk
Copy link
Member Author

strk commented Dec 15, 2020

Second attempt fails with ENOMEM, which could explain:

npx webpack --hide-modules --display-entrypoints=false
Error: spawn ENOMEM

@strk
Copy link
Member Author

strk commented Dec 15, 2020

Confirmed: it was the out-of-memory condition blocking the build

@strk strk closed this as completed Dec 15, 2020
@go-gitea go-gitea locked and limited conversation to collaborators Jan 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant