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.

create-react-microservice failing on windows

See original GitHub issue

Describe the problem:

create-react-microservice failing on windows

Steps to reproduce:

Run create-react-microservice to create a mono-repo on a Windows machine

Observed Results:

  • What happened? This could be a description, log output, etc.
create-react-microservice test-ui-microservice
? What is the preffered license for the mono repository and its packages? (Use a
rrow keys)
> Unlicense
? What is the preffered license for the mono repository and its packages? MIT
? What is the NPM organization scope for the mono repositories packages? @TFG
? What is the NPM organization scope for the mono repositories packages? @tfg/
? What is the git repository URL for the mono repositories packages? https://github.com/ERS-HCL/react-microservice.git
? What is the git repository URL for the mono repositories packages? https://git
hub.com/ERS-HCL/react-microservice.git
{ Error: E:\workspace\test-ui-microservice\E:\Users\tsukhu\AppData\Local\Yarn\Data\global\node_modules\create-react-microservice-scaffold\src\__tests__ contains invalid WIN32 path characters.
    at Object.mkdirs (E:\Users\tsukhu\AppData\Local\Yarn\Data\global\node_modules\fs-extra\lib\mkdirs\mkdirs.js:18:22)
    at Object.mkdirs (E:\Users\tsukhu\AppData\Local\Yarn\Data\global\node_modules\universalify\index.js:5:67)
    at pathExists (E:\Users\tsukhu\AppData\Local\Yarn\Data\global\node_modules\fs-extra\lib\output\index.js:20:11)
    at fn.apply.then.r (E:\Users\tsukhu\AppData\Local\Yarn\Data\global\node_modules\universalify\index.js:23:46)
    at <anonymous> code: 'EINVAL' }

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
Inkdpixelscommented, Aug 27, 2018

@TheAifam5 Not yet unfortunately, the fix is merged but the release was not automatically triggered. Will fix it this evening hopefully and close this issue once the dependency tree has been updated.

1reaction
TheAifam5commented, Aug 18, 2018

Its just a problem with ‘E:\workspace\test-ui-microservice\E:\Users\tsukhu\AppData\Local\Yarn\Data\global\node_modules\create-react-microservice-scaffold\src_tests_’

Just simply read an error and this issue could be patched in max 30 minutes. I’m gonna make a pull request for that.

EDIT: The problem is with a package: https://github.com/ImmoweltGroup/create-any-cli

I’m gonna create a issue there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

create-react-app Failing to create a new ... - Stack Overflow
I was faced this same problem . It is due to the issue with npm . please run the following command in command...
Read more >
Create an ASP.NET Core app with React in Visual Studio
In this article, you learn how to build an ASP.NET Core project to act as an API backend and a React project to...
Read more >
Handling runtime environment variables in create-react-apps
A new package called runtime-env-cra allows you to handle environment variables in quick and easy way with create-react-apps.
Read more >
Microfrontends With React - DEV Community ‍ ‍
All we know about Microservices, which helps to develop, ... Tagged with react, microfrontends, javascript. ... App'; window.
Read more >
Frequently Asked Questions - Single SPA
Good microservices are completely independent, and this pattern breaks that. ... Can I have only one version of (React, Vue, Angular, etc.) loaded?​....
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