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.

Uppercase in project name creates problem

See original GitHub issue

Having "name": "MyProject" in package.json creates following problem:

String does not match the pattern of “^(?😡[a-z0-9-~][a-z0-9-.~]*/)?[a-z0-9-~][a-z0-9-.~]*$”.

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
jasmingohcommented, Jun 6, 2019

Thanks for reporting @neminovno

Just to add more context, here are the steps to reproduce:

  1. In the Welcome page of the extension, put “MyProject” as the Project Name.
  2. Step through all other steps
  3. Open the generated project, and go to package.json. image
1reaction
SahilTaracommented, Jun 7, 2019

Hmm perhaps when we get the kebab case going for angular we can utilize the solution to fix this as well

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why can't React project name contain capital letters?
It's mostly because NPM doesn't allow capital letters. So to ensure compatibility with the naming scheme of NPM they ...
Read more >
Project name being changed to uppercase during compile
I explicity have code which enforces the name to be lower case. In particular, in a file called "ModuleName.
Read more >
GitLab pages creates incorrect link for projects with uppercase ...
GitLab pages has started creating a link to pages with an all lowercase URL, but the server is case sensitive, so projects with...
Read more >
Malfomed Manifest when having uppercase characters in ...
Android project. Creating a new project with a package name starting with an uppercase character builds and deploys fine. Once we add a...
Read more >
When creating a new-project, I get a error creating names with ...
Issue. While creating projects with Upper case or contains special ... The ProjectRequest "Test" is invalid: metadata.name: Invalid value: ...
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