Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-nodejs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-nodejs
Commits
d0cf037e
Unverified
Commit
d0cf037e
authored
Mar 14, 2018
by
Jeremy Morrell
Committed by
GitHub
Mar 14, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add detection for module installation 404 failures (#535)
Add detection for module 404s
parent
079e52d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
failure.sh
lib/failure.sh
+5
-0
No files found.
lib/failure.sh
View file @
d0cf037e
...
...
@@ -365,6 +365,11 @@ log_other_failures() {
return
0
fi
if
grep
-i
-e
"npm ERR! code E404"
-e
"error An unexpected error occurred: .* Request failed
\"
404 Not Found
\"
"
"
$log_file
"
;
then
mcount
"failures.module-404"
return
0
fi
if
grep
-qi
"sh: 1: cd: can't cd to"
"
$log_file
"
;
then
mcount
"failures.cd-command-fail"
return
0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment