react-boilerplate / react-boilerplate-typescript

⚠️ MOVED TO react-boilerplate/react-boilerplate-cra-template

Home Page:https://github.com/react-boilerplate/react-boilerplate-cra-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not working.

adelin-b opened this issue · comments

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