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

TypeError: Cannot read property 'name' of undefined #1056

Closed
tjorim opened this issue May 8, 2020 · 7 comments
Closed

TypeError: Cannot read property 'name' of undefined #1056

tjorim opened this issue May 8, 2020 · 7 comments
Assignees

Comments

@tjorim
Copy link

tjorim commented May 8, 2020

Describe the bug A clear and concise description of what the bug is.

error  in ./node_modules/animate.css/animate.css
TypeError: Cannot read property 'name' of undefined

To Reproduce Steps to reproduce the behavior:

  1. yarn install
  2. yarn run build
  3. See error

Expected behavior A clear and concise description of what you expected to happen.
No errors

@cwwcwwcww
Copy link

I had the same problem

@eltonmesquita
Copy link
Collaborator

Please provide more details on the problem. Which builds tools you're using, etc.

Next time please read and use the issue template provided and not just delete parts of it .

@windware-ono
Copy link

windware-ono commented May 10, 2020

Having same issue with Parcel 1.12.4 with animate.css 4.0.0. (Node.js 12.16.3 on Linux)
The whole bundling process stops with this error.
This also happens with animate.compat.css.

I have,
require('animate.css/animate.min.css')
in the entry point script.

node_modules/animate.css/animate.min.css:undefined:undefined: Cannot read property 'name' of undefined
     at Object.<anonymous> (node_modules/animate.css/postcss.config.js:12:55)
     at Module._compile (node_modules/v8-compile-cache/v8-compile-cache.js:194:30)
     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
     at Module.load (internal/modules/cjs/loader.js:977:32)
     at Function.Module._load (internal/modules/cjs/loader.js:877:14)
     at Module.require (internal/modules/cjs/loader.js:1019:19)
     at require (node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
     at Object.load (node_modules/parcel-bundler/src/utils/config.js:40:22)
     at async getConfig (node_modules/parcel-bundler/src/transforms/postcss.js:25:16)
     at async module.exports (node_modules/parcel-bundler/src/transforms/postcss.js:11:16)

Compiles fine with 3.7.2.

@eltonmesquita
Copy link
Collaborator

Thanks @ws-h-ono , I've got to reproduce it. I'm investigating the problem, should there be a fix soon.

@eltonmesquita
Copy link
Collaborator

Please, upgrade to the new version and check if it fixes the issue. I'd be glad if I had any feedback on this @tjorim, @seaaaaaaa and @ws-h-ono

@tjorim
Copy link
Author

tjorim commented May 11, 2020 via email

@windware-ono
Copy link

Working now too, thank you.

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