creativetimofficial / ct-argon-dashboard-pro-svelte

8 stars 7 forks source link

[Bug] dependencies issue, multiple roles=form etc. #12

Open askHarshV opened 2 years ago

askHarshV commented 2 years ago

Version

npm 8.5

Reproduction link

https://user-images.githubusercontent.com/54787247/156189655-c0856140-593b-42da-be57-bbc39316f6af.png

Operating System

windows

Device

win

Browser & Version

chrome

Steps to reproduce

  1. download the package
  2. npm install doesnt work - dependency errors
  3. there is no serve command in scripts in package.json (online documentation refers to it)
  4. after manual reinstall of packages other svelte errors like multiple roles to forms etc.

    What is expected?

    downloaded package from paid profile should run smoothly or atleast have proper documentation. These errors and challenges are not limited to argon dashboard pro svelte but other packages as well

    What is actually happening?

    Most of the files are using very old dependencies and seem to be outdated.


Solution

Additional comments

askHarshV commented 2 years ago

Some additional info -

no serve script in package.json

image

Package.json after installing packages one after the other manually

{ "name": "argon-dashboard-pro-svelte", "version": "1.2.0", "homepage": "https://demos.creative-tim.com/argon-dashboard-pro-svelte/", "description": "Svelte version of the Argon Dashboard PRO by Creative Tim", "main": "rollup.config.js", "repository": { "type": "git", "url": "git+https://github.com/creativetimofficial/ct-argon-dashboard-pro-svelte.git" }, "keywords": [], "author": "", "license": "SEE LICENSE IN https://www.creative-tim.com/license", "bugs": { "url": "https://github.com/creativetimofficial/ct-argon-dashboard-pro-svelte/issues" }, "scripts": { "build": "rollup -c", "dev": "rollup -c -w", "start": "sirv public --s", "build:fontawesome": "mkdir -p public/assets/vendor/@fortawesome/fontawesome-free/webfonts && mkdir -p public/assets/vendor/@fortawesome/fontawesome-free/css && cp -a ./node_modules/@fortawesome/fontawesome-free/webfonts public/assets/vendor/@fortawesome/fontawesome-free/ && cp ./node_modules/@fortawesome/fontawesome-free/css/all.min.css public/assets/vendor/@fortawesome/fontawesome-free/css/all.min.css", "install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && rm -rf public/build/bundle.js && rm -rf public/build/bundle.js.map && rm -rf public/bundle.js && rm -rf public/bundle.js.map && npm install && npm run build:fontawesome && npm run build && cp public/build/bundle.js public/bundle.js && cp public/build/bundle.js.map public/bundle.js.map && npm run dev" }, "devDependencies": { "@rollup/plugin-commonjs": "^17.1.0", "@rollup/plugin-node-resolve": "^11.2.1", "node-sass": "^7.0.1", "rollup": "^2.68.0", "rollup-plugin-css-only": "^3.1.0", "rollup-plugin-livereload": "^2.0.5", "rollup-plugin-svelte": "^7.1.0", "rollup-plugin-terser": "^7.0.2", "svelte": "^3.46.4", "svelte-preprocess": "^4.10.4" }, "dependencies": { "@beyonk/svelte-googlemaps": "^3.2.0", "@fullcalendar/core": "^5.10.1", "@fullcalendar/daygrid": "^5.10.1", "@fullcalendar/interaction": "^5.10.1", "@fullcalendar/timegrid": "^5.10.1", "bootstrap": "^5.1.3", "datatables.net": "^1.11.5", "datatables.net-dt": "^1.11.5", "date-fns": "^2.28.0", "fusioncharts": "^3.18.0", "fusionmaps": "^3.18.0", "google-maps": "^4.3.3", "jquery": "^3.6.0", "page.js": "^4.13.3", "rollup-plugin-postcss": "^4.0.2", "sirv-cli": "^2.0.2", "style-loader": "^3.3.1", "svelte-calendar": "^3.1.6", "svelte-flatpickr": "^3.2.6", "svelte-forms": "^2.2.1", "svelte-fullcalendar": "^1.1.2", "svelte-fusioncharts": "^1.0.0", "svelte-fuzzy": "^2.1.0", "svelte-google-maps": "^0.2.0", "svelte-notifications": "^0.9.93", "svelte-quill": "^1.2.0", "svelte-router-spa": "^6.0.3", "svelte-table": "^0.3.4", "svelte-tags-input": "^2.9.0", "svelte-tooltip": "^1.2.0", "sveltefileuploadcomponent": "^0.1.0", "sweetalert2": "^11.4.4", "topojson": "^3.0.2", "yup": "^0.32.11" } }