-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Angular 13 build error: ModuleNotFoundError: Module not found: Error: Can't resolve 'process/browser.js' #16896
Comments
Has anyone been able to resolve the issue? This problem prevents us from upgrading to 13 angular and nx workspace 7 versions. |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
The problem is relevant for version 6.5.0-alpha.15
|
Shiver me timbers!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.5.0-alpha.18 containing PR #17249 that references this issue. Upgrade today to the
Closing this issue. Please re-open if you think there's still more to do. |
Ermahgerd!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.4.14 containing PR #17249 that references this issue. Upgrade today to the
|
I was facing a similar issue in angular 13, I updated target to es2015 in tsconfig file and after that my App compiled correctly, hope this solution helps someone else. |
Describe the bug
I just upgraded to Angular 13 and Storybook 6.4.7 now fails to build:
Package versions:
"@angular/cli": "13.0.3",
"@angular/animations": "13.0.2",
"@angular/cdk": "13.0.2",
"@angular/common": "13.0.2",
"@angular/compiler": "13.0.2",
"@angular/core": "13.0.2",
"@angular/forms": "13.0.2",
"@angular/platform-browser": "13.0.2",
"@angular/platform-browser-dynamic": "13.0.2",
"@angular/router": "13.0.2",
"@babel/plugin-transform-typescript": "7.16.1",
"@compodoc/compodoc": "1.1.15",
"@storybook/addon-actions": "6.4.7",
"@storybook/addon-controls": "6.4.7",
"@storybook/addon-essentials": "6.4.7",
"@storybook/addon-jest": "6.4.7",
"@storybook/addon-links": "6.4.7",
"@storybook/angular": "6.4.7",
"@storybook/builder-webpack5": "6.4.7",
"@storybook/manager-webpack5": "6.4.7",
"@babel/core": "7.16.0",
"storybook-addon-grid": "0.0.13",
"storybook-dark-mode": "1.0.8",
"crypto-browserify": "3.12.0",
System
Environment Info:
System:
OS: windows 11
CPU: AMD Ryzen 9 5900HX
Binaries:
Node: v14.17.6
npm: 6.14.15
Browsers:
Chrome: 96.0.4664.45
I found the issues #16795 and webpack/webpack#11467 (comment) but they didn't help me.
The text was updated successfully, but these errors were encountered: