• 22-02-2022, 15:30:16
    #1
    Merhaba React'teki bir projeyi düzenledikten sonra web server ıma atmak için npm run build komutunu alıyırum fakat aşağıdaki sıkıntıyla karşılaşıyorum. Problemi nasıl çözebilirim?
    npm run build
    
    > wordle@0.1.0 build
    > BUILD_PATH='./docs' react-scripts build
    
    'BUILD_PATH' is not recognized as an internal or external command,
    operable program or batch file.
  • 24-02-2022, 17:18:50
    #2
    Hocam package.json dosyanızda script alanında build tanımlı mı bakabilir misiniz. Aşağıdaki gibi
    "scripts": {
        "start": "react-scripts start",
        "build": "react-scripts build",
        "test": "react-scripts test",
        "eject": "react-scripts eject"
    }