You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 11, 2018. It is now read-only.
To anyone else facing this issue, you will have to npm install react. I know it's not something one thinks of when working with an Angular 2 UI library, but react is listed as a dependency. To resolve this issue, run the following command: npm install react react-dom --save
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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/@ngui/react/dist/react.directive.js 12:12-28Module not found: Error: Can't resolve 'react' in 'C:...\app\node_modules@ngui\react\dist'
@ ./
@ ./
/@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?
The text was updated successfully, but these errors were encountered: