brackets-userland / brackets-npm-registry

Extension to install other extensions with npm
MIT License
44 stars 8 forks source link

Issue while installing #54

Open YVin3D opened 5 years ago

YVin3D commented 5 years ago

So I followed the instructions, but after running npm-install I get the following:

npm notice created a lockfile as package-lock.json. You should commit this file. added 1028 packages from 949 contributors and audited 6343 packages in 26.355s found 128 vulnerabilities (18 low, 62 moderate, 46 high, 2 critical) run npm audit fix to fix them, or npm audit for details`

Running npm audit fix didn't fix all the issues so I ran npm audit fix --force and I got the following message:

gulp-babel@8.0.0 requires a peer of @babel/core@^7.0.0 but none is installed. You must install peer dependencies yourself.

  • gulp-babel@8.0.0
  • cheerio@0.22.0
  • gulp-cli@2.0.1
  • gulp@4.0.0
  • request@2.88.0
  • mocha@5.2.0
  • express@4.16.3
  • lodash@4.17.11
  • babel-core@6.26.3
  • eslint@5.6.1
  • npm@6.4.1

and after installing the dependencies manually, and having success with that, I ran npm-install again but it failed with the following error:

gulp build

assert.js:348 throw err; ^

AssertionError [ERR_ASSERTION]: Task function must be specified at Gulp.set [as _setTask] (/Users/Joe/Library/Application Support/Brackets/extensions/user/brackets-npm-registry/node_modules/undertaker/lib/set-task.js:10:3) at Gulp.task (/Users/Joe/Library/Application Support/Brackets/extensions/user/brackets-npm-registry/node_modules/undertaker/lib/task.js:13:8) at Object. (/Users/Joe/Library/Application Support/Brackets/extensions/user/brackets-npm-registry/gulpfile.js:98:6) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:20:18) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! brackets-npm-registry@0.6.5 prepublish: gulp build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the brackets-npm-registry@0.6.5 prepublish script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I am so lost as I can't get this install to work. Any help? Is there a problem with the install?