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

Does not work with jquery-pwstrength #14

Open
wahmedswl opened this issue May 17, 2020 · 2 comments
Open

Does not work with jquery-pwstrength #14

wahmedswl opened this issue May 17, 2020 · 2 comments

Comments

@wahmedswl
Copy link

Hi, tried gulp-npm-dist with jquery-pwstrength but failed with following error as it don't have dist folder and nor package.json

Error: ENOENT: no such file or directory, open 'node_modules/jquery-pwstrength/package.json'
    at Object.openSync (fs.js:440:3)
    at Object.readFileSync (fs.js:342:35)
    at module.exports (/home/gitlab/stisla/node_modules/gulp-npm-dist/index.js:70:33)
    at npm_modules (/home/gitlab/stisla/gulpfile.js:130:14)
    at bound (domain.js:420:14)
    at runBound (domain.js:433:12)
    at asyncRunner (/home/gitlab/stisla/node_modules/async-done/index.js:55:18)
    at processTicksAndRejections (internal/process/task_queues.js:75:11)

Thanks

@dshemendiuk
Copy link
Owner

How did you add this library?
Can you give an example of package.json?

@wahmedswl
Copy link
Author

Hi, sorry for late reply. Here is package.json

{
  "name": "stisla-dev",
  "version": "1.0.0",
  "description": "Free Bootstrap Admin Template",
  "main": "index.js",
  "repository": "https://github.com/stisla/stisla",
  "author": "Stisla Team <[email protected]> (https://getstisla.com)",
  "license": "MIT",
  "dependencies": {
    "@fortawesome/fontawesome-free": "^5.7.2",
    "bootstrap": "^4.2.1",
    "bootstrap-colorpicker": "^3.0.3",
    "bootstrap-daterangepicker": "^3.0.3",
    "bootstrap-social": "^5.1.1",
    "bootstrap-tagsinput": "^0.7.1",
    "bootstrap-timepicker": "^0.5.2",
    "chart.js": "^2.7.3",
    "chocolat": "^0.4.21",
    "cleave.js": "^1.4.7",
    "codemirror": "^5.43.0",
    "datatables": "^1.10.18",
    "datatables.net-responsive-bs4": "^2.2.3",
    "datatables.net-select-bs4": "^1.2.7",
    "dropzone": "^5.5.1",
    "flag-icon-css": "^3.2.1",
    "fullcalendar": "^3.10.0",
    "gmaps": "^0.4.24",
    "ionicons201": "1.0.0",
    "izitoast": "^1.4.0",
    "jquery": "^3.3.1",
    "jquery-pwstrength": "https://github.com/matoilic/jquery.pwstrength",
    "jquery-sparkline": "^2.4.0",
    "jquery-ui-dist": "^1.12.1",
    "jquery.nicescroll": "^3.7.6",
    "jquery_upload_preview": "https://github.com/opoloo/jquery_upload_preview",
    "jqvmap": "https://github.com/10bestdesign/jqvmap",
    "moment": "^2.24.0",
    "nicescroll": "^3.7.4",
    "owl.carousel": "^2.3.4",
    "perfect-scrollbar": "^1.4.0",
    "popper.js": "^1.14.7",
    "prismjs": "^1.15.0",
    "select2": "^4.0.6-rc.1",
    "selectric": "^1.13.0",
    "simpleweather": "^3.1.0",
    "sticky-kit": "^1.1.3",
    "summernote": "^0.8.11",
    "sweetalert": "^2.1.2",
    "tooltip.js": "^1.3.1",
    "weathericons": "^2.1.0"
  },
  "devDependencies": {
    "autoprefixer": "^9.4.7",
    "browser-sync": "^2.26.3",
    "cssnano": "^4.1.8",
    "gulp": "^4.0.0",
    "gulp-color": "^0.0.2",
    "gulp-concat": "^2.6.1",
    "gulp-imagemin": "^3.4.0",
    "gulp-notify": "^3.2.0",
    "gulp-nunjucks": "^4.0.0",
    "gulp-plumber": "^1.2.1",
    "gulp-postcss": "^8.0.0",
    "gulp-rename": "^1.4.0",
    "gulp-sass": "^4.0.2",
    "gulp-uglify": "^3.0.1",
    "gulp-uglify-es": "^1.0.4",
    "imagemin-mozjpeg": "^8.0.0",
    "nunjucks": "^3.1.7",
    "gulp-npm-dist": "^1.0.3"
  },
  "scripts": {
    "stisla-start": "yarn install --production=false",
    "stisla-dev": "yarn install --prod",
    "dist": "gulp dist",
    "dev": "gulp"
  }
}

Thanks

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

2 participants