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

Error: "Cannot read property 'concat' of undefined" #19205

Closed
harleysg opened this issue Jun 27, 2020 · 2 comments
Closed

Error: "Cannot read property 'concat' of undefined" #19205

harleysg opened this issue Jun 27, 2020 · 2 comments

Comments

@harleysg
Copy link

Describe what you were doing when the bug occurred:

  1. Click on Reload and start profiliing
  2. Click on Start profiling
  3. Click on Select next commit

Please do not remove the text below this line

DevTools version: 4.7.0-23309eb38

Call stack: at N (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:164715)
at I (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:163849)
at e.getCommitTree (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:166664)
at Ul (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:342328)
at gi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:62450)
at tl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:71793)
at zl (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:113765)
at Ic (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:104502)
at Tc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:104430)
at Dc (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:32:104298)

Component stack: at Ul (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:342099)
at div
at div
at div
at Co (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:263571)
at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:366677
at n (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:276314)
at chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:278724
at div
at div
at Xi (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:325177)
at Ge (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:207026)
at sn (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:216342)
at Va (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:293773)
at us (chrome-extension://fmkadmapgofadopljbjfkapdkoienihi/build/main.js:40:371869)

@ankitgadents
Copy link

I am also getting somewhat same error:

npm run build

> [email protected] build /Users/agade/anktest/plugins/share-cart/assets/js
> react-scripts build

Creating an optimized production build...
Failed to compile.

Cannot read property 'length' of undefined
CompileError: Begins at CSS selector .wcssc-icons-container


npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `react-scripts build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/agade/.npm/_logs/2020-06-28T05_52_02_486Z-debug.log

Seems like issue is with the css. If I do not import any of css in my app and run build, then build executes successfully.

@bvaughn
Copy link
Contributor

bvaughn commented Jun 28, 2020

@harleysg This is a duplicate of #18256. Let's move any repro discussion to that issue.

@ankitgadents The error you posted looks like a very different issue. Not something to do with React :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants