Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

NPM install fails #5

Open
Shmarkus opened this issue May 16, 2018 · 1 comment
Open

NPM install fails #5

Shmarkus opened this issue May 16, 2018 · 1 comment

Comments

@Shmarkus
Copy link

Shmarkus commented May 16, 2018

Running "npm i" fails:

$ npm i

> [email protected] postinstall C:\Users\Marku\Projects\swagger-form-editor\node_modules\gifsicle
> node index.js

path.js:28
    throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'path', 'string');
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string
    at assertPath (path.js:28:11)
    at Object.basename (path.js:833:5)
    at C:\Users\Marku\Projects\swagger-form-editor\node_modules\download\index.js:35:43
    at each (C:\Users\Marku\Projects\swagger-form-editor\node_modules\each-async\each-async.js:63:4)
    at module.exports (C:\Users\Marku\Projects\swagger-form-editor\node_modules\download\index.js:33:5)
    at C:\Users\Marku\Projects\swagger-form-editor\node_modules\bin-wrapper\index.js:108:20
    at C:\Users\Marku\Projects\swagger-form-editor\node_modules\bin-wrapper\index.js:141:24
    at C:\Users\Marku\Projects\swagger-form-editor\node_modules\bin-check\index.js:30:20
    at C:\Users\Marku\Projects\swagger-form-editor\node_modules\executable\index.js:39:20
    at FSReqWrap.oncomplete (fs.js:166:21)
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Marku\AppData\Roaming\npm-cache\_logs\2018-05-16T19_13_32_098Z-debug.log

2018-05-16T19_13_32_098Z-debug.log

NPM version: 5.5.1

@andrelec1
Copy link

same here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants