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

Invalid argument #65

Closed
chrisdziewa opened this issue Feb 12, 2016 · 4 comments
Closed

Invalid argument #65

chrisdziewa opened this issue Feb 12, 2016 · 4 comments

Comments

@chrisdziewa
Copy link

I am getting the following error trying to build my bundle. Can anyone help?

Error: invalid argument
    at pathToArray (/Users/chrisdziewa/Web Portfolio/Dynamic Web Apps/voting-app/node_modules/webpack-dev-middleware/node_modules/memory-fs/lib/MemoryFileSystem.js:44:10)
    at MemoryFileSystem.mkdirpSync (/Users/chrisdziewa/Web Portfolio/Dynamic Web Apps/voting-app/node_modules/webpack-dev-middleware/node_modules/memory-fs/lib/MemoryFileSystem.js:139:13)
    at MemoryFileSystem.(anonymous function) [as mkdirp] (/Users/chrisdziewa/Web Portfolio/Dynamic Web Apps/voting-app/node_modules/webpack-dev-middleware/node_modules/memory-fs/lib/MemoryFileSystem.js:279:34)
    at Compiler.<anonymous> (/Users/chrisdziewa/Web Portfolio/Dynamic Web Apps/voting-app/node_modules/webpack/lib/Compiler.js:229:25)
    at Compiler.applyPluginsAsync (/Users/chrisdziewa/Web Portfolio/Dynamic Web Apps/voting-app/node_modules/webpack/node_modules/tapable/lib/Tapable.js:60:69)
    at Compiler.emitAssets (/Users/chrisdziewa/Web Portfolio/Dynamic Web Apps/voting-app/node_modules/webpack/lib/Compiler.js:226:7)
    at Watching.<anonymous> (/Users/chrisdziewa/Web Portfolio/Dynamic Web Apps/voting-app/node_modules/webpack/lib/Compiler.js:54:18)
    at /Users/chrisdziewa/Web Portfolio/Dynamic Web Apps/voting-app/node_modules/webpack/lib/Compiler.js:403:12
    at Compiler.next (/Users/chrisdziewa/Web Portfolio/Dynamic Web Apps/voting-app/node_modules/webpack/node_modules/tapable/lib/Tapable.js:67:11)
    at Compiler.<anonymous> (/Users/chrisdziewa/Web Portfolio/Dynamic Web Apps/voting-app/node_modules/webpack/lib/CachePlugin.js:40:4)
    at Compiler.applyPluginsAsync (/Users/chrisdziewa/Web Portfolio/Dynamic Web Apps/voting-app/node_modules/webpack/node_modules/tapable/lib/Tapable.js:71:13)
    at Compiler.<anonymous> (/Users/chrisdziewa/Web Portfolio/Dynamic Web Apps/voting-app/node_modules/webpack/lib/Compiler.js:400:9)
    at Compilation.<anonymous> (/Users/chrisdziewa/Web Portfolio/Dynamic Web Apps/voting-app/node_modules/webpack/lib/Compilation.js:577:13)
    at Compilation.applyPluginsAsync (/Users/chrisdziewa/Web Portfolio/Dynamic Web Apps/voting-app/node_modules/webpack/node_modules/tapable/lib/Tapable.js:60:69)
    at Compilation.<anonymous> (/Users/chrisdziewa/Web Portfolio/Dynamic Web Apps/voting-app/node_modules/webpack/lib/Compilation.js:572:10)
    at Compilation.applyPluginsAsync (/Users/chrisdziewa/Web Portfolio/Dynamic Web Apps/voting-app/node_modules/webpack/node_modules/tapable/lib/Tapable.js:60:69)
@chrisdziewa
Copy link
Author

Seemed to have fixed it by changing my webpack.config file.

@benjick
Copy link

benjick commented Feb 26, 2016

@chrisdziewa What did you change?

@chrisdziewa
Copy link
Author

@benjick it's been a while and I was new to webpack so I honestly don't remember. I think it might have been a path issue.

@benjick
Copy link

benjick commented Feb 26, 2016

Yeah I put in the whole path and it worked. Thanks
On Feb 26, 2016 17:25, "Chris Dziewa" notifications@github.com wrote:

@benjick https://github.com/benjick it's been a while and I was new to
webpack so I honestly don't remember. I think it might have been a path
issue.


Reply to this email directly or view it on GitHub
#65 (comment)
.

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

2 participants