Closed chertkovalex closed 5 years ago
Hi! Both on Windows and Mac, while running create-react-app --scripts-version @f1lt3r/react-scripts app-foo, I'm getting an error:
create-react-app --scripts-version @f1lt3r/react-scripts app-foo
internal/modules/cjs/loader.js:582 throw err; ^ Error: Cannot find module 'react-dev-utils/chalk' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15) at Function.Module._load (internal/modules/cjs/loader.js:506:25) at Module.require (internal/modules/cjs/loader.js:636:17) at require (internal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (/Users/alexc/dev/app-foo/node_modules/@f1lt3r/react-scripts/scripts/init.js:19:15) at Module._compile (internal/modules/cjs/loader.js:688:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10) at Module.load (internal/modules/cjs/loader.js:598:32) at tryModuleLoad (internal/modules/cjs/loader.js:537:12) at Function.Module._load (internal/modules/cjs/loader.js:529:3) Aborting installation. node has failed. Deleting generated file... node_modules Deleting generated file... package.json Deleting generated file... yarn.lock Deleting app-foo/ from /Users/alexc/dev Done.
Can you suggest how to fix it quickly please? :pray:
create-react-app --scripts-version @f1lt3r/react-scripts@2.1.1-workspaces-04 app-foo
Thanks a lot! 👏 It worked. But could you please modify the readme?
Great! Updated docs.
Hi! Both on Windows and Mac, while running
create-react-app --scripts-version @f1lt3r/react-scripts app-foo
, I'm getting an error:Can you suggest how to fix it quickly please? :pray: