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

Syntax error with the new version of minimatch 3.0.5 #155

Closed
pravinsakharakar opened this issue Feb 11, 2022 · 2 comments
Closed

Syntax error with the new version of minimatch 3.0.5 #155

pravinsakharakar opened this issue Feb 11, 2022 · 2 comments

Comments

@pravinsakharakar
Copy link

pravinsakharakar commented Feb 11, 2022

Facing below issue during build, with the latest version of minimatch 3.0.5

/sppproj/spp/ccspp/proj/2203/UXF_2203_FULL_BUILD/omniChannel/bss/widgetstore/bb/widgetstore-client/target/classes/src/businesswidget/build/node_modules/rimraf/node_modules/glob/node_modules/minimatch/minimatch.js:4 |abc.bss.widgetstore:cm-repository-client_l3_common|
2022-02-10 18:16:54.428 [INFO] [exec] const path = (() => { try { return require('path') } catch (e) {}})() || { |abcd.bss.widgetstore:cm-repository-client_l3_common|
2022-02-10 18:16:54.428 [INFO] [exec] ^ |abc.bss.widgetstore:cm-repository-client_l3_common|
2022-02-10 18:16:54.729 [INFO] [exec] SyntaxError: Unexpected identifier |abc.bss.widgetstore:cm-repository-client_l3_common|
2022-02-10 18:16:54.729 [INFO] [exec] at Module._compile (module.js:439:25) |abc.bss.widgetstore:cm-repository-client_l3_common|

Also I see below error in the logs
Fatal error: glob dependency not found, set options.disableGlob = true if intentional |abc.cust.widgetstore:cm-repository-client_l9_common|

Please suggest on this

@creslin287
Copy link

This broke us as well (although it's via a dependency of a dependency of a dependency). Node v0.12.18. Our version of pm2 depends on a version of shelljs, which depends on glob, which depends on ^3.0.4 of minimatch. This arguably breaks semver, IMHO.

Any way we can keep newer style syntax to a new major version of minimatch?

@ljharb
Copy link
Contributor

ljharb commented Feb 13, 2022

Duplicate of #153.

@isaacs isaacs closed this as completed Feb 15, 2022
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

4 participants