getsafepay / safepay-checkout

Javascript Integration for Safepay Button and Safepay Checkout. Source code and demo
MIT License
6 stars 0 forks source link

project NOT RUNNING #1

Open VIRGO96 opened 5 years ago

VIRGO96 commented 5 years ago

after executing npm run dev the project doesnt run error missing script dev comes up below is copy of log file kindly check it

0 info it worked if it ends with ok 1 verbose cli [ 'C:\Program Files\nodejs\node.exe', 1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js', 1 verbose cli 'run', 1 verbose cli 'dev' ] 2 info using npm@5.6.0 3 info using node@v8.11.3 4 verbose stack Error: missing script: dev 4 verbose stack at run (C:\Program Files\nodejs\node_modules\npm\lib\run-script.js:151:19) 4 verbose stack at C:\Program Files\nodejs\node_modules\npm\lib\run-script.js:61:5 4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:115:5 4 verbose stack at C:\Program Files\nodejs\node_modules\npm\nodemodules\read-package-json\read-json.js:402:5 4 verbose stack at checkBinReferences (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:357:45) 4 verbose stack at final (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:400:3) 4 verbose stack at then (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:160:5) 4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:348:12 4 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:78:16 4 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3) 5 verbose cwd V:\WEB WORKS\newfolder\safepay-checkout 6 verbose Windows_NT 10.0.15063 7 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "dev" 8 verbose node v8.11.3 9 verbose npm v5.6.0 10 error missing script: dev 11 verbose exit [ 1, true ]

ziyadparekh commented 5 years ago

Sorry the readme was incorrect. It should be npm run demo