Hey people all i wanted is to use parcel to bundle all my css/js etc for production. My whole site is static and i didn't use any package manager (its a template i bought online that includes the scripts, dependencies and styles) .The problem is, when i run parcel index.html it attempts to install all the packages via npm and gives 404 error on bootstrap.min.css@latest for example. (it also doesn't install the right version of dependencies but the latest)Im new to parcel and never had npm errors out of nothing. What could be the issue here?Below is the log:0 info it worked if it ends with ok 1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe', 1 verbose cli 'C:\\Users\\...\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js', 1 verbose cli 'install', 1 verbose cli 'bootstrap.min.css', 1 verbose cli '--save' ] 2 info using npm@5.6.0 3 info using node@v8.11.0 4 verbose npm-session 8f031dc15bf54c82 5 silly install loadCurrentTree 6 silly install readLocalPackageData 7 http fetch GET 404 https://ift.tt/2LGNeHp 1069ms 8 silly fetchPackageMetaData error for bootstrap.min.css@latest 404 Not Found: bootstrap.min.css@latest 9 verbose stack Error: 404 Not Found: bootstrap.min.css@latest 9 verbose stack at fetch.then.res (C:\Users\...\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\lib\fetchers\registry\fetch.js:42:19) 9 verbose stack at runCallback (timers.js:794:20) 9 verbose stack at tryOnImmediate (timers.js:752:5) 9 verbose stack at processImmediate [as _immediateCallback] (timers.js:729:5) 9 verbose stack From previous event: 9 verbose stack at regFetch (C:\Users\...\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\lib\fetchers\registry\fetch.js:36:6) 9 verbose stack at fetchPackument (C:\Users\...\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\lib\fetchers\registry\manifest.js:81:10) 9 verbose stack at getManifest (C:\Users\...\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\lib\fetchers\registry\manifest.js:37:10) 9 verbose stack at manifest (C:\Users\...\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\lib\fetchers\registry\manifest.js:24:10) 9 verbose stack at Object.manifest (C:\Users\...\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\lib\fetchers\registry\index.js:12:12) 9 verbose stack at Object.Fetcher#manifest [as manifest] (C:\Users\...\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\node_modules\protoduck\node_modules\genfun\lib\genfun.js:15:38) 9 verbose stack at manifest (C:\Users\...\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\lib\fetch.js:16:18) 9 verbose stack at pinflight (C:\Users\...\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\manifest.js:24:12) 9 verbose stack at C:\Users\...\AppData\Roaming\npm\node_modules\npm\node_modules\promise-inflight\inflight.js:29:24 9 verbose stack From previous event: 9 verbose stack at _inflight (C:\Users\...\AppData\Roaming\npm\node_modules\npm\node_modules\promise-inflight\inflight.js:28:25) 9 verbose stack at C:\Users\...\AppData\Roaming\npm\node_modules\npm\node_modules\promise-inflight\inflight.js:22:14 9 verbose stack at runCallback (timers.js:794:20) 9 verbose stack at tryOnImmediate (timers.js:752:5) 9 verbose stack at processImmediate [as _immediateCallback] (timers.js:729:5) 9 verbose stack From previous event: 9 verbose stack at inflight (C:\Users\...\AppData\Roaming\npm\node_modules\npm\node_modules\promise-inflight\inflight.js:14:40) 9 verbose stack at Object.manifest (C:\Users\...\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\manifest.js:22:10) 9 verbose stack at fetchPackageMetadata (C:\Users\...\AppData\Roaming\npm\node_modules\npm\lib\fetch-package-metadata.js:58:10) 9 verbose stack at limited (C:\Users\...\AppData\Roaming\npm\node_modules\npm\node_modules\call-limit\call-limit.js:29:10) 9 verbose stack at fs.stat (C:\Users\...\AppData\Roaming\npm\node_modules\npm\lib\install\deps.js:219:20) 9 verbose stack at C:\Users\...\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29 9 verbose stack at FSReqWrap.oncomplete (fs.js:152:21) 10 verbose cwd C:\Users\...\Documents\TreehouseWebsite\nova 11 verbose Windows_NT 10.0.17134 12 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\...\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "bootstrap.min.css" "--save" 13 verbose node v8.11.0 14 verbose npm v5.6.0 15 error code E404 16 error 404 Not Found: bootstrap.min.css@latest 17 verbose exit [ 1, true ]
Submitted July 31, 2018 at 06:21PM by croxcrocodile
No comments:
Post a Comment