trailsjs / trails

:evergreen_tree: Modern Web Application Framework for Node.js.
http://trailsjs.io
Other
1.66k stars 70 forks source link

Yo Trails Mongoose fails with No compatible version found error #307

Open Math3v opened 6 years ago

Math3v commented 6 years ago

Issue Description

yo trails command with express and mongoose configuration fails with this error:

npm ERR! Darwin 17.0.0
npm ERR! argv "/Users/matej/.nvm/versions/node/v6.11.4/bin/node" "/Users/matej/.nvm/versions/node/v6.11.4/bin/npm" "install" "trailpack-express@v2-latest" "trailpack-mongoose@v2-latest" "trailpack-footprints@v2-latest" "express@4" "--save" "--silent" "--loglevel=error"
npm ERR! node v6.11.4
npm ERR! npm  v3.10.10
npm ERR! code ETARGET

npm ERR! notarget No compatible version found: trailpack-mongoose@v2-latest
npm ERR! notarget Valid install targets:
npm ERR! notarget 2.1.1, 2.1.0, 2.0.0, 1.0.1, 1.0.0, 0.4.4, 0.4.3, 0.4.2, 0.4.1, 0.4.0, 0.3.0, 0.2.2, 0.2.0, 0.1.0
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/matej/dev/trails-sampl/npm-debug.log

Environment

ReeceLangerock commented 6 years ago

Having the same error

npm ERR! Linux 4.10.0-37-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "trailpack-express@v2-latest" "trailpack-mongoose@v2-latest" "trailpack-footprints@v2-latest" "express@5.0.0-alpha.2" "--save" "--silent" "--loglevel=error" npm ERR! node v6.10.3 npm ERR! npm v3.10.10 npm ERR! code ETARGET

npm ERR! notarget No compatible version found: trailpack-mongoose@v2-latest npm ERR! notarget Valid install targets: npm ERR! notarget 2.1.1, 2.1.0, 2.0.0, 1.0.1, 1.0.0, 0.4.4, 0.4.3, 0.4.2, 0.4.1, 0.4.0, 0.3.0, 0.2.2, 0.2.0, 0.1.0 npm ERR! notarget npm ERR! notarget This is most likely not a problem with npm itself. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist.