Skip to content
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.

Path /usr/local/lib/node_modules/create-react-library/template/default/.editorconfig is not in cwd #212

Closed
BertieGo opened this issue Mar 31, 2020 · 4 comments

Comments

@BertieGo
Copy link

create-react-library
? Package Name rc-i18n
? Package Description Made with create-react-library
? Author's GitHub Handle
? GitHub Repo Path /rc-i18n
? License MIT
? Package Manager npm
? Template default
Error: Path /usr/local/lib/node_modules/create-react-library/template/default/.editorconfig is not in cwd /Users/huangwei/learn/npm
    at ensureAbsolutePathForCwd (/usr/local/lib/node_modules/create-react-library/node_modules/globby/gitignore.js:52:9)
    at p (/usr/local/lib/node_modules/create-react-library/node_modules/globby/gitignore.js:59:55)
    at arrayUnion.filter.path_ (/usr/local/lib/node_modules/create-react-library/node_modules/globby/index.js:135:47)
    at Array.filter (<anonymous>)
    at module.exports (/usr/local/lib/node_modules/create-react-library/node_modules/globby/index.js:135:30)
    at process._tickCallback (internal/process/next_tick.js:68:7)

node version:

node -v
v10.16.0
@teehtheg
Copy link

I'm experiencing the exact same issue with slightly different library setup (i.e. npm & typescript)

@sidv93
Copy link

sidv93 commented Mar 31, 2020

Experiencing the same error with node 12.16.1

@ninjaPixel
Copy link

ninjaPixel commented Mar 31, 2020

I'm also getting this with node 12.15.0 (I chose yarn and template default for the options)

@transitive-bullshit
Copy link
Owner

Sorry; this was a mistake on my part. Please try upgrading to v3.0.4 and let me know if this is fixed for you.

Please follow up in #213 to keep the discussion focused.

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants