[question] - node version
huahuayu opened this issue · 2 comments
huahuayu commented
env
~ yo --version && echo $PATH $NODE_PATH && node -e 'console.log(process.platform, process.versions)' && cat Gruntfile.js
2.0.5
/Users/shiming/Downloads/sonarqube-6.7.6/bin/macosx-universal-64:/Users/shiming/Downloads/sonar-scanner-3.3.0.1492-macosx/bin:/Users/shiming/fabric-samples/bin:/usr/local/Cellar/grafana/5.4.3/bin:/usr/local/Cellar/python/3.7/bin:/usr/local/Cellar/python/3.7.1/bin:/usr/local/mysql/bin:/Users/shiming/Nutstore/5-goland/bin:/bin/:/Users/shiming/Downloads/sonarqube-6.7.6/bin/macosx-universal-64:/Users/shiming/Downloads/sonar-scanner-3.3.0.1492-macosx/bin:/Users/shiming/fabric-samples/bin:/Users/shiming/.nvm/versions/node/v8.15.1/bin:/usr/local/Cellar/grafana/5.4.3/bin:/usr/local/Cellar/python/3.7/bin:/usr/local/Cellar/python/3.7.1/bin:/usr/local/mysql/bin:/Users/shiming/Nutstore/5-goland/bin:/bin/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin
darwin { http_parser: '2.8.0',
node: '8.15.1',
v8: '6.2.414.75',
uv: '1.23.2',
zlib: '1.2.11',
ares: '1.10.1-DEV',
modules: '57',
nghttp2: '1.33.0',
napi: '3',
openssl: '1.0.2r',
icu: '60.1',
unicode: '10.0',
cldr: '32.0',
tz: '2017c' }
cat: Gruntfile.js: No such file or directory
question
when using generator-generator
what should I put in Enter Node versions
option? it's my local node version or what? what it is used for?
shiming@pro ➜ ~ yo generator
? Your generator name generator-gogin
Your generator must be inside a folder named generator-gogin
I'll automatically create this folder.
? Description Generates a golang server with gin
? Project homepage url https://github.com/huahuayu/gogin-yeoman
? Author's Name shiming
? Author's Email codingmylife@gmail.com
? Author's Homepage https://github.com/huahuayu
? Package keywords (comma to split) go,golang,gin
? Send coverage reports to coveralls Yes
? Enter Node versions (comma separated)
SBoudrias commented
The Node.js version is used to determine which Node version you want to test against on Travis CI.
huahuayu commented
Get it!