Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
afonseca95 opened this issue Apr 15, 2020 · 0 comments
Open

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

afonseca95 opened this issue Apr 15, 2020 · 0 comments

Comments

@afonseca95
Copy link

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant