![]() ![]() ![]() ![]() I also tried to deploy by dragging the files from my computer. Cloning fresh repoġ:48:51 AM: git clone GitHub - jeddy019/new-website: My portfolio website!ġ:48:52 AM: Preparing Git Reference refs/heads/mainġ:48:52 AM: Parsing package.json dependenciesġ:48:53 AM: Different publish path detected, going to use the one specified in the Netlify configuration file: ‘dist’ versus ‘dist/’ in the Netlify UIġ:48:54 AM: Downloading and installing node v16.13.0…ġ:48:55 AM: Computing checksum with sha256sumġ:48:58 AM: Now using node v16.13.0 (npm v8.1.0)ġ:48:58 AM: Started restoring cached build pluginsġ:48:58 AM: Finished restoring cached build pluginsġ:48:58 AM: Attempting ruby version 2.7.2, read from environmentġ:49:00 AM: Started restoring cached node modulesġ:49:00 AM: Finished restoring cached node modulesġ:49:01 AM: Installing NPM modules using NPM version 8.1.0ġ:49:03 AM: npm ERR! ERESOLVE unable to resolve dependency treeġ:49:03 AM: npm ERR! While resolving: AM: npm ERR! Found: AM: npm ERR! node_modules/webpackġ:49:03 AM: npm ERR! dev from the root projectġ:49:03 AM: npm ERR! Could not resolve dependency:ġ:49:03 AM: npm ERR! peer from AM: npm ERR! node_modules/optimize-css-assets-webpack-pluginġ:49:03 AM: Creating deploy upload recordsġ:49:03 AM: npm ERR! Fix the upstream dependency conflict, or retryġ:49:03 AM: npm ERR! this command with -force, or -legacy-peer-depsġ:49:03 AM: npm ERR! to accept an incorrect (and potentially broken) dependency resolution.ġ:49:03 AM: npm ERR! See /opt/buildhome/.npm/eresolve-report.txt for a full report.ġ:49:03 AM: npm ERR! A complete log of this run can be found in:ġ:49:03 AM: npm ERR! /opt/buildhome/.npm/_logs/T09_49_03_391Z-debug.logġ:49:03 AM: Build was terminated: Build script returned non-zero exit code: 1ġ:49:03 AM: Failing build: Failed to build siteġ:49:03 AM: Failed during stage ‘building site’: Build script returned non-zero exit code: 1ġ:49:03 AM: Finished processing build request in 13.000324704s When deploy using Git with dist/ and a npm run build settings, it gives “site deploy failed” and shows shows this deploy log :ġ:48:50 AM: build-image version: c5b01a919d3e16af69445c5de0cacb49efbb1a23 (focal)ġ:48:50 AM: buildbot version: 9deea8f876b3228119111d3a654f519dd1866bfeġ:48:50 AM: Failed to fetch cache, continuing with buildġ:48:50 AM: Starting to prepare the repo for buildġ:48:51 AM: No cached dependencies found. I’ve been trying to deploy my portfolio site for almost a week now. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |