Describe the bug Project does not start due to To Reproduce Expected behavior Success output. Screenshots Desktop (please complete the following information):
Comments (21)+2 You could just add the
Along with that a badge with the expected node version can be added to the README. +1 @jasonrundell I can see the following line in your terminal output: that mean that you’re getting an error installing the modules, you should upgrade yournode version to at least 10.18.1 , and that could be the minimum required version, this could be added to the readme.I feel that if you upgrade you will not have any problem again. +1 Maybe a windows thing? Potentially a npm/node versioning
issue? I just tried a clean clone of the repo and did Upgraded to node version
Ok, so should the README declare the minimum version of node to be 10.18.1?
That’s exactly the reason because I’m using
version 1.22.5
That seems like the underlying problem. Are you on yarn-v1 or yarn-v2?
I get no node_modules after running
Any hard-coded path implies an OS
(windows has the opposite path separators). I would expect a lot of this to be handled by I don’t have I’m using @hipstersmoothie can confirm that installing TypeScript locally is what corrects this error. Can I PR in a README change to help new users make sure they have the pre-requisite software installed as global libraries on their machine before they use the design systems cli? Just an update that I also can reproduce the same error on my work Mac
What happens if you type
Ok interesting. I’m using a fresh Windows after adding all new hardware. I’m going to start digging into this issue this week. I have tested this on Windows 10 Home / Pro, Mac and Linux (Ubuntu), everything is running fine for me, no errors following the indicated steps. I would like to work on this issue, I can test the solution in both platforms @hipstersmoothie which approach do you prefer?
If you want to add this to hacktoberfest I can try and submit a PR for the fix. How do you fix yarn not recognized?To solve the error "'yarn' is not recognized as an internal or external command, operable program or batch file", install the yarn package globally by running npm install -g yarn , restart your terminal and make sure your PATH environment variable is set up correctly.
How do I run a yarn command in Windows?Install Yarn on Windows Server via the MSI Installer. Locate and double-click on the downloaded package. ... . A new welcome wizard will pop up for the Yarn install setup. ... . The next screen displays the license agreement details. ... . To complete the Yarn package installation, click Install.. Can I install yarn with npm?The Yarn maintainers recommend installing Yarn globally by using the NPM package manager, which is included by default with all Node. js installations. Use the -g flag with npm install to do this: sudo npm install -g yarn.
How do you use yarn commands?yarn install: this command will install all the dependencies that is defined in a package. json file. once you have the package. json file for a project, all you need to do, is to go to your terminal and run npm install.. yarn add.. yarn init.. yarn install.. yarn publish.. yarn remove.. |