-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
netlify site build failed... #74
Comments
working for me first try npm run build then try netlify build |
@bishalmallick does the solution of @npiyush97 works for you? could you solve the issue? Let me know, so I can close this issue 👍 |
hi @cobidev |
Hey @cobidev pls checkout this website also and pls give some feeback about it, I'm working on some more parts on it. Website link - https://shivaamm.github.io/ |
Hi i also face this issue is there anybody who deploy to netlify recently? without facing any issue? |
I am also facing a lot of issues when deploying on netlify. |
Hello! I had some issues too. I think mine was because I used the
|
If your issue is based on using Here is the original source I found the tips to navigate through these issues. Also, here is more info on Environment Variables. This article on Environment Variables may mention something about "This feature may not be available on all plans"... don't worry, I have a free account and you can still modify the variables. Good luck and I hope this will work for you! |
1:52:48 AM: Build ready to start
1:52:50 AM: build-image version: 53b83b6bede2920f236b25b6f5a95334320dc849
1:52:50 AM: build-image tag: v3.6.0
1:52:50 AM: buildbot version: dc0a2b81d00d8f0151c0b6d6eab301febfb9ab68
1:52:51 AM: Fetching cached dependencies
1:52:51 AM: Failed to fetch cache, continuing with build
1:52:51 AM: Starting to prepare the repo for build
1:52:51 AM: No cached dependencies found. Cloning fresh repo
1:52:51 AM: git clone https://github.com/bishalmallick/portfolio
1:52:52 AM: Preparing Git Reference refs/heads/master
1:52:54 AM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'public' versus 'public/' in the Netlify UI
1:52:54 AM: Starting build script
1:52:54 AM: Installing dependencies
1:52:54 AM: Python version set to 2.7
1:52:56 AM: v12.18.0 is already installed.
1:52:56 AM: Now using node v12.18.0 (npm v6.14.4)
1:52:56 AM: Started restoring cached build plugins
1:52:56 AM: Finished restoring cached build plugins
1:52:56 AM: Attempting ruby version 2.7.1, read from environment
1:52:58 AM: Using ruby version 2.7.1
1:52:58 AM: Using PHP version 5.6
1:52:58 AM: Started restoring cached node modules
1:52:58 AM: Finished restoring cached node modules
1:52:59 AM: Installing NPM modules using NPM version 6.14.4
1:53:18 AM: > node-sass@4.14.1 install /opt/build/repo/node_modules/node-sass
1:53:18 AM: > node scripts/install.js
1:53:19 AM: Downloading binary from https://github.com/sass/node-sass/releases/download/v4.14.1/linux-x64-72_binding.node
1:53:19 AM: Download complete
1:53:19 AM: Binary saved to /opt/build/repo/node_modules/node-sass/vendor/linux-x64-72/binding.node
1:53:20 AM: Caching binary to /opt/buildhome/.npm/node-sass/4.14.1/linux-x64-72_binding.node
1:53:20 AM: > node-sass@4.14.1 postinstall /opt/build/repo/node_modules/node-sass
1:53:20 AM: > node scripts/build.js
1:53:20 AM: Binary found at /opt/build/repo/node_modules/node-sass/vendor/linux-x64-72/binding.node
1:53:20 AM: Testing binary
1:53:20 AM: Binary is fine
1:53:21 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
1:53:21 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
1:53:21 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
1:53:21 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
1:53:21 AM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
1:53:21 AM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
1:53:21 AM: added 963 packages from 532 contributors and audited 966 packages in 21.722s
1:53:22 AM: 53 packages are looking for funding
1:53:22 AM: run
npm fund
for details1:53:22 AM: found 0 vulnerabilities
1:53:22 AM: NPM modules installed
1:53:23 AM: Started restoring cached go cache
1:53:23 AM: Finished restoring cached go cache
1:53:23 AM: go version go1.14.4 linux/amd64
1:53:23 AM: go version go1.14.4 linux/amd64
1:53:23 AM: Installing missing commands
1:53:23 AM: Verify run directory
1:53:25 AM:
1:53:25 AM: ────────────────────────────────────────────────────────────────
1:53:25 AM: Netlify Build
1:53:25 AM: ────────────────────────────────────────────────────────────────
1:53:25 AM:
1:53:25 AM: ❯ Version
1:53:25 AM: @netlify/build 8.0.0
1:53:25 AM:
1:53:25 AM: ❯ Flags
1:53:25 AM: deployId: 5fdd0f984a6ffb01011db087
1:53:25 AM: mode: buildbot
1:53:25 AM:
1:53:25 AM: ❯ Current directory
1:53:25 AM: /opt/build/repo
1:53:25 AM:
1:53:25 AM: ❯ Config file
1:53:25 AM: No config file was defined: using default values.
1:53:25 AM:
1:53:25 AM: ❯ Context
1:53:25 AM: production
1:53:25 AM:
1:53:25 AM: ────────────────────────────────────────────────────────────────
1:53:25 AM: 1. Build command from Netlify app
1:53:25 AM: ────────────────────────────────────────────────────────────────
1:53:25 AM:
1:53:25 AM: $ webpack --config webpack.prod.js
1:53:36 AM: Hash: 9568235152a809d7fcf3
1:53:36 AM: Version: webpack 4.44.2
1:53:36 AM: Time: 9532ms
1:53:36 AM: Built at: 12/18/2020 8:23:36 PM
1:53:36 AM: Asset Size Chunks Chunk Names
1:53:36 AM: assets/profile.5865e96221c9d55439edb893edf6dd17.jpg 55.4 KiB [emitted] [immutable]
1:53:36 AM: assets/project.ec6fc54416b1cc7af0e289c874edc392.jpg 76.6 KiB [emitted] [immutable]
1:53:36 AM: favicon.png 6.47 KiB [emitted]
1:53:36 AM: index.html 5.33 KiB [emitted]
1:53:36 AM: main.42c7748b59058bf9fb05.bundle.js 95.2 KiB 0 [emitted] [immutable] main
1:53:36 AM: main.fd790a426c9a8d7da599.css 147 KiB 0 [emitted] [immutable] main
1:53:36 AM: vendor.0f582e919eacfa434074.bundle.js 172 KiB 1 [emitted] [immutable] vendor
1:53:36 AM: Entrypoint vendor = vendor.0f582e919eacfa434074.bundle.js
1:53:36 AM: Entrypoint main = main.fd790a426c9a8d7da599.css main.42c7748b59058bf9fb05.bundle.js
1:53:36 AM: [2] ./src/js/tilt.js 170 bytes {0} [built]
1:53:36 AM: [3] ./src/js/sr.js + 1 modules 1.78 KiB {0} [built]
1:53:36 AM: | ./src/js/sr.js 1.66 KiB [built]
1:53:36 AM: | ./src/js/assignProps.js 128 bytes [built]
1:53:36 AM: [4] ./src/vendor.js 56 bytes {1} [built]
1:53:36 AM: [6] (webpack)/buildin/global.js 472 bytes {1} [built]
1:53:36 AM: [7] ./src/index.js 403 bytes {0} [built]
1:53:36 AM: [9] ./src/style/main.scss 39 bytes {0} [built]
1:53:36 AM: + 6 hidden modules
1:53:36 AM: Child HtmlWebpackCompiler:
1:53:36 AM: Asset Size Chunks Chunk Names
1:53:36 AM: assets/profile.5865e96221c9d55439edb893edf6dd17.jpg 55.4 KiB [emitted] [immutable]
1:53:36 AM: assets/project.ec6fc54416b1cc7af0e289c874edc392.jpg 76.6 KiB [emitted] [immutable]
1:53:36 AM: + 1 hidden asset
1:53:36 AM: Entrypoint HtmlWebpackPlugin_0 = __child-HtmlWebpackPlugin_0
1:53:36 AM: [0] ./node_modules/html-webpack-plugin/lib/loader.js!./src/template.html 6.25 KiB {0} [built]
1:53:36 AM: [2] ./src/assets/profile.jpg 97 bytes {0} [built]
1:53:36 AM: [3] ./src/assets/project.jpg 97 bytes {0} [built]
1:53:36 AM: + 1 hidden module
1:53:36 AM: Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/sass-loader/dist/cjs.js!src/style/main.scss:
1:53:36 AM: Entrypoint mini-css-extract-plugin = *
1:53:36 AM: [0] ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/style/main.scss 151 KiB {0} [built]
1:53:36 AM: + 1 hidden module
1:53:36 AM:
1:53:36 AM: (build.command completed in 11.1s)
1:53:36 AM:
1:53:36 AM: ────────────────────────────────────────────────────────────────
1:53:36 AM: Netlify Build Complete
1:53:36 AM: ────────────────────────────────────────────────────────────────
1:53:36 AM:
1:53:36 AM: (Netlify Build completed in 11.2s)
1:53:36 AM: Caching artifacts
1:53:36 AM: Started saving node modules
1:53:36 AM: Finished saving node modules
1:53:36 AM: Started saving build plugins
1:53:36 AM: Finished saving build plugins
1:53:36 AM: Started saving pip cache
1:53:36 AM: Finished saving pip cache
1:53:36 AM: Started saving emacs cask dependencies
1:53:36 AM: Finished saving emacs cask dependencies
1:53:36 AM: Started saving maven dependencies
1:53:36 AM: Finished saving maven dependencies
1:53:36 AM: Started saving boot dependencies
1:53:36 AM: Finished saving boot dependencies
1:53:36 AM: Started saving rust rustup cache
1:53:36 AM: Finished saving rust rustup cache
1:53:36 AM: Started saving rust cargo bin cache
1:53:36 AM: Finished saving rust cargo bin cache
1:53:36 AM: Started saving go dependencies
1:53:36 AM: Finished saving go dependencies
1:53:39 AM: Build script success
1:53:39 AM: Deploy directory 'public' does not exist
1:53:39 AM: Failing build: Failed to build site
1:53:39 AM: Failed during stage 'building site': Deploy directory 'public' does not exist
1:53:39 AM: Finished processing build request in 49.075060641s
basically it was unable to find the directory... i am not getting that
The text was updated successfully, but these errors were encountered: