gobuffalo / buffalo

Rapid Web Development w/ Go
http://gobuffalo.io
MIT License
8.07k stars 573 forks source link

v2 of github.com/monoculum/formam always get installed #488

Closed steve-mt closed 7 years ago

steve-mt commented 7 years ago

Hello! First of all, I would like to thank you for this awesome project I really like it 😸

Go Version: go version go1.8.3 darwin/amd64 OS: MacOS sierra Package Manager: dep

I seem to be getting into an issue when I upgraded my buffalo app from v0.8.2 to v0.9.0. When I try to build my application I get the issue below.

vendor/github.com/gobuffalo/buffalo/binding/binding.go:91: unknown field 'IgnoreUnknownKeys' in struct literal of type formam.DecoderOptions
github.com/bscott/test1/a

Now it was pointed out to me that I had an outdated package, specifically github.com/monoculum/formam. So I run go get -u github.com/monoculum/formam and run dep ensure -update to update the package, with little to no luck.

If I inspect my Gopkg.lock the file I can see this v2.0 is still set as below

[[projects]]
  name = "github.com/monoculum/formam"
  packages = ["."]
  revision = "c686db6b1691f1df2ba6b321bca22cd175dd28bf"
  version = "v2.0"

I tried to run dep ensure -override github.com/monoculum/formam@^3.0

But then I get this weird error, which I am not sure how much sense it makes

ensure Solve(): No versions of github.com/monoculum/formam met constraints:
    v2.0: Could not introduce github.com/monoculum/formam@v2.0, as it is not allowed by constraint ^3.0.0 from project github.com/gobuffalo/buffalo.
    v1.0: Could not introduce github.com/monoculum/formam@v1.0, as it is not allowed by constraint ^3.0.0 from project github.com/gobuffalo/buffalo.
    master: Could not introduce github.com/monoculum/formam@master, as it is not allowed by constraint ^3.0.0 from project github.com/gobuffalo/buffalo.
    V3.0: Could not introduce github.com/monoculum/formam@V3.0, as it is not allowed by constraint ^3.0.0 from project github.com/gobuffalo/buffalo.

I wanted to check if it was just my project or not so I started a new project inside of the Buffalo container and ran the steps below

Which I get the output below

