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

Presence of .DS_Store dotfiles (Mac) in arches/app/media/js breaks webpack build #11094

Closed
jacobtylerwalls opened this issue Jun 26, 2024 · 0 comments · Fixed by #11203
Closed
Labels
Type: Bug Something isn't working Webpack

Comments

@jacobtylerwalls
Copy link
Member

  1. Open arches/app/media/js and use the (Mac) Finder to drag file icons around (e.g. to prepare to delete something)
  2. Verify with ls -la arches/app/media/js you have a .DS_Store file
  3. npm start in the usual way

result

TypeError [ERR_INVALID_ARG_TYPE]: The "paths[2]" argument must be of type string. Received undefined
    at Object.resolve (node:path:1101:7)
    at /Users/jwalls/prj/ryan/webpack/webpack.common.js:48:40
    at Array.reduce (<anonymous>)
    at createWebpackConfig (/Users/jwalls/prj/ryan/webpack/webpack.common.js:45:132)
    at Socket.<anonymous> (/Users/jwalls/prj/ryan/webpack/webpack.common.js:527:17)
    at Socket.emit (node:events:518:28)
    at addChunk (node:internal/streams/readable:559:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
    at Readable.push (node:internal/streams/readable:390:5)
    at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) {
  code: 'ERR_INVALID_ARG_TYPE'
}

Node.js v20.12.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working Webpack
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant