Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Not working for scoped packages #3

Closed
seangenabe opened this issue Apr 11, 2019 · 6 comments
Closed

Not working for scoped packages #3

seangenabe opened this issue Apr 11, 2019 · 6 comments
Assignees
Labels

Comments

@seangenabe
Copy link

The package doesn't work when using scoped packages. When it sees a slash, it thinks it's a GitHub URL.

@boneskull
Copy link
Owner

can you please provide an example?

@kirillgroshkov
Copy link

We need it too! Example:

npm init yo @naturalcycles/nodejs-lib

@boneskull
Copy link
Owner

thanks, I'll look into this

@boneskull boneskull self-assigned this Jul 23, 2019
@boneskull
Copy link
Owner

🎉 This issue has been resolved in version 1.1.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@kirillgroshkov
Copy link

Oh nice, I'll test it out, thanks!

@kirillgroshkov
Copy link

kirillgroshkov commented Jul 28, 2019

I tried it and it didn't work. Here's the log:

npm init yo @naturalcycles/generator-nodejs-lib                                                    9.12 Dur
npx: installed 15 in 3.499s
Error @naturalcycles/generator-nodejs-lib 

You don't seem to have a generator with the name “@naturalcycles/generator-nodejs-lib” installed.
But help is on the way:

You can see available generators via npm search yeoman-generator or via http://yeoman.io/generators/. 
Install them with npm install @naturalcycles/generator-generator-nodejs-lib.

To see all your installed generators run yo without any arguments. Adding the --help option will also show subgenerators. 

If yo cannot find the generator, run yo doctor to troubleshoot your system.
✔ create-yo ok!
npm --version
6.10.2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants