verb-generate-readme: related is not a function

After getting the latest verb-generate-readme, I’m getting the following error when running verb.

image

I haven’t been able to track it down yet, but it looks like the related helper is being overridden by data (like the pkg.verb object is merge onto app.cache.data someplace).

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (16 by maintainers)

Most upvoted comments

@doowb @jonschlinkert cool! 🎉 it works! great job 😃

@jonschlinkert @tunnckoCore I published normalize-pkg which is where the options were being merged.

I just pulled down the latest verb-generate-readme (to be able to get all the latest dependencies) and my issue is resolved.

I’m going to close this issue. If there are other issues, please create a new issue with the specifics.

Mm nope.

~/dev  
% 1 ❯ nvm use 6.6                                                                                       October 22, 02:36:19
Now using node v6.6.0 (npm v3.10.8)
~/dev  
% ❯ nvm uninstall 6.9                                                                                   October 22, 02:36:26
Uninstalled node v6.9.1
~/dev  
% ❯ nvm install 6.9                                                                                     October 22, 02:36:29
VERSION_PATH=''
Checksums match! Using existing downloaded archive $NVM_DIR/.cache/bin/node-v6.9.1-linux-x64/node-v6.9.1-linux-x64.tar.xz
Now using node v6.9.1 (npm v3.10.8)
~/dev  
% ❯ npm i -g verbose/verb#dev verbose/verb-generate-readme#d64cee3ccccc64aba3fe83ba0357d65e6d1bb231     October 22, 02:36:39
/home/charlike/.nvm/versions/node/v6.9.1/bin/verb -> /home/charlike/.nvm/versions/node/v6.9.1/lib/node_modules/verb/bin/verb.js
/home/charlike/.nvm/versions/node/v6.9.1/lib
├─┬ verb@0.9.0  (git://github.com/verbose/verb.git#20f8a0d36e57a57a3b2faa7a6eea85e3aee4eaa0)

And actually while thinking… it’s normal to not work, haha, because it installs latest versions of the deps.

I have some changes locally that I’ll get pushed up soon.

Cool. Another thing can be to recursively lookup the versions/gitHash of all packages in my 6.6 version hahaha

edit: okey, ping when fix it please, meanwhile i’ll stay with the working copy without changing and uninstalling.