Skip to content
This repository was archived by the owner on Jul 11, 2018. It is now read-only.
This repository was archived by the owner on Jul 11, 2018. It is now read-only.

Module not found react.directive.js #28

@marko033

Description

@marko033

I install package:
npm install @ngui/ngui @types/googlemaps @types/hammerjs --save-dev
import NguiModule to app.module.ts

and then i get:

Failed to compile.

.//@ngui/react/dist/react.directive.js
Module not found: Error: Can't resolve 'react' in 'C:...\app\node_modules@ngui\react\dist'
@ ./
/@ngui/react/dist/react.directive.js 12:12-28
@ .//@ngui/react/dist/index.js
@ ./
/@ngui/ngui/dist/ngui.module.js
@ ./~/@ngui/ngui/dist/index.js
@ ./src/app/app.module.ts
@ ./src/main.ts
@ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts

how can i fix this error?

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