Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Not working. #76

Open
adelin-b opened this issue Oct 26, 2020 · 0 comments
Open

Not working. #76

adelin-b opened this issue Oct 26, 2020 · 0 comments

Comments

@adelin-b
Copy link

Description

The boilerplate is not generated

Steps to reproduce

npx create-react-app --template cra-template-rb myapp-test
docker run --interactive -t node npx create-react-app --template cra-template-rb myapp-test

/myapp-test/node_modules/react-scripts/scripts/utils/verifyTypeScriptSetup.js:231
        appTsConfig.compilerOptions[option] = suggested;
                                            ^

TypeError: Cannot add property noFallthroughCasesInSwitch, object is not extensible
    at verifyTypeScriptSetup (/myapp-test/node_modules/react-scripts/scripts/utils/verifyTypeScriptSetup.js:231:45)
    at module.exports (/myapp-test/node_modules/react-scripts/scripts/init.js:336:5)
    at [eval]:3:14
    at Script.runInThisContext (vm.js:122:20)
    at Object.runInThisContext (vm.js:329:38)
    at Object.<anonymous> ([eval]-wrapper:6:22)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at evalScript (internal/bootstrap/node.js:590:27)
    at startup (internal/bootstrap/node.js:265:9)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)

Aborting installation.
  node  has failed.

Deleting generated file... node_modules
Deleting generated file... package.json
Deleting generated file... yarn.lock
Done.

Expected behavior
Should be working

Versions

  • React-Boilerplate: npx one, must be latest
  • Node/NPM: latest
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

1 participant