buffalo new web ```bash src/github.com/SteveAzz# buffalo new web Buffalo version v0.9.0 --> go get -u golang.org/x/tools/cmd/goimports --> go install golang.org/x/tools/cmd/goimports --> go get -u github.com/golang/dep --> go install github.com/golang/dep --> go get -u github.com/motemen/gore --> go install github.com/motemen/gore --> /go/src/github.com/SteveAzz/web/README.md --> /go/src/github.com/SteveAzz/web/actions/actions_test.go --> /go/src/github.com/SteveAzz/web/actions/app.go --> /go/src/github.com/SteveAzz/web/actions/home.go --> /go/src/github.com/SteveAzz/web/actions/home_test.go --> /go/src/github.com/SteveAzz/web/actions/render.go --> /go/src/github.com/SteveAzz/web/.codeclimate.yml --> /go/src/github.com/SteveAzz/web/.gitignore --> /go/src/github.com/SteveAzz/web/grifts/routes.go --> /go/src/github.com/SteveAzz/web/locales/all.en-us.yaml --> /go/src/github.com/SteveAzz/web/main.go --> /go/src/github.com/SteveAzz/web/templates/_flash.html --> /go/src/github.com/SteveAzz/web/templates/application.html --> /go/src/github.com/SteveAzz/web/templates/index.html --> /go/src/github.com/SteveAzz/web/.buffalo.dev.yml --> goimports -w actions/actions_test.go actions/app.go actions/home.go actions/home_test.go actions/render.go grifts/routes.go main.go --> /go/src/github.com/SteveAzz/web/assets/images/logo.svg --> /go/src/github.com/SteveAzz/web/assets/css/application.scss --> /go/src/github.com/SteveAzz/web/assets/js/application.js --> /go/src/github.com/SteveAzz/web/public/assets/.gitignore --> /go/src/github.com/SteveAzz/web/webpack.config.js --> npm init -y Wrote to /go/src/github.com/SteveAzz/web/package.json: { "name": "web", "version": "1.0.0", "description": "Thank you for choosing Buffalo for your web development needs.", "main": "webpack.config.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], "author": "", "license": "ISC" } --> npm install --save webpack@~2.3.0 sass-loader css-loader style-loader node-sass extract-text-webpack-plugin babel-cli babel-core babel-preset-env babel-loader url-loader file-loader jquery bootstrap path font-awesome npm-install-webpack-plugin jquery-ujs copy-webpack-plugin expose-loader npm WARN prefer global node-gyp@3.6.2 should be installed with -g > node-sass@4.5.3 install /go/src/github.com/SteveAzz/web/node_modules/node-sass > node scripts/install.js Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.3/linux-x64-51_binding.node Download complete ] - : Binary saved to /go/src/github.com/SteveAzz/web/node_modules/node-sass/vendor/linux-x64-51/binding.node Caching binary to /root/.npm/node-sass/4.5.3/linux-x64-51_binding.node > node-sass@4.5.3 postinstall /go/src/github.com/SteveAzz/web/node_modules/node-sass > node scripts/build.js Binary found at /go/src/github.com/SteveAzz/web/node_modules/node-sass/vendor/linux-x64-51/binding.node Testing binary Binary is fine web@1.0.0 /go/src/github.com/SteveAzz/web +-- babel-cli@6.24.1 | +-- babel-polyfill@6.23.0 | | +-- core-js@2.4.1 | | `-- regenerator-runtime@0.10.5 | +-- babel-register@6.24.1 | | +-- home-or-tmp@2.0.0 | | | +-- os-homedir@1.0.2 | | | `-- os-tmpdir@1.0.2 | | `-- source-map-support@0.4.15 | +-- babel-runtime@6.23.0 | +-- chokidar@1.7.0 | | +-- anymatch@1.3.0 | | | +-- arrify@1.0.1 | | | `-- micromatch@2.3.11 | | | +-- arr-diff@2.0.0 | | | | `-- arr-flatten@1.0.3 | | | +-- array-unique@0.2.1 | | | +-- braces@1.8.5 | | | | +-- expand-range@1.8.2 | | | | | `-- fill-range@2.2.3 | | | | | +-- is-number@2.1.0 | | | | | +-- isobject@2.1.0 | | | | | `-- randomatic@1.1.7 | | | | | +-- is-number@3.0.0 | | | | | | `-- kind-of@3.2.2 | | | | | `-- kind-of@4.0.0 | | | | +-- preserve@0.2.0 | | | | `-- repeat-element@1.1.2 | | | +-- expand-brackets@0.1.5 | | | | `-- is-posix-bracket@0.1.1 | | | +-- extglob@0.3.2 | | | +-- filename-regex@2.0.1 | | | +-- normalize-path@2.1.1 | | | | `-- remove-trailing-separator@1.0.2 | | | +-- object.omit@2.0.1 | | | | `-- for-own@0.1.5 | | | +-- parse-glob@3.0.4 | | | | +-- glob-base@0.3.0 | | | | `-- is-dotfile@1.0.3 | | | `-- regex-cache@0.4.3 | | | +-- is-equal-shallow@0.1.3 | | | `-- is-primitive@2.0.0 | | +-- async-each@1.0.1 | | +-- glob-parent@2.0.0 | | +-- inherits@2.0.3 | | +-- is-binary-path@1.0.1 | | | `-- binary-extensions@1.8.0 | | +-- is-glob@2.0.1 | | | `-- is-extglob@1.0.0 | | `-- readdirp@2.1.0 | | `-- set-immediate-shim@1.0.1 | +-- commander@2.10.0 | | `-- graceful-readlink@1.0.1 | +-- convert-source-map@1.5.0 | +-- fs-readdir-recursive@1.0.0 | +-- glob@7.1.2 | | +-- fs.realpath@1.0.0 | | +-- inflight@1.0.6 | | | `-- wrappy@1.0.2 | | `-- once@1.4.0 | +-- lodash@4.17.4 | +-- output-file-sync@1.1.2 | | `-- graceful-fs@4.1.11 | +-- path-is-absolute@1.0.1 | +-- slash@1.0.0 | +-- source-map@0.5.6 | `-- v8flags@2.1.1 | `-- user-home@1.1.1 +-- babel-core@6.25.0 | +-- babel-code-frame@6.22.0 | | +-- esutils@2.0.2 | | `-- js-tokens@3.0.2 | +-- babel-generator@6.25.0 | | +-- detect-indent@4.0.0 | | | `-- repeating@2.0.1 | | | `-- is-finite@1.0.2 | | +-- jsesc@1.3.0 | | `-- trim-right@1.0.1 | +-- babel-helpers@6.24.1 | +-- babel-messages@6.23.0 | +-- babel-template@6.25.0 | +-- babel-traverse@6.25.0 | | `-- globals@9.18.0 | +-- babel-types@6.25.0 | | `-- to-fast-properties@1.0.3 | +-- babylon@6.17.4 | +-- debug@2.6.8 | | `-- ms@2.0.0 | +-- json5@0.5.1 | +-- minimatch@3.0.4 | | `-- brace-expansion@1.1.8 | | +-- balanced-match@1.0.0 | | `-- concat-map@0.0.1 | `-- private@0.1.7 +-- babel-loader@7.1.1 | +-- find-cache-dir@1.0.0 | | +-- commondir@1.0.1 | | +-- make-dir@1.0.0 | | | `-- pify@2.3.0 | | `-- pkg-dir@2.0.0 | | `-- find-up@2.1.0 | | `-- locate-path@2.0.0 | | +-- p-locate@2.0.0 | | | `-- p-limit@1.1.0 | | `-- path-exists@3.0.0 | +-- loader-utils@1.1.0 | | +-- big.js@3.1.3 | | `-- emojis-list@2.1.0 | `-- mkdirp@0.5.1 | `-- minimist@0.0.8 +-- babel-preset-env@1.5.2 | +-- babel-plugin-check-es2015-constants@6.22.0 | +-- babel-plugin-syntax-trailing-function-commas@6.22.0 | +-- babel-plugin-transform-async-to-generator@6.24.1 | | +-- babel-helper-remap-async-to-generator@6.24.1 | | `-- babel-plugin-syntax-async-functions@6.13.0 | +-- babel-plugin-transform-es2015-arrow-functions@6.22.0 | +-- babel-plugin-transform-es2015-block-scoped-functions@6.22.0 | +-- babel-plugin-transform-es2015-block-scoping@6.24.1 | +-- babel-plugin-transform-es2015-classes@6.24.1 | | +-- babel-helper-define-map@6.24.1 | | +-- babel-helper-function-name@6.24.1 | | +-- babel-helper-optimise-call-expression@6.24.1 | | `-- babel-helper-replace-supers@6.24.1 | +-- babel-plugin-transform-es2015-computed-properties@6.24.1 | +-- babel-plugin-transform-es2015-destructuring@6.23.0 | +-- babel-plugin-transform-es2015-duplicate-keys@6.24.1 | +-- babel-plugin-transform-es2015-for-of@6.23.0 | +-- babel-plugin-transform-es2015-function-name@6.24.1 | +-- babel-plugin-transform-es2015-literals@6.22.0 | +-- babel-plugin-transform-es2015-modules-amd@6.24.1 | +-- babel-plugin-transform-es2015-modules-commonjs@6.24.1 | | `-- babel-plugin-transform-strict-mode@6.24.1 | +-- babel-plugin-transform-es2015-modules-systemjs@6.24.1 | | `-- babel-helper-hoist-variables@6.24.1 | +-- babel-plugin-transform-es2015-modules-umd@6.24.1 | +-- babel-plugin-transform-es2015-object-super@6.24.1 | +-- babel-plugin-transform-es2015-parameters@6.24.1 | | +-- babel-helper-call-delegate@6.24.1 | | `-- babel-helper-get-function-arity@6.24.1 | +-- babel-plugin-transform-es2015-shorthand-properties@6.24.1 | +-- babel-plugin-transform-es2015-spread@6.22.0 | +-- babel-plugin-transform-es2015-sticky-regex@6.24.1 | | `-- babel-helper-regex@6.24.1 | +-- babel-plugin-transform-es2015-template-literals@6.22.0 | +-- babel-plugin-transform-es2015-typeof-symbol@6.23.0 | +-- babel-plugin-transform-es2015-unicode-regex@6.24.1 | | `-- regexpu-core@2.0.0 | | +-- regenerate@1.3.2 | | +-- regjsgen@0.2.0 | | `-- regjsparser@0.1.5 | | `-- jsesc@0.5.0 | +-- babel-plugin-transform-exponentiation-operator@6.24.1 | | +-- babel-helper-builder-binary-assignment-operator-visitor@6.24.1 | | | `-- babel-helper-explode-assignable-expression@6.24.1 | | `-- babel-plugin-syntax-exponentiation-operator@6.13.0 | +-- babel-plugin-transform-regenerator@6.24.1 | | `-- regenerator-transform@0.9.11 | +-- browserslist@2.1.5 | | +-- caniuse-lite@1.0.30000696 | | `-- electron-to-chromium@1.3.15 | +-- invariant@2.2.2 | | `-- loose-envify@1.3.1 | `-- semver@5.3.0 +-- bootstrap@3.3.7 +-- copy-webpack-plugin@4.0.1 | +-- bluebird@2.11.0 | +-- fs-extra@0.26.7 | | +-- jsonfile@2.4.0 | | +-- klaw@1.3.1 | | `-- rimraf@2.6.1 | +-- glob@6.0.4 | +-- is-glob@3.1.0 | | `-- is-extglob@2.1.1 | +-- loader-utils@0.2.17 | `-- node-dir@0.1.17 +-- css-loader@0.28.4 | +-- css-selector-tokenizer@0.7.0 | | +-- cssesc@0.1.0 | | +-- fastparse@1.1.1 | | `-- regexpu-core@1.0.0 | +-- cssnano@3.10.0 | | +-- autoprefixer@6.7.7 | | | +-- browserslist@1.7.7 | | | +-- caniuse-db@1.0.30000696 | | | +-- normalize-range@0.1.2 | | | `-- num2fraction@1.2.2 | | +-- decamelize@1.2.0 | | +-- defined@1.0.0 | | +-- has@1.0.1 | | | `-- function-bind@1.1.0 | | +-- postcss-calc@5.3.1 | | | +-- postcss-message-helpers@2.0.0 | | | `-- reduce-css-calc@1.3.0 | | | +-- balanced-match@0.4.2 | | | +-- math-expression-evaluator@1.2.17 | | | `-- reduce-function-call@1.0.2 | | | `-- balanced-match@0.4.2 | | +-- postcss-colormin@2.2.2 | | | `-- colormin@1.1.2 | | | +-- color@0.11.4 | | | | +-- clone@1.0.2 | | | | +-- color-convert@1.9.0 | | | | | `-- color-name@1.1.2 | | | | `-- color-string@0.3.0 | | | `-- css-color-names@0.0.4 | | +-- postcss-convert-values@2.6.1 | | +-- postcss-discard-comments@2.0.4 | | +-- postcss-discard-duplicates@2.1.0 | | +-- postcss-discard-empty@2.1.0 | | +-- postcss-discard-overridden@0.1.1 | | +-- postcss-discard-unused@2.2.3 | | | `-- uniqs@2.0.0 | | +-- postcss-filter-plugins@2.0.2 | | | `-- uniqid@4.1.1 | | | `-- macaddress@0.2.8 | | +-- postcss-merge-idents@2.1.7 | | +-- postcss-merge-longhand@2.0.2 | | +-- postcss-merge-rules@2.1.2 | | | +-- browserslist@1.7.7 | | | +-- caniuse-api@1.6.1 | | | | +-- browserslist@1.7.7 | | | | +-- lodash.memoize@4.1.2 | | | | `-- lodash.uniq@4.5.0 | | | +-- postcss-selector-parser@2.2.3 | | | | +-- flatten@1.0.2 | | | | +-- indexes-of@1.0.1 | | | | `-- uniq@1.0.1 | | | `-- vendors@1.0.1 | | +-- postcss-minify-font-values@1.0.5 | | +-- postcss-minify-gradients@1.0.5 | | +-- postcss-minify-params@1.2.2 | | | `-- alphanum-sort@1.0.2 | | +-- postcss-minify-selectors@2.1.1 | | +-- postcss-normalize-charset@1.1.1 | | +-- postcss-normalize-url@3.0.8 | | | +-- is-absolute-url@2.1.0 | | | `-- normalize-url@1.9.1 | | | +-- prepend-http@1.0.4 | | | +-- query-string@4.3.4 | | | | `-- strict-uri-encode@1.1.0 | | | `-- sort-keys@1.1.2 | | | `-- is-plain-obj@1.1.0 | | +-- postcss-ordered-values@2.2.3 | | +-- postcss-reduce-idents@2.4.0 | | +-- postcss-reduce-initial@1.0.1 | | +-- postcss-reduce-transforms@1.0.4 | | +-- postcss-svgo@2.1.6 | | | +-- is-svg@2.1.0 | | | | `-- html-comment-regex@1.1.1 | | | `-- svgo@0.7.2 | | | +-- coa@1.0.3 | | | | `-- q@1.5.0 | | | +-- colors@1.1.2 | | | +-- csso@2.3.2 | | | | `-- clap@1.2.0 | | | +-- js-yaml@3.7.0 | | | | +-- argparse@1.0.9 | | | | | `-- sprintf-js@1.0.3 | | | | `-- esprima@2.7.3 | | | +-- sax@1.2.4 | | | `-- whet.extend@0.9.9 | | +-- postcss-unique-selectors@2.0.2 | | `-- postcss-zindex@2.2.0 | +-- icss-utils@2.1.0 | | `-- postcss@6.0.4 | | +-- chalk@2.0.1 | | | `-- ansi-styles@3.1.0 | | `-- supports-color@4.1.0 | | `-- has-flag@2.0.0 | +-- lodash.camelcase@4.3.0 | +-- object-assign@4.1.1 | +-- postcss@5.2.17 | | +-- js-base64@2.1.9 | | `-- supports-color@3.2.3 | +-- postcss-modules-extract-imports@1.1.0 | | `-- postcss@6.0.4 | | +-- chalk@2.0.1 | | | `-- ansi-styles@3.1.0 | | `-- supports-color@4.1.0 | | `-- has-flag@2.0.0 | +-- postcss-modules-local-by-default@1.2.0 | | `-- postcss@6.0.4 | | +-- chalk@2.0.1 | | | `-- ansi-styles@3.1.0 | | `-- supports-color@4.1.0 | | `-- has-flag@2.0.0 | +-- postcss-modules-scope@1.1.0 | | `-- postcss@6.0.4 | | +-- chalk@2.0.1 | | | `-- ansi-styles@3.1.0 | | `-- supports-color@4.1.0 | | `-- has-flag@2.0.0 | +-- postcss-modules-values@1.3.0 | | +-- icss-replace-symbols@1.1.0 | | `-- postcss@6.0.4 | | +-- chalk@2.0.1 | | | `-- ansi-styles@3.1.0 | | `-- supports-color@4.1.0 | | `-- has-flag@2.0.0 | +-- postcss-value-parser@3.3.0 | `-- source-list-map@0.1.8 +-- expose-loader@0.7.3 +-- extract-text-webpack-plugin@2.1.2 | +-- async@2.5.0 | +-- schema-utils@0.3.0 | | `-- ajv@5.2.0 | | +-- fast-deep-equal@0.1.0 | | `-- json-schema-traverse@0.3.1 | `-- webpack-sources@1.0.1 | `-- source-list-map@2.0.0 +-- file-loader@0.11.2 +-- font-awesome@4.7.0 +-- jquery@3.2.1 +-- jquery-ujs@1.2.2 +-- node-sass@4.5.3 | +-- async-foreach@0.1.3 | +-- chalk@1.1.3 | | +-- ansi-styles@2.2.1 | | +-- escape-string-regexp@1.0.5 | | +-- has-ansi@2.0.0 | | | `-- ansi-regex@2.1.1 | | +-- strip-ansi@3.0.1 | | `-- supports-color@2.0.0 | +-- cross-spawn@3.0.1 | | +-- lru-cache@4.1.1 | | | +-- pseudomap@1.0.2 | | | `-- yallist@2.1.2 | | `-- which@1.2.14 | | `-- isexe@2.0.0 | +-- gaze@1.1.2 | | `-- globule@1.2.0 | +-- get-stdin@4.0.1 | +-- in-publish@2.0.0 | +-- lodash.assign@4.2.0 | +-- lodash.clonedeep@4.5.0 | +-- lodash.mergewith@4.6.0 | +-- meow@3.7.0 | | +-- camelcase-keys@2.1.0 | | | `-- camelcase@2.1.1 | | +-- loud-rejection@1.6.0 | | | +-- currently-unhandled@0.4.1 | | | | `-- array-find-index@1.0.2 | | | `-- signal-exit@3.0.2 | | +-- map-obj@1.0.1 | | +-- minimist@1.2.0 | | +-- normalize-package-data@2.4.0 | | | +-- hosted-git-info@2.5.0 | | | +-- is-builtin-module@1.0.0 | | | | `-- builtin-modules@1.1.1 | | | `-- validate-npm-package-license@3.0.1 | | | +-- spdx-correct@1.0.2 | | | | `-- spdx-license-ids@1.2.2 | | | `-- spdx-expression-parse@1.0.4 | | +-- read-pkg-up@1.0.1 | | | +-- find-up@1.1.2 | | | | +-- path-exists@2.1.0 | | | | `-- pinkie-promise@2.0.1 | | | | `-- pinkie@2.0.4 | | | `-- read-pkg@1.1.0 | | | +-- load-json-file@1.1.0 | | | | +-- parse-json@2.2.0 | | | | | `-- error-ex@1.3.1 | | | | | `-- is-arrayish@0.2.1 | | | | `-- strip-bom@2.0.0 | | | | `-- is-utf8@0.2.1 | | | `-- path-type@1.1.0 | | +-- redent@1.0.0 | | | +-- indent-string@2.1.0 | | | `-- strip-indent@1.0.1 | | `-- trim-newlines@1.0.0 | +-- nan@2.6.2 | +-- node-gyp@3.6.2 | | +-- fstream@1.0.11 | | +-- nopt@3.0.6 | | | `-- abbrev@1.1.0 | | +-- osenv@0.1.4 | | `-- tar@2.2.1 | | `-- block-stream@0.0.9 | +-- npmlog@4.1.2 | | +-- are-we-there-yet@1.1.4 | | | `-- delegates@1.0.0 | | +-- console-control-strings@1.1.0 | | +-- gauge@2.7.4 | | | +-- aproba@1.1.2 | | | +-- has-unicode@2.0.1 | | | `-- wide-align@1.1.2 | | `-- set-blocking@2.0.0 | +-- request@2.81.0 | | +-- aws-sign2@0.6.0 | | +-- aws4@1.6.0 | | +-- caseless@0.12.0 | | +-- combined-stream@1.0.5 | | | `-- delayed-stream@1.0.0 | | +-- extend@3.0.1 | | +-- forever-agent@0.6.1 | | +-- form-data@2.1.4 | | | `-- asynckit@0.4.0 | | +-- har-validator@4.2.1 | | | +-- ajv@4.11.8 | | | `-- har-schema@1.0.5 | | +-- hawk@3.1.3 | | | +-- boom@2.10.1 | | | +-- cryptiles@2.0.5 | | | +-- hoek@2.16.3 | | | `-- sntp@1.0.9 | | +-- http-signature@1.1.1 | | | +-- assert-plus@0.2.0 | | | +-- jsprim@1.4.0 | | | | +-- assert-plus@1.0.0 | | | | +-- extsprintf@1.0.2 | | | | +-- json-schema@0.2.3 | | | | `-- verror@1.3.6 | | | `-- sshpk@1.13.1 | | | +-- asn1@0.2.3 | | | +-- assert-plus@1.0.0 | | | +-- bcrypt-pbkdf@1.0.1 | | | +-- dashdash@1.14.1 | | | | `-- assert-plus@1.0.0 | | | +-- ecc-jsbn@0.1.1 | | | +-- getpass@0.1.7 | | | | `-- assert-plus@1.0.0 | | | +-- jsbn@0.1.1 | | | `-- tweetnacl@0.14.5 | | +-- is-typedarray@1.0.0 | | +-- isstream@0.1.2 | | +-- json-stringify-safe@5.0.1 | | +-- mime-types@2.1.15 | | | `-- mime-db@1.27.0 | | +-- oauth-sign@0.8.2 | | +-- performance-now@0.2.0 | | +-- qs@6.4.0 | | +-- safe-buffer@5.1.1 | | +-- stringstream@0.0.5 | | +-- tough-cookie@2.3.2 | | +-- tunnel-agent@0.6.0 | | `-- uuid@3.1.0 | +-- sass-graph@2.2.4 | | +-- scss-tokenizer@0.2.3 | | | `-- source-map@0.4.4 | | | `-- amdefine@1.0.1 | | `-- yargs@7.1.0 | | +-- camelcase@3.0.0 | | `-- yargs-parser@5.0.0 | | `-- camelcase@3.0.0 | `-- stdout-stream@1.4.0 | `-- readable-stream@2.3.3 | +-- core-util-is@1.0.2 | +-- isarray@1.0.0 | +-- process-nextick-args@1.0.7 | +-- string_decoder@1.0.3 | `-- util-deprecate@1.0.2 +-- npm-install-webpack-plugin@4.0.4 | +-- cross-spawn@4.0.2 | `-- memory-fs@0.3.0 | `-- errno@0.1.4 | `-- prr@0.0.0 +-- path@0.12.7 | +-- process@0.11.10 | `-- util@0.10.3 | `-- inherits@2.0.1 +-- sass-loader@6.0.6 | +-- clone-deep@0.3.0 | | +-- for-own@1.0.0 | | | `-- for-in@1.0.2 | | +-- is-plain-object@2.0.3 | | | `-- isobject@3.0.1 | | +-- kind-of@3.2.2 | | | `-- is-buffer@1.1.5 | | `-- shallow-clone@0.1.2 | | +-- is-extendable@0.1.1 | | +-- kind-of@2.0.1 | | +-- lazy-cache@0.2.7 | | `-- mixin-object@2.0.1 | | `-- for-in@0.1.8 | +-- lodash.tail@4.1.1 | `-- pify@3.0.0 +-- style-loader@0.18.2 +-- url-loader@0.5.9 | `-- mime@1.3.6 `-- webpack@2.3.3 +-- acorn@4.0.13 +-- acorn-dynamic-import@2.0.2 +-- ajv@4.11.8 | +-- co@4.6.0 | `-- json-stable-stringify@1.0.1 | `-- jsonify@0.0.0 +-- ajv-keywords@1.5.1 +-- enhanced-resolve@3.1.0 | `-- memory-fs@0.4.1 +-- interpret@1.0.3 +-- json-loader@0.5.4 +-- loader-runner@2.3.0 +-- loader-utils@0.2.17 +-- memory-fs@0.4.1 +-- node-libs-browser@2.0.0 | +-- assert@1.4.1 | +-- browserify-zlib@0.1.4 | | `-- pako@0.2.9 | +-- buffer@4.9.1 | | +-- base64-js@1.2.1 | | `-- ieee754@1.1.8 | +-- console-browserify@1.1.0 | | `-- date-now@0.1.4 | +-- constants-browserify@1.0.0 | +-- crypto-browserify@3.11.0 | | +-- browserify-cipher@1.0.0 | | | +-- browserify-aes@1.0.6 | | | | `-- buffer-xor@1.0.3 | | | +-- browserify-des@1.0.0 | | | | `-- des.js@1.0.0 | | | `-- evp_bytestokey@1.0.0 | | +-- browserify-sign@4.0.4 | | | +-- bn.js@4.11.7 | | | +-- browserify-rsa@4.0.1 | | | +-- elliptic@6.4.0 | | | | +-- brorand@1.1.0 | | | | +-- hash.js@1.1.2 | | | | +-- hmac-drbg@1.0.1 | | | | +-- minimalistic-assert@1.0.0 | | | | `-- minimalistic-crypto-utils@1.0.1 | | | `-- parse-asn1@5.1.0 | | | `-- asn1.js@4.9.1 | | +-- create-ecdh@4.0.0 | | +-- create-hash@1.1.3 | | | +-- cipher-base@1.0.3 | | | +-- ripemd160@2.0.1 | | | | `-- hash-base@2.0.2 | | | `-- sha.js@2.4.8 | | +-- create-hmac@1.1.6 | | +-- diffie-hellman@5.0.2 | | | `-- miller-rabin@4.0.0 | | +-- pbkdf2@3.0.12 | | +-- public-encrypt@4.0.0 | | `-- randombytes@2.0.5 | +-- domain-browser@1.1.7 | +-- events@1.1.1 | +-- https-browserify@0.0.1 | +-- os-browserify@0.2.1 | +-- path-browserify@0.0.0 | +-- punycode@1.4.1 | +-- querystring-es3@0.2.1 | +-- stream-browserify@2.0.1 | +-- stream-http@2.7.2 | | +-- builtin-status-codes@3.0.0 | | +-- to-arraybuffer@1.0.1 | | `-- xtend@4.0.1 | +-- string_decoder@0.10.31 | +-- timers-browserify@2.0.2 | | `-- setimmediate@1.0.5 | +-- tty-browserify@0.0.0 | +-- url@0.11.0 | | +-- punycode@1.3.2 | | `-- querystring@0.2.0 | `-- vm-browserify@0.0.4 | `-- indexof@0.0.1 +-- supports-color@3.2.3 | `-- has-flag@1.0.0 +-- tapable@0.2.6 +-- uglify-js@2.8.29 | +-- uglify-to-browserify@1.0.2 | `-- yargs@3.10.0 | +-- camelcase@1.2.1 | +-- cliui@2.1.0 | | +-- center-align@0.1.3 | | | +-- align-text@0.1.4 | | | | +-- longest@1.0.1 | | | | `-- repeat-string@1.6.1 | | | `-- lazy-cache@1.0.4 | | +-- right-align@0.1.3 | | `-- wordwrap@0.0.2 | `-- window-size@0.1.0 +-- watchpack@1.3.1 +-- webpack-sources@0.2.3 | `-- source-list-map@1.1.2 `-- yargs@6.6.0 +-- camelcase@3.0.0 +-- cliui@3.2.0 | `-- wrap-ansi@2.1.0 +-- get-caller-file@1.0.2 +-- os-locale@1.4.0 | `-- lcid@1.0.0 | `-- invert-kv@1.0.0 +-- require-directory@2.1.1 +-- require-main-filename@1.0.1 +-- string-width@1.0.2 | +-- code-point-at@1.1.0 | `-- is-fullwidth-code-point@1.0.0 | `-- number-is-nan@1.0.1 +-- which-module@1.0.0 +-- y18n@3.2.1 `-- yargs-parser@4.2.1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN web@1.0.0 No repository field. --> goimports -w actions/actions_test.go actions/app.go actions/home.go actions/home_test.go actions/render.go grifts/routes.go main.go --> /go/src/github.com/SteveAzz/web/models/models.go --> /go/src/github.com/SteveAzz/web/models/models_test.go --> /go/src/github.com/SteveAzz/web/grifts/seed.go --> go get github.com/markbates/pop/... --> go install github.com/markbates/pop/soda --> database.yml --> goimports -w actions/actions_test.go actions/app.go actions/home.go actions/home_test.go actions/render.go grifts/routes.go grifts/seed.go main.go models/models.go models/models_test.go --> goimports -w actions/actions_test.go actions/app.go actions/home.go actions/home_test.go actions/render.go grifts/routes.go grifts/seed.go main.go models/models.go models/models_test.go --> /go/src/github.com/SteveAzz/web/Dockerfile --> /go/src/github.com/SteveAzz/web/.dockerignore --> goimports -w actions/actions_test.go actions/app.go actions/home.go actions/home_test.go actions/render.go grifts/routes.go grifts/seed.go main.go models/models.go models/models_test.go --> goimports -w actions/actions_test.go actions/app.go actions/home.go actions/home_test.go actions/render.go grifts/routes.go grifts/seed.go main.go models/models.go models/models_test.go --> dep init Locking in master (800e180) for transitive dep github.com/markbates/hmax Locking in master (bde2d78) for transitive dep github.com/markbates/validate Locking in master (e797637) for transitive dep github.com/microcosm-cc/bluemonday Locking in master (09bb405) for transitive dep github.com/shurcooL/highlight_diff Locking in v2 (cd8b52f) for transitive dep gopkg.in/yaml.v2 Using master as constraint for direct dep github.com/gobuffalo/packr Locking in master (9d3b78b) for direct dep github.com/gobuffalo/packr Using ^3.23.3 as constraint for direct dep github.com/markbates/pop Locking in v3.23.3 (32203da) for direct dep github.com/markbates/pop Locking in v1.0.0 (202f255) for transitive dep github.com/Sirupsen/logrus Locking in v1.2.0 (ca5e381) for transitive dep github.com/mattn/go-sqlite3 Locking in master (f4cad6c) for transitive dep github.com/sourcegraph/annotate Locking in v0.0.8 (941b50e) for transitive dep github.com/mattn/go-colorable Locking in v0.2.0 (c37440a) for transitive dep github.com/pelletier/go-buffruneio Locking in master (feef008) for transitive dep github.com/sergi/go-diff Locking in v2.0 (c686db6) for transitive dep github.com/monoculum/formam Locking in v1.4.2 (629574c) for transitive dep github.com/fsnotify/fsnotify Locking in v1.3 (a0583e0) for transitive dep github.com/go-sql-driver/mysql Locking in master (8837942) for transitive dep github.com/lib/pq Locking in v1.4 (0b647d0) for transitive dep github.com/russross/blackfriday Locking in master (259d2a1) for transitive dep github.com/dustin/go-humanize Locking in v1.5.0 (570b54c) for transitive dep github.com/fatih/color Locking in master (d2cdc73) for transitive dep github.com/markbates/willie Locking in master (307f20d) for transitive dep github.com/gobuffalo/tags Locking in v1.5 (cc29540) for transitive dep github.com/ajg/form Locking in master (3c64cb3) for transitive dep github.com/shurcooL/github_flavored_markdown Locking in v1.1 (1ea2538) for transitive dep github.com/gorilla/context Locking in 1.2.0 (3b31d64) for transitive dep github.com/markbates/refresh Locking in master (4ed4d40) for transitive dep golang.org/x/sys Locking in v1.8.1 (3e70a1a) for transitive dep github.com/nicksnyder/go-i18n Locking in v1.1 (667fe4e) for transitive dep github.com/gorilla/securecookie Locking in v1.4.0 (bcd8bc7) for transitive dep github.com/gorilla/mux Locking in master (0576708) for transitive dep github.com/markbates/going Locking in master (b8bc1bf) for transitive dep github.com/mitchellh/go-homedir Locking in master (5ffabfe) for transitive dep github.com/markbates/grift Locking in master (a0792a0) for transitive dep github.com/shurcooL/go-goon Locking in master (a3969c6) for transitive dep github.com/mattn/anko Using master as constraint for direct dep github.com/gobuffalo/envy Locking in master (a901aeb) for direct dep github.com/gobuffalo/envy Locking in master (1f92242) for transitive dep golang.org/x/net Locking in master (1c7f653) for transitive dep github.com/serenize/snaker Locking in master (78fb10f) for transitive dep github.com/shurcooL/highlight_go Locking in v1.2.0 (ea4d1f6) for transitive dep github.com/gorilla/websocket Locking in v1.0.0 (5ccdfb1) for transitive dep github.com/pelletier/go-toml Locking in v1.1 (ca9ada4) for transitive dep github.com/gorilla/sessions Locking in v1.1.4 (69483b4) for transitive dep github.com/stretchr/testify Using master as constraint for direct dep github.com/gobuffalo/suite Locking in master (f9e2b82) for direct dep github.com/gobuffalo/suite Locking in master (6cacb66) for transitive dep github.com/markbates/inflect Locking in master (b9e5dad) for transitive dep github.com/shurcooL/go Locking in v0.0.2 (fc9e8d8) for transitive dep github.com/mattn/go-isatty Using ^0.9.0 as constraint for direct dep github.com/gobuffalo/buffalo Locking in v0.9.0 (a4b2c6d) for direct dep github.com/gobuffalo/buffalo Locking in master (541ff5e) for transitive dep github.com/shurcooL/sanitized_anchor_name Locking in v0.8.0 (645ef00) for transitive dep github.com/pkg/errors Locking in v1.1.0 (879c588) for transitive dep github.com/satori/go.uuid Locking in master (52d068d) for transitive dep github.com/gobuffalo/plush Locking in master (805cee6) for transitive dep github.com/daviddengcn/go-colortext Locking in v1.1.0 (346938d) for transitive dep github.com/davecgh/go-spew Locking in master (1aed211) for transitive dep github.com/shurcooL/octiconssvg Locking in master (d9bd385) for transitive dep github.com/jmoiron/sqlx Locking in master (bd320f5) for transitive dep github.com/sourcegraph/syntaxhighlight Locking in v1.0.0 (792786c) for transitive dep github.com/pmezard/go-difflib --> goimports -w web/actions/actions_test.go web/actions/app.go web/actions/home.go web/actions/home_test.go web/actions/render.go web/grifts/routes.go web/grifts/seed.go web/main.go web/models/models.go web/models/models_test.go Congratulations! Your application, web, has been successfully built! You can find your new application at: /go/src/github.com/SteveAzz/web Please read the README.md file in your new application for next steps on running your application. ```

After the installation is done, I run dep status and get the out below

dep status ``` PROJECT CONSTRAINT VERSION REVISION LATEST PKGS USED github.com/Sirupsen/logrus * v1.0.0 202f255 202f255 1 github.com/ajg/form * v1.5 cc29540 cc29540 1 github.com/davecgh/go-spew * v1.1.0 346938d 346938d 1 github.com/daviddengcn/go-colortext * branch master 805cee6 805cee6 1 github.com/dustin/go-humanize * branch master 259d2a1 259d2a1 1 github.com/fatih/color * v1.5.0 570b54c 570b54c 1 github.com/fsnotify/fsnotify * v1.4.2 629574c 629574c 1 github.com/go-sql-driver/mysql * v1.3 a0583e0 a0583e0 1 github.com/gobuffalo/buffalo ^0.9.0 v0.9.0 a4b2c6d a4b2c6d 7 github.com/gobuffalo/envy branch master branch master a901aeb a901aeb 1 github.com/gobuffalo/packr branch master branch master 9d3b78b 9d3b78b 1 github.com/gobuffalo/plush * branch master 52d068d 52d068d 5 github.com/gobuffalo/suite branch master branch master f9e2b82 f9e2b82 1 github.com/gobuffalo/tags * branch master 307f20d 307f20d 3 github.com/gorilla/context * v1.1 1ea2538 1ea2538 1 github.com/gorilla/mux * v1.4.0 bcd8bc7 bcd8bc7 1 github.com/gorilla/securecookie * v1.1 667fe4e 667fe4e 1 github.com/gorilla/sessions * v1.1 ca9ada4 ca9ada4 1 github.com/gorilla/websocket * v1.2.0 ea4d1f6 ea4d1f6 1 github.com/jmoiron/sqlx * branch master d9bd385 d9bd385 2 github.com/lib/pq * branch master 8837942 8837942 2 github.com/markbates/going * branch master 0576708 0576708 3 github.com/markbates/grift * branch master 5ffabfe 5ffabfe 1 github.com/markbates/hmax * branch master 800e180 800e180 1 github.com/markbates/inflect * branch master 6cacb66 6cacb66 1 github.com/markbates/pop ^3.23.3 v3.23.3 32203da 32203da 5 github.com/markbates/refresh * 1.2.0 3b31d64 3b31d64 2 github.com/markbates/validate * branch master bde2d78 bde2d78 2 github.com/markbates/willie * branch master d2cdc73 d2cdc73 1 github.com/mattn/anko * branch master a3969c6 a3969c6 27 github.com/mattn/go-colorable * v0.0.8 941b50e 941b50e 1 github.com/mattn/go-isatty * v0.0.2 fc9e8d8 fc9e8d8 1 github.com/mattn/go-sqlite3 * v1.2.0 ca5e381 ca5e381 1 github.com/microcosm-cc/bluemonday * branch master e797637 e797637 1 github.com/mitchellh/go-homedir * branch master b8bc1bf b8bc1bf 1 github.com/monoculum/formam * v2.0 c686db6 c686db6 1 github.com/nicksnyder/go-i18n * v1.8.1 3e70a1a 3e70a1a 4 github.com/pelletier/go-buffruneio * v0.2.0 c37440a c37440a 1 github.com/pelletier/go-toml * v1.0.0 5ccdfb1 5ccdfb1 1 github.com/pkg/errors * v0.8.0 645ef00 645ef00 1 github.com/pmezard/go-difflib * v1.0.0 792786c 792786c 1 github.com/russross/blackfriday * v1.4 0b647d0 0b647d0 1 github.com/satori/go.uuid * v1.1.0 879c588 879c588 1 github.com/serenize/snaker * branch master 1c7f653 1c7f653 1 github.com/sergi/go-diff * branch master feef008 feef008 1 github.com/shurcooL/github_flavored_markdown * branch master 3c64cb3 3c64cb3 1 github.com/shurcooL/go * branch master b9e5dad b9e5dad 4 github.com/shurcooL/go-goon * branch master a0792a0 a0792a0 1 github.com/shurcooL/highlight_diff * branch master 09bb405 09bb405 1 github.com/shurcooL/highlight_go * branch master 78fb10f 78fb10f 1 github.com/shurcooL/octiconssvg * branch master 1aed211 1aed211 1 github.com/shurcooL/sanitized_anchor_name * branch master 541ff5e 541ff5e 1 github.com/sourcegraph/annotate * branch master f4cad6c f4cad6c 1 github.com/sourcegraph/syntaxhighlight * branch master bd320f5 bd320f5 1 github.com/stretchr/testify * v1.1.4 69483b4 69483b4 3 golang.org/x/net * branch master 1f92242 1f92242 3 golang.org/x/sys * branch master 4ed4d40 4ed4d40 1 gopkg.in/yaml.v2 * branch v2 cd8b52f cd8b52f 1 ```

As you can see above there seems to be no constrained on github.com/monoculum/formam

Even when I try to add the following inside of my Gopkg.toml

[[constraint]]
  name = "github.com/monoculum/formam"
  version = "3.0.0"

The only way I managed to fix this is with the help of @bscott by running the commands below

viktorbenei commented 7 years ago

I had the same issue, thanks for the solution @SteveAzz!