You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
generally I love the idea, but never got to actually use it.
every year I come back and give yoeman a try, especially when I work for a new customer and have to provide them with a boilerplate for a microservice architecture or something of that sort, and unfortunately, have to makedo without.
Here's my recent experience.
Summary:
Installed globally yo and some random generator (in my case venv).
tried to use it
it failed - complained about not finding the file in the template.
listing the dir works, and listing the file specifically works. wtf...
ran doctor, tried to follow the advise.
it still fails.
Here's the full console session.
Using nodist, and gnu-on-windows (gow).
full output
C:\sandbox>node -v
v12.18.4
C:\sandbox>npm -v
7.5.6
C:\sandbox>npm i -g yo generator-venv --registry https://registry.npmjs.org
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
added 1206 packages, and audited 1255 packages in 54s
59 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
C:\sandbox>yo venv
? ==========================================================================
We're constantly looking for ways to make yo better!
May we anonymously report usage statistics to improve the tool over time?
More info: https://github.com/yeoman/insight & http://yeoman.io
========================================================================== No
_-----_ ╭───────────────────╮
| | │ Welcome To Yo │
|--(o)--| │ Venv Generator │
`---------´ │ Developed By : │
( _´U`_ ) │ Hossam Hilal │
/___A___\ /╰───────────────────╯
| ~ |
__'.___.'__
´ ` |° ´ Y `
? What is the name of your project? (sandbox) Run-async wrapped function (sync) returned a promise but async() callback must be executed to resolve.
? What is the name of your project? testyoman
? What is a description of your project f
? What version is your project? (hint: use semver like 0.0.0) 0.0.0
? How is your project licensed? MIT
? What is the author name? me
? What is the author email? me@thee.cc
? Which additional features would you like to include? Bootstrap
? Check the features needed for your project: Babel, Router, Axios
Error venv
Trying to copy from a source that does not exist: C:\Program Files (x86)\Nodist\bin\node_modules\generator-venv\app\templates/babel.config.js
C:\sandbox>ls -la "C:\Program Files (x86)\Nodist\bin\node_modules\generator-venv\app\templates"
total 92
drw-rw-rw- 6 user 0 4096 2021-04-22 20:54 .
drw-rw-rw- 3 user 0 0 2021-04-22 20:54 ..
-rw-rw-rw- 1 user 0 214 1985-10-26 11:15 .editorconfig
-rw-rw-rw- 1 user 0 573 1985-10-26 11:15 .eslintrc.js
-rw-rw-rw- 1 user 0 1550 1985-10-26 11:15 .jshintrc
-rw-rw-rw- 1 user 0 2012 1985-10-26 11:15 App.vue
-rw-rw-rw- 1 user 0 66 1985-10-26 11:15 babel.config.js
drw-rw-rw- 2 user 0 0 2021-04-22 20:54 components
-rw-rw-rw- 1 user 0 1025 1985-10-26 11:15 config.js
-rw-rw-rw- 1 user 0 4286 1985-10-26 11:15 favicon.ico
-rw-rw-rw- 1 user 0 780 1985-10-26 11:15 index.html
-rw-rw-rw- 1 user 0 60 1985-10-26 11:15 jest.config.js
-rw-rw-rw- 1 user 0 11286 1985-10-26 11:15 logo.png
-rw-rw-rw- 1 user 0 430 1985-10-26 11:15 main.js
-rw-rw-rw- 1 user 0 358 1985-10-26 11:15 main.ts
-rw-rw-rw- 1 user 0 500 1985-10-26 11:15 modernizr.json
-rw-rw-rw- 1 user 0 1851 1985-10-26 11:15 package.json
-rw-rw-rw- 1 user 0 287 1985-10-26 11:15 README.md
drw-rw-rw- 2 user 0 0 2021-04-22 20:54 router
-rw-rw-rw- 1 user 0 304 1985-10-26 11:15 shims-tsx.d.ts
-rw-rw-rw- 1 user 0 72 1985-10-26 11:15 shims-vue.d.ts
drw-rw-rw- 2 user 0 0 2021-04-22 20:54 store
-rw-rw-rw- 1 user 0 683 1985-10-26 11:15 tsconfig.json
drw-rw-rw- 2 user 0 0 2021-04-22 20:54 views
-rw-rw-rw- 1 user 0 643 1985-10-26 11:15 webpack.config.js
C:\sandbox>ls -la "C:\Program Files (x86)\Nodist\bin\node_modules\generator-venv\app\templates/babel.config.js"
-rw-rw-rw- 1 user 0 66 1985-10-26 11:15 C:\Program Files (x86)\Nodist\bin\node_modules\generator-venv\app\templates/babel.config.js
C:\sandbox>yo doctor
Yeoman Doctor
Running sanity checks on your system
√ No .bowerrc file in home directory
√ Global configuration file is valid
× NODE_PATH matches the npm root
Unable to find the npm root, something went wrong.
Try to execute npm -g root --silent on your command-line
√ No .yo-rc.json file in home directory
√ Node.js version
√ npm version
√ yo version
Found potential issues on your machine :(
C:\sandbox>npm -g root
C:\Program Files (x86)\Nodist\bin\node_modules
C:\sandbox>npm -g root --silent
C:\Program Files (x86)\Nodist\bin\node_modules
C:\sandbox>yo venv
_-----_ ╭───────────────────╮
| | │ Welcome To Yo │
|--(o)--| │ Venv Generator │
`---------´ │ Developed By : │
( _´U`_ ) │ Hossam Hilal │
/___A___\ /╰───────────────────╯
| ~ |
__'.___.'__
´ ` |° ´ Y `
? What is the name of your project? (sandbox) Run-async wrapped function (sync) returned a promise but async() callback must be executed to resolve.
? What is the name of your project? testyo
? What is a description of your project f
? What version is your project? (hint: use semver like 0.0.0) 0.0.0
? How is your project licensed? MIT
? What is the author name? me
? What is the author email? me@me.c
? Which additional features would you like to include? Bootstrap
? Check the features needed for your project: Babel, Router, Axios
Error venv
Trying to copy from a source that does not exist: C:\Program Files (x86)\Nodist\bin\node_modules\generator-venv\app\templates/babel.config.js
C:\sandbox>
The text was updated successfully, but these errors were encountered:
generally I love the idea, but never got to actually use it.
every year I come back and give yoeman a try, especially when I work for a new customer and have to provide them with a boilerplate for a microservice architecture or something of that sort, and unfortunately, have to makedo without.
Here's my recent experience.
Summary:
yo
and some random generator (in my casevenv
).it failed - complained about not finding the file in the template.
it still fails.
Here's the full console session.
Using nodist, and gnu-on-windows (gow).
full output
The text was updated successfully, but these errors were encountered: