Skip to content

Module not found: Can't resolve 'react-final-form' #19

@afonseca95

Description

@afonseca95

Hi, I am trying to use this library, but when import import { Form, Field } from 'react-final-form' show this message:
Failed to compile.

./src/components/InputPage1/ContentInputPage1.tsx
Module not found: Can't resolve 'react-final-form' in '/Users/afonseca/Desktop/hcw/hcw/src/components/InputPag

I try removing the package-lock.json and enter npm install and npm start but is not working.

This is my package.json
{
"name": "hcw",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@types/jest": "^25.1.4",
"@types/node": "^13.9.8",
"@types/react": "^16.9.29",
"@types/react-dom": "^16.9.5",
"axios": "^0.19.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-redux": "^7.1.3",
"react-scripts": "3.4.1",
"react-semantic-ui-datepickers": "^2.4.0",
"semantic-ui-css": "^2.4.1",
"semantic-ui-react": "^0.88.2",
"typescript": "^3.8.3"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}

Thank such much .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions