-
Notifications
You must be signed in to change notification settings - Fork 37
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 running command 'npm run build' #25
Comments
Same error here! |
Which version of node do you guys have ? |
I have the latest version 14.16.0. |
Can you try to run the app using powershell instead of cmd ? |
I did it with powershell also but the same error occur. |
I just tried the build script on W10, it works fine for me. Could you try cloning and installing the project again ? |
Still with the same problem :( node:internal/fs/utils:637 TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined npm ERR! A complete log of this run can be found in: I found that this can be a react-script related error, could that be the issue? |
Same Error again!!! |
I initially got the webpack -p error and solved it by installing the specific version of webpack mention in the config. TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined I would want to know the version of Node you are using in your project. Please help. |
I was able to get through webpack error. Now getting "Cant connect" Starting script... Looks like the SSO sign in is failing when needs a fix in the code. please help |
For the webpack issue, you can try to set the webpack version to 4.43.0 (instead of ^4.43.0) ? For the connection issue, someone has solved it : #21 (comment). |
I've got the same TypeError [ERR_INVALID_ARG_TYPE] but just in my OSx using the NodeJS version V15.9.0. In my W10 with Node version v12.19.0, this error didn't happen. |
Hi all, I'm getting the following error when runing "npm run build": Error: error:0308010C:digital envelope routines::unsupported Node.js v18.0.0 Could someone help me please? |
Looks like the version of NodeJS you are using is too high : https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported |
It worked! |
I am getting ERR_INVALID_AVG_TYPE error on running command 'npm run build'. Could you help me on it?
npm run build
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
node:internal/fs/utils:637
throw new ERR_INVALID_ARG_TYPE(propName, ['string', 'Buffer', 'URL'], path);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
at Object.open (node:fs:472:10)
at ReadStream._construct (node:internal/fs/streams:64:17)
at constructNT (node:internal/streams/destroy:288:25)
at processTicksAndRejections (node:internal/process/task_queues:80:21) {
code: 'ERR_INVALID_ARG_TYPE'
}
npm ERR! code 1
npm ERR! path C:\sap
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c webpack -p
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Win 10\AppData\Local\npm-cache_logs\2021-03-20T07_59_00_026Z-debug.log
The text was updated successfully, but these errors were encountered: