The "file" argument must be of type string. Received type undefined on npm run deploy to gh-pages [duplicate] The "file" argument must be of type string. Received type undefined on npm run deploy to gh-pages [duplicate] javascript javascript

The "file" argument must be of type string. Received type undefined on npm run deploy to gh-pages [duplicate]


It looks like the current version is not working. I faced the same problem today. Uninstall gh-pages module. Installed version 2.0.1 and it worked.