question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Explain that pattern names are bound by the constraints of NPM package names (in create-freesewing-pattern)

See original GitHub issue

I decided to try your framework out to mark up a simple library bag, but couldn’t.

Steps to reproduce

Using get started in seconds instructions:

npm init freesewing-pattern

Expected behavior

Everything installs and we can try it out.

Observed behavior

Crashes asking for Pattern name: and refuses to continue when pressing enter. Only possible to break out with CTRL+C.

Screen Shot 2020-01-17 at 23 19 44

Environment

  • System: Darwin laptop.local 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64
  • npm: 6.13.6
  • node: v12.9.1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
globalcitizencommented, Jan 17, 2020

We should perhaps make it more clear that the name you choose here will become the name of the package

I suggest, instead or as well, making it clear you expect lowercase, or automatically converting to lowercase.

As a new user, knowing nothing about your setup or npm package naming rules, I just want to try the adjustable size pattern thing, and I get stuck at step 1 with no explanation.

0reactions
joostdecockcommented, Jan 25, 2020

Fixed:

cfp

Read more comments on GitHub >

github_iconTop Results From Across the Web

Package name guidelines - npm Docs
Package name guidelines. When choosing a name for your package, choose a name that. is unique; is descriptive; meets npm policy guidelines.
Read more >
Use of @ symbol in Node module names - Stack Overflow
Scoped packages in npm are preceded by an '@' symbol. A scope allows you to create a package with the same name as...
Read more >
validate-npm-package-name - GitHub
package name cannot be the same as a node.js/io.js core module nor a reserved/blacklisted name. For example, the following names are invalid: http;...
Read more >
What is the meaning of -save for NPM install ? - GeeksforGeeks
0, it was necessary to add --save after package name because it will save the installed package to package.json file in the dependency...
Read more >
Avoiding npm substitution attacks - The GitHub Blog
You use scoped packages just like any other module name in package.json ... Any other requests that are not bound to a scope...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found