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 on execute command WMPA #350

Closed
douglaslira opened this issue Jan 8, 2020 · 6 comments
Closed

Error on execute command WMPA #350

douglaslira opened this issue Jan 8, 2020 · 6 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@douglaslira
Copy link

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be one of type string, Buffer, or URL. Received type undefined

@scriptex
Copy link
Owner

scriptex commented Jan 8, 2020

Hi, @douglaslira, can you please provide me with more info regarding the steps you took in order to reproduce this? Also, can you tell me on which platform does this occur?

I have tested this on a brand new iMac using the following steps:

yarn global add webpack-mpa
mkdir test-project
cd test-project
wmpa

I received the message "Webpack MPA is now setup! Run "npm i" or "yarn" to continue" and the folder for my "test-project" contained all required files.

@scriptex scriptex self-assigned this Jan 8, 2020
@scriptex scriptex added the question Further information is requested label Jan 8, 2020
@scriptex
Copy link
Owner

Hello l, @douglaslira, is there any progress on this issue? Do you still experience this? Please let me know so I can fix it or close this.

@scriptex
Copy link
Owner

Hello, @douglaslira, I am closing this issue as there is no answer from you for quite some time.
Please feel free to comment and reopen it if the issue persist.

@chounvwudi
Copy link

on the Windows OS you should use this command "process.cwd()" instand of "process.env.PWD" in the file "cli.js"

@scriptex
Copy link
Owner

Thanks for your input, @chounvwudi. I will fix this ASAP

@scriptex scriptex reopened this Mar 10, 2021
@scriptex scriptex added the bug Something isn't working label Mar 10, 2021
@scriptex
Copy link
Owner

@chounvwudi this has been fixed in the latest release and is also available on NPM. Please update your local package.
@douglaslira if you're still interested in this - it has been fixed! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants