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

Opossum with Angular 6 #246

Closed
jot-hub opened this issue Dec 13, 2018 · 2 comments
Closed

Opossum with Angular 6 #246

jot-hub opened this issue Dec 13, 2018 · 2 comments
Assignees

Comments

@jot-hub
Copy link

jot-hub commented Dec 13, 2018

Node.js Version:
v10.11.0

Operating System:
Windows 10

Steps to Produce Error:
I updated the angular5 example in the repo to angular 6 in a fork:
see a00ab91 in https://github.com/jot-hub/opossum/tree/master/examples/angular5

Error:
C:\......\opossum\examples\angular5> ng build --progress=false returns the following error

ERROR in ./node_modules/opossum/lib/hystrix-stats.js
Module not found: Error: Can't resolve 'stream' in 'C:\......\opossum\examples\angular5\node_modules\opossum\lib'
@jot-hub
Copy link
Author

jot-hub commented Dec 13, 2018

#182

@helio-frota helio-frota self-assigned this Jan 9, 2019
@lance lance added the backlog label Jan 9, 2019
@helio-frota
Copy link
Member

@jot-hub Hi, thanks for report this.

Looks like this is not related to opossum:
DevExpress/devextreme-angular#776

I'm using your fork and after apply the suggestion I saw that the error is gone.

But a new one is showing:

✔ ~/Desktop/opossum/examples/angular5 [master|✚ 3] 
13:35 $ npm install stream --save
npm WARN bootstrap@4.1.3 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself.
npm WARN bootstrap@4.1.3 requires a peer of popper.js@^1.14.3 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+ stream@0.0.2
added 2 packages from 1 contributor and audited 39620 packages in 9.141s
found 21 vulnerabilities (1 low, 17 moderate, 3 high)
  run `npm audit fix` to fix them, or `npm audit` for details
✔ ~/Desktop/opossum/examples/angular5 [master|✚ 4] 
13:37 $ ng build --progress=false
Your global Angular CLI version (7.2.0) is greater than your local
version (6.2.4). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".
ENOENT: no such file or directory, open '/home/hf/Desktop/opossum/examples/angular5/src/angular.html'
Error: ENOENT: no such file or directory, open '/home/hf/Desktop/opossum/examples/angular5/src/angular.html'

I'm going to close this issue for now.
I'm not 100% sure but I think the new is related to angular6 example configuration.

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

3 participants