Skip to content

Can't run the example #13

@danielo515

Description

@danielo515

Hello,

I'm trying to run your example, but I'm getting a plethora of errors.

What I do is

git clone "thisRepoUrl"
cd react-joi-forms
npm i
npm run example

The errors are about unexpected token loading the package.json of joi

ERROR in ../~/joi/package.json
Module parse failed: /Users/danielo/node_modules/joi/package.json Unexpected token (2:9)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (2:9)


.....


RROR in ../~/joi/lib/string.js
Module not found: Error: Cannot resolve module 'react-hot' in /Users/danielo/node_modules/joi/lib
 @ ../~/joi/lib/string.js 5:12-26

ERROR in ../~/isemail/lib/index.js
Module not found: Error: Cannot resolve module 'react-hot' in /Users/danielo/node_modules/isemail/lib
 @ ../~/isemail/lib/index.js 5:12-26

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions