facebookarchive / offline-conversion-file-uploader

A tool to upload offline conversions (in a CSV file) to Facebook.
46 stars 27 forks source link

Install Errors #8

Closed rvnicholas closed 6 years ago

rvnicholas commented 6 years ago

Newb to Git & Node...apologies in advance

Win 10 64bit

Followed the below instructions from cmd console in admin mode:

Make sure git and node are installed and are up-to-date on your machine, then run:

git clone https://github.com/facebookincubator/offline-conversion-file-uploader npm install npm run compile

Command Screen output:

D:\Dev\FB-Offline-Inc>git clone https://github.com/facebookincubator/offline-conversion-file-uploader Cloning into 'offline-conversion-file-uploader'... remote: Counting objects: 374, done. remote: Compressing objects: 100% (22/22), done. remote: Total 374 (delta 4), reused 22 (delta 1), pack-reused 348R /s Receiving objects: 100% (374/374), 12.64 MiB | 761.00 KiB/s, done. Resolving deltas: 100% (205/205), done.

D:\Dev\FB-Offline-Inc>npm install npm WARN saveError ENOENT: no such file or directory, open 'D:\Dev\FB-Offline-Inc\package.json' npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN enoent ENOENT: no such file or directory, open 'D:\Dev\FB-Offline-Inc\package.json' npm WARN FB-Offline-Inc No description npm WARN FB-Offline-Inc No repository field. npm WARN FB-Offline-Inc No README data npm WARN FB-Offline-Inc No license field.

up to date in 1.123s found 0 vulnerabilities

D:\Dev\FB-Offline-Inc>npm run compile npm ERR! path D:\Dev\FB-Offline-Inc\package.json npm ERR! code ENOENT npm ERR! errno -4058 npm ERR! syscall open npm ERR! enoent ENOENT: no such file or directory, open 'D:\Dev\FB-Offline-Inc\package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\charl\AppData\Roaming\npm-cache_logs\2018-09-07T03_19_46_992Z-debug.log

debug.log output

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 'compile' ] 2 info using npm@6.2.0 3 info using node@v10.9.0 4 verbose stack Error: ENOENT: no such file or directory, open 'D:\Dev\FB-Offline-Inc\package.json' 5 verbose cwd D:\Dev\FB-Offline-Inc 6 verbose Windows_NT 10.0.17134 7 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "compile" 8 verbose node v10.9.0 9 verbose npm v6.2.0 10 error path D:\Dev\FB-Offline-Inc\package.json 11 error code ENOENT 12 error errno -4058 13 error syscall open 14 error enoent ENOENT: no such file or directory, open 'D:\Dev\FB-Offline-Inc\package.json' 15 error enoent This is related to npm not being able to find a file. 16 verbose exit [ -4058, true ]

rvnicholas commented 6 years ago

duh. path issues. needed to change to \offline-conversion-file-uploader created by the clone.

sorry. thanks!