Been about a week of deployment failure, so am reaching out for help.
Seems I keep getting an error message about a missing scss file:
src/assets/sass/main.scss: no such file or directory
But its defnitely there. And it works fine on my local setup.
And the sass files have been in the same place since the previous successful deployment.
One thing I can think of that might be affecting it is a re-jigged sass process.
I’m using a file in config/sass-process.js to watch my sass files.
And it gave me ‘similar-ish’ grief on my local setup, although its working now.
The idea for that setup comes from here, and I’ve posted in the comments section about my problem.
(the original post is: Processing sass with 11ty - DEV Community 👩💻👨💻)
So that’s the issue, and below is my latest deploy logfile.
Thanks in advance for any help!
4:08:19 PM: Build ready to start
4:08:21 PM: build-image version: 6dfe19d15f524c85d6f9bf7df9fb30b0a9f0a61a
4:08:21 PM: build-image tag: v3.3.10
4:08:21 PM: buildbot version: 0d19834c19ebfe54208907d729718495339fe085
4:08:22 PM: Fetching cached dependencies
4:08:22 PM: Starting to download cache of 166.2MB
4:08:25 PM: Finished downloading cache in 3.614539146s
4:08:25 PM: Starting to extract cache
4:08:32 PM: Finished extracting cache in 6.483951222s
4:08:32 PM: Finished fetching cache in 10.141933038s
4:08:32 PM: Starting to prepare the repo for build
4:08:32 PM: Preparing Git Reference refs/heads/prod
4:08:34 PM: Found Netlify configuration file netlify.toml in site root
4:08:34 PM: Found Netlify configuration file(s). Overriding site configuration
4:08:34 PM: Starting build script
4:08:34 PM: Installing dependencies
4:08:35 PM: Started restoring cached node version
4:08:39 PM: Finished restoring cached node version
4:08:39 PM: v10.20.1 is already installed.
4:08:40 PM: Now using node v10.20.1 (npm v6.14.4)
4:08:40 PM: Attempting ruby version 2.6.2, read from environment
4:08:42 PM: Using ruby version 2.6.2
4:08:42 PM: Using PHP version 5.6
4:08:42 PM: 5.2 is already installed.
4:08:42 PM: Using Swift version 5.2
4:08:42 PM: Started restoring cached node modules
4:08:42 PM: Finished restoring cached node modules
4:08:42 PM: Installing NPM modules using NPM version 6.14.4
4:08:50 PM: npm
4:08:50 PM: WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/chokidar/node_modules/fsevents):
4:08:50 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
4:08:50 PM: npm
4:08:50 PM: WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/fsevents):
4:08:50 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
4:08:50 PM: added 9 packages from 5 contributors, updated 2 packages and audited 997 packages in 6.394s
4:08:50 PM: 13 packages are looking for funding
4:08:50 PM: run `npm fund` for details
4:08:50 PM: found 24 vulnerabilities (23 low, 1 high)
4:08:50 PM: run `npm audit fix` to fix them, or `npm audit` for details
4:08:50 PM: NPM modules installed
4:08:50 PM: Started restoring cached go cache
4:08:50 PM: Finished restoring cached go cache
4:08:51 PM: go version go1.12 linux/amd64
4:08:51 PM: go version go1.12 linux/amd64
4:08:51 PM: Installing missing commands
4:08:51 PM: Verify run directory
4:08:51 PM: Executing user command: eleventy
4:08:52 PM: Writing ./_site/blog/index.html from ./src/blog.html.
4:08:52 PM: Writing ./_site/index.html from ./src/index.html.
4:08:52 PM: Writing ./_site/sitemap.xml from ./src/sitemap.njk.
4:08:52 PM: Writing ./_site/staff/index.html from ./src/staff.html.
4:08:53 PM: Writing ./_site/contact/index.html from ./src/contact.html.
4:08:53 PM: Writing ./_site/404/index.html from ./src/404.html.
4:08:53 PM: Writing ./_site/about/index.html from ./src/about.html.
4:08:53 PM: Writing ./_site/contributors/index.html from ./src/contributors/contributors.md.
4:08:53 PM: Writing ./_site/inter-territory/index.html from ./src/inter-territory/inter-territory.njk.
4:08:53 PM: Writing ./_site/international/index.html from ./src/international/international.njk.
4:08:53 PM: Writing ./_site/new-guinea/goroka/index.html from ./src/new-guinea/goroka.md.
4:08:53 PM: Writing ./_site/new-guinea/index.html from ./src/new-guinea/new-guinea.njk.
4:08:53 PM: Writing ./_site/papua/index-OLD/index.html from ./src/papua/index-OLD.md.
4:08:53 PM: Writing ./_site/papua/integration/index.html from ./src/papua/integration.md.
4:08:53 PM: Writing ./_site/papua/index.html from ./src/papua/papua.njk.
4:08:53 PM: Writing ./_site/new-guinea/new-guinea-beginning/index.html from ./src/new-guinea/new-guinea-beginning.md.
4:08:53 PM: Writing ./_site/papua/army/index.html from ./src/papua/army.md.
4:08:53 PM: Writing ./_site/papua/hawks/index.html from ./src/papua/hawks.md.
4:08:53 PM: Writing ./_site/papua/dca/index.html from ./src/papua/dca.md.
4:08:53 PM: Writing ./_site/papua/magani/index.html from ./src/papua/magani.md.
4:08:53 PM: Writing ./_site/papua/papua-beginning/index.html from ./src/papua/papua-beginning.md.
4:08:53 PM: Writing ./_site/papua/premierships/index.html from ./src/papua/premierships.md.
4:08:53 PM: Writing ./_site/papua/kone/index.html from ./src/papua/kone.md.
4:08:53 PM: Writing ./_site/papua/paga/index.html from ./src/papua/paga.md.
4:08:53 PM: Writing ./_site/contributors/barry-schulz/index.html from ./src/contributors/barry-schulz.md.
4:08:53 PM: Writing ./_site/contributors/david-adams/index.html from ./src/contributors/david-adams.md.
4:08:53 PM: Writing ./_site/contributors/noel-walsham/index.html from ./src/contributors/noel-walsham.md.
4:08:53 PM: Writing ./_site/contributors/len-price/index.html from ./src/contributors/len-price.md.
4:08:53 PM: Writing ./_site/contributors/john-adams/index.html from ./src/contributors/john-adams.md.
4:08:53 PM: Writing ./_site/inter-territory/inter-territory-history/index.html from ./src/inter-territory/inter-territory-history.md.
4:08:53 PM: Writing ./_site/international/internationals/index.html from ./src/international/internationals.md.
4:08:53 PM: Writing ./_site/inter-territory/results/index.html from ./src/inter-territory/results.md.
4:08:53 PM: Writing ./_site/new-guinea/administrators/index.html from ./src/new-guinea/administrators.md.
4:08:53 PM: Writing ./_site/new-guinea/bulolo/index.html from ./src/new-guinea/bulolo.md.
4:08:53 PM: Writing ./_site/new-guinea/grounds/index.html from ./src/new-guinea/grounds.md.
4:08:53 PM: Writing ./_site/new-guinea/integration/index.html from ./src/new-guinea/integration.md.
4:08:53 PM: Writing ./_site/new-guinea/madang/index.html from ./src/new-guinea/madang.md.
4:08:53 PM: Writing ./_site/new-guinea/premierships/index.html from ./src/new-guinea/premierships.md.
4:08:53 PM: Writing ./_site/new-guinea/the-teams/index.html from ./src/new-guinea/the-teams.md.
4:08:53 PM: Writing ./_site/new-guinea/rabaul/index.html from ./src/new-guinea/rabaul.md.
4:08:53 PM: Writing ./_site/new-guinea/wewak/index.html from ./src/new-guinea/wewak.md.
4:08:53 PM: Writing ./_site/papua/administrators/index.html from ./src/papua/administrators.md.
4:08:53 PM: Writing ./_site/papua/grounds/index.html from ./src/papua/grounds.md.
4:08:53 PM: Writing ./_site/papua/the-teams/index.html from ./src/papua/the-teams.md.
4:08:53 PM: Writing ./_site/papua/old-history-page/index.html from ./src/papua/old-history-page.md.
4:08:53 PM: Writing ./_site/archives/index.html from ./src/archives.md.
4:08:53 PM: Copied 5 items / Wrote 46 files in 0.85 seconds (18.5ms each, v0.10.0)
4:38:20 PM: Build exceeded maximum allowed runtime
4:38:22 PM: Watching ./src/assets/sass...
4:38:22 PM: Uncaught exception: (more in DEBUG output)
4:38:22 PM: > src/assets/sass/main.scss: no such file or directory
4:38:22 PM: `Error` was thrown:
4:38:22 PM: Error: src/assets/sass/main.scss: no such file or directory
4:38:22 PM: at Object._newRenderError (/opt/build/repo/node_modules/sass/sass.dart.js:13628:19)
4:38:22 PM: at StaticClosure._renderSync (/opt/build/repo/node_modules/sass/sass.dart.js:13453:18)
4:38:22 PM: at Object.Primitives_applyFunction (/opt/build/repo/node_modules/sass/sass.dart.js:1064:30)
4:38:22 PM: at Object.Function_apply (/opt/build/repo/node_modules/sass/sass.dart.js:4895:16)
4:38:22 PM: at _callDartFunctionFast (/opt/build/repo/node_modules/sass/sass.dart.js:6577:16)
4:38:22 PM: at Object.renderSync (/opt/build/repo/node_modules/sass/sass.dart.js:6555:18)
4:38:22 PM: at FSWatcher.fs.watch (/opt/build/repo/utils/sass-process.js:21:34)
4:38:22 PM: at FSWatcher.emit (events.js:198:13)
4:38:22 PM: at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:131:12)
4:38:22 PM: Watching ./src/assets/sass...
4:38:22 PM: Uncaught exception: (more in DEBUG output)
4:38:22 PM: > src/assets/sass/main.scss: no such file or directory
4:38:22 PM: `Error` was thrown:
4:38:22 PM: Error: src/assets/sass/main.scss: no such file or directory
4:38:22 PM: at Object._newRenderError (/opt/build/repo/node_modules/sass/sass.dart.js:13628:19)
4:38:22 PM: at StaticClosure._renderSync (/opt/build/repo/node_modules/sass/sass.dart.js:13453:18)
4:38:22 PM: at Object.Primitives_applyFunction (/opt/build/repo/node_modules/sass/sass.dart.js:1064:30)
4:38:22 PM: at Object.Function_apply (/opt/build/repo/node_modules/sass/sass.dart.js:4895:16)
4:38:22 PM: at _callDartFunctionFast (/opt/build/repo/node_modules/sass/sass.dart.js:6577:16)
4:38:22 PM: at Object.renderSync (/opt/build/repo/node_modules/sass/sass.dart.js:6555:18)
4:38:22 PM: at FSWatcher.fs.watch (/opt/build/repo/utils/sass-process.js:21:34)
4:38:22 PM: at FSWatcher.emit (events.js:198:13)
4:38:22 PM: at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:131:12)
4:38:22 PM: Watching ./src/assets/sass...
4:38:22 PM: Uncaught exception: (more in DEBUG output)
4:38:22 PM: > src/assets/sass/main.scss: no such file or directory
4:38:22 PM: `Error` was thrown:
4:38:22 PM: Error: src/assets/sass/main.scss: no such file or directory
4:38:22 PM: at Object._newRenderError (/opt/build/repo/node_modules/sass/sass.dart.js:13628:19)
4:38:22 PM: at StaticClosure._renderSync (/opt/build/repo/node_modules/sass/sass.dart.js:13453:18)
4:38:22 PM: at Object.Primitives_applyFunction (/opt/build/repo/node_modules/sass/sass.dart.js:1064:30)
4:38:22 PM: at Object.Function_apply (/opt/build/repo/node_modules/sass/sass.dart.js:4895:16)
4:38:22 PM: at _callDartFunctionFast (/opt/build/repo/node_modules/sass/sass.dart.js:6577:16)
4:38:22 PM: at Object.renderSync (/opt/build/repo/node_modules/sass/sass.dart.js:6555:18)
4:38:22 PM: at FSWatcher.fs.watch (/opt/build/repo/utils/sass-process.js:21:34)
4:38:22 PM: at FSWatcher.emit (events.js:198:13)
4:38:22 PM: at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:131:12)
4:38:22 PM: Watching ./src/assets/sass...
4:38:22 PM: Uncaught exception: (more in DEBUG output)
4:38:22 PM: > src/assets/sass/main.scss: no such file or directory
4:38:22 PM: `Error` was thrown:
4:38:22 PM: Error: src/assets/sass/main.scss: no such file or directory
4:38:22 PM: at Object._newRenderError (/opt/build/repo/node_modules/sass/sass.dart.js:13628:19)
4:38:22 PM: at StaticClosure._renderSync (/opt/build/repo/node_modules/sass/sass.dart.js:13453:18)
4:38:22 PM: at Object.Primitives_applyFunction (/opt/build/repo/node_modules/sass/sass.dart.js:1064:30)
4:38:22 PM: at Object.Function_apply (/opt/build/repo/node_modules/sass/sass.dart.js:4895:16)
4:38:22 PM: at _callDartFunctionFast (/opt/build/repo/node_modules/sass/sass.dart.js:6577:16)
4:38:22 PM: at Object.renderSync (/opt/build/repo/node_modules/sass/sass.dart.js:6555:18)
4:38:22 PM: at FSWatcher.fs.watch (/opt/build/repo/utils/sass-process.js:21:34)
4:38:22 PM: at FSWatcher.emit (events.js:198:13)
4:38:22 PM: at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:131:12)
4:38:22 PM: Watching ./src/assets/sass...
4:38:22 PM: Uncaught exception: (more in DEBUG output)
4:38:22 PM: > src/assets/sass/main.scss: no such file or directory
4:38:22 PM: `Error` was thrown:
4:38:22 PM: Error: src/assets/sass/main.scss: no such file or directory
4:38:22 PM: at Object._newRenderError (/opt/build/repo/node_modules/sass/sass.dart.js:13628:19)
4:38:22 PM: at StaticClosure._renderSync (/opt/build/repo/node_modules/sass/sass.dart.js:13453:18)
4:38:22 PM: at Object.Primitives_applyFunction (/opt/build/repo/node_modules/sass/sass.dart.js:1064:30)
4:38:22 PM: at Object.Function_apply (/opt/build/repo/node_modules/sass/sass.dart.js:4895:16)
4:38:22 PM: at _callDartFunctionFast (/opt/build/repo/node_modules/sass/sass.dart.js:6577:16)
4:38:22 PM: at Object.renderSync (/opt/build/repo/node_modules/sass/sass.dart.js:6555:18)
4:38:22 PM: at FSWatcher.fs.watch (/opt/build/repo/utils/sass-process.js:21:34)
4:38:22 PM: at FSWatcher.emit (events.js:198:13)
4:38:22 PM: at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:131:12)
4:38:22 PM: Watching ./src/assets/sass...
4:38:22 PM: Uncaught exception: (more in DEBUG output)
4:38:22 PM: > src/assets/sass/main.scss: no such file or directory
4:38:22 PM: `Error` was thrown:
4:38:22 PM: Error: src/assets/sass/main.scss: no such file or directory
4:38:22 PM: at Object._newRenderError (/opt/build/repo/node_modules/sass/sass.dart.js:13628:19)
4:38:22 PM: at StaticClosure._renderSync (/opt/build/repo/node_modules/sass/sass.dart.js:13453:18)
4:38:22 PM: at Object.Primitives_applyFunction (/opt/build/repo/node_modules/sass/sass.dart.js:1064:30)
4:38:22 PM: at Object.Function_apply (/opt/build/repo/node_modules/sass/sass.dart.js:4895:16)
4:38:22 PM: at _callDartFunctionFast (/opt/build/repo/node_modules/sass/sass.dart.js:6577:16)
4:38:22 PM: at Object.renderSync (/opt/build/repo/node_modules/sass/sass.dart.js:6555:18)
4:38:22 PM: at FSWatcher.fs.watch (/opt/build/repo/utils/sass-process.js:21:34)
4:38:22 PM: at FSWatcher.emit (events.js:198:13)
4:38:22 PM: at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:131:12)
4:38:22 PM: Watching ./src/assets/sass...
4:38:22 PM: Uncaught exception: (more in DEBUG output)
4:38:22 PM: > src/assets/sass/main.scss: no such file or directory
4:38:22 PM: `Error` was thrown:
4:38:22 PM: Error: src/assets/sass/main.scss: no such file or directory
4:38:22 PM: at Object._newRenderError (/opt/build/repo/node_modules/sass/sass.dart.js:13628:19)
4:38:22 PM: at StaticClosure._renderSync (/opt/build/repo/node_modules/sass/sass.dart.js:13453:18)
4:38:22 PM: at Object.Primitives_applyFunction (/opt/build/repo/node_modules/sass/sass.dart.js:1064:30)
4:38:22 PM: at Object.Function_apply (/opt/build/repo/node_modules/sass/sass.dart.js:4895:16)
4:38:22 PM: at _callDartFunctionFast (/opt/build/repo/node_modules/sass/sass.dart.js:6577:16)
4:38:22 PM: at Object.renderSync (/opt/build/repo/node_modules/sass/sass.dart.js:6555:18)
4:38:22 PM: at FSWatcher.fs.watch (/opt/build/repo/utils/sass-process.js:21:34)
4:38:22 PM: at FSWatcher.emit (events.js:198:13)
4:38:22 PM: at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:131:12)
4:38:22 PM: Watching ./src/assets/sass...
4:38:22 PM: Uncaught exception: (more in DEBUG output)
4:38:22 PM: > src/assets/sass/main.scss: no such file or directory
4:38:22 PM: `Error` was thrown:
4:38:22 PM: Error: src/assets/sass/main.scss: no such file or directory
4:38:22 PM: at Object._newRenderError (/opt/build/repo/node_modules/sass/sass.dart.js:13628:19)
4:38:22 PM: at StaticClosure._renderSync (/opt/build/repo/node_modules/sass/sass.dart.js:13453:18)
4:38:22 PM: at Object.Primitives_applyFunction (/opt/build/repo/node_modules/sass/sass.dart.js:1064:30)
4:38:22 PM: at Object.Function_apply (/opt/build/repo/node_modules/sass/sass.dart.js:4895:16)
4:38:22 PM: at _callDartFunctionFast (/opt/build/repo/node_modules/sass/sass.dart.js:6577:16)
4:38:22 PM: at Object.renderSync (/opt/build/repo/node_modules/sass/sass.dart.js:6555:18)
4:38:22 PM: at FSWatcher.fs.watch (/opt/build/repo/utils/sass-process.js:21:34)
4:38:22 PM: at FSWatcher.emit (events.js:198:13)
4:38:22 PM: at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:131:12)