create-react-microservice icon indicating copy to clipboard operation
create-react-microservice copied to clipboard

create-react-microservice failing on windows

Open tsukhu opened this issue 7 years ago • 7 comments

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' }

tsukhu avatar Apr 26 '18 08:04 tsukhu

Thank you @tsukhu! @Inkdpixels: May we integrate AppVeyor to prevent windows issues like these?!

kevroadrunner avatar May 09 '18 08:05 kevroadrunner

It would be interesting for us to know which os you were currently using. For example win 10 x64?

c0de1ovr avatar May 09 '18 13:05 c0de1ovr

Windows 8.1 x64

tsukhu avatar May 09 '18 13:05 tsukhu

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.

TheAifam5 avatar Aug 18 '18 11:08 TheAifam5

That problem should be gone for now. :)

TheAifam5 avatar Aug 27 '18 10:08 TheAifam5

@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.

Inkdpixels avatar Aug 27 '18 10:08 Inkdpixels

Great !! waiting for this one ...

tsukhu avatar Aug 27 '18 10:08 tsukhu