Skip to content
\n
    \"build\": \"react-scripts build\",\n
\n

Error:

\n
TypeScript error in /home/runner/work/xxxxxxxx/src/components/input/groups/PeriodFilter.tsx(17,14):\nJSX element class does not support attributes because it does not have a 'props' property.  TS2607\n\n<LabeledInput\n icon=\"fa fa-calendar\"\n label={<FormattedMessage id=\"TIME_PERIOD\" />}\n        ^\n>\n<PeriodSelect\nperiodOptions={periodOptions}\n
\n

Github Action:

\n
name: Deploy\n\non:\n  push:\n    branches:\n      - master\n\nenv:\n  ACTIONS_ALLOW_UNSECURE_COMMANDS: true\n\njobs:\n  deploy:\n\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    steps:\n      - uses: actions/checkout@v2\n      - name: Use Node.js\n        uses: actions/setup-node@v2-beta\n        with:\n          node-version: '12'\n          check-latest: true\n      - run: rm -rf node_modules/\n      - run: npm install --production\n      - run: npm run build\n        env:\n          CI: \"\"\n      - run: curl -s https://get.simplelocalize.io | bash\n...\n
","upvoteCount":4,"answerCount":6,"acceptedAnswer":{"@type":"Answer","text":"

I fixed it by replacing npm install with npm ci

","upvoteCount":15,"url":"https://github.com/facebook/create-react-app/discussions/10220#discussioncomment-1041811"}}}
Discussion options

You must be logged in to vote

I fixed it by replacing npm install with npm ci

Replies: 6 comments 10 replies

Comment options

You must be logged in to vote
2 replies
@jpomykala
Comment options

@nimit2801
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jpomykala
Comment options

You must be logged in to vote
4 replies
@MykolaSeletskyi
Comment options

@calvinlf
Comment options

@huntzinger92
Comment options

@ViniciusLima7
Comment options

Comment options

You must be logged in to vote
3 replies
@trevor-rex
Comment options

@bacaxnot
Comment options

@ShadyAkhtar
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Thunderlol4444
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet