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

TypeError [ERR_INVALID_ARG_TYPE] when running NPM Build #33

Open
BeardedDevCo opened this issue Dec 2, 2021 · 0 comments
Open

TypeError [ERR_INVALID_ARG_TYPE] when running NPM Build #33

BeardedDevCo opened this issue Dec 2, 2021 · 0 comments

Comments

@BeardedDevCo
Copy link

As title states, the following is the log when trying to run the npm build function.


> menubar@1.4.0 prebuild
> npm run clean


> menubar@1.4.0 clean
> gulp clean

node:internal/validators:119
    throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
    at new NodeError (node:internal/errors:371:5)
    at validateString (node:internal/validators:119:11)
    at Object.resolve (node:path:1098:7)
    at getPath (/home/sc/Projects/Barclays/QlikSenseExtensions/trueChart-Menubar4Sense/tcmenu/env.js:36:16)
    at new <anonymous> (/home/sc/Projects/Barclays/QlikSenseExtensions/trueChart-Menubar4Sense/tcmenu/env.js:16:21)
    at Object.<anonymous> (/home/sc/Projects/Barclays/QlikSenseExtensions/trueChart-Menubar4Sense/tcmenu/env.js:4:8)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
  code: 'ERR_INVALID_ARG_TYPE'
}

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

1 participant