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

build error in new version @nrwl/angular ^v14.7-v15.0 #12655

Closed
himyjan opened this issue Oct 17, 2022 · 2 comments
Closed

build error in new version @nrwl/angular ^v14.7-v15.0 #12655

himyjan opened this issue Oct 17, 2022 · 2 comments

Comments

@himyjan
Copy link

himyjan commented Oct 17, 2022

Current Behavior

Expected Behavior

Steps to Reproduce

repo

https://github.com/himyjan/analog/tree/patch-3

pr

analogjs/analog#110

yarn;yarn run build

This issue may not be prioritized if details are not provided to help us reproduce the issue.

Failure Logs

@nrwl/angular package version
v14.6.4 build work

v14.7.18 build not work
v14.8.4 build not work
v15.0.0 build not work
image

/Users/user/Desktop/analog/node_modules/@nrwl/js/src/utils/package-json/update-package-json.js:51
        exports['.']['require'] = cjsMain;
                                ^

TypeError: Cannot create property 'require' on string './src/index.js'
    at getUpdatedPackageJsonContent (/Users/user/Desktop/analog/node_modules/@nr

after comment code build work
image

Environment

   Node : 18.11.0
   OS   : darwin arm64
   yarn : 1.22.19
   
   nx : 15.0.0
   @nrwl/angular : 15.0.0
   @nrwl/cypress : 15.0.0
   @nrwl/detox : Not Found
   @nrwl/devkit : 15.0.0
   @nrwl/esbuild : Not Found
   @nrwl/eslint-plugin-nx : 15.0.0
   @nrwl/expo : Not Found
   @nrwl/express : Not Found
   @nrwl/jest : 15.0.0
   @nrwl/js : 15.0.0
   @nrwl/linter : 15.0.0
   @nrwl/nest : Not Found
   @nrwl/next : Not Found
   @nrwl/node : Not Found
   @nrwl/nx-cloud : Not Found
   @nrwl/nx-plugin : Not Found
   @nrwl/react : Not Found
   @nrwl/react-native : Not Found
   @nrwl/rollup : Not Found
   @nrwl/schematics : Not Found
   @nrwl/storybook : 15.0.0
   @nrwl/web : Not Found
   @nrwl/webpack : 15.0.0
   @nrwl/workspace : 15.0.0
   typescript : 4.8.4
   ---------------------------------------
   Local workspace plugins:
   ---------------------------------------
   Community plugins:
   	 @nx-plus/docusaurus: 14.1.0
@himyjan himyjan changed the title build error in new version @nrwl/angular ^v14.6 build error in new version @nrwl/angular ^v14.6-v15.0 Oct 17, 2022
@himyjan himyjan changed the title build error in new version @nrwl/angular ^v14.6-v15.0 build error in new version @nrwl/angular ^v14.7-v15.0 Oct 17, 2022
@leosvelperez
Copy link
Member

Thanks for reporting this!

A fix has already been merged for it #12613 and it should be released soon. Please keep an eye on the releases to get it.

@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants