Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 9, 2021. It is now read-only.

Commit 745aa69

Browse files
committed
Specify node version for deploy fix attempt
Looks like the deploy was failing due to the following message: "TypeError: Object.values is not a function" Since I didn't have a phoenix static buildpack file to specify the Node version, it was defaulting to Node 6.9.2 on Heroku. Hopefully this commit will update the Node version and resolve the issues (without creating others).
1 parent d60072a commit 745aa69

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

‎assets/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"watch": "webpack --mode development --watch"
77
},
88
"dependencies": {
9-
"elm": "^0.19.0-bugfix2",
9+
"elm": "^0.19.0-bugfix6",
1010
"elm-webpack-loader": "^5.0.0",
1111
"phoenix": "file:../deps/phoenix",
1212
"phoenix_html": "file:../deps/phoenix_html"
@@ -23,4 +23,4 @@
2323
"webpack": "4.4.0",
2424
"webpack-cli": "^2.0.10"
2525
}
26-
}
26+
}

‎phoenix_static_buildpack.config‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Clean out cache contents from previous deploys
2+
clean_cache=false
3+
4+
# We can set the version of Node to use for the app here
5+
node_version=10.5.0
6+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /