Hi I have a nuxt static generated site and after successfully adding the nuxt content module I started having issues rendering my markdown pages from the server side. I do not know what is the issue since everything works on development and also on other production environments. So I wonder if anyone have experienced this and how you solve it please.
My app is https://isra-apps-studio.netlify.app/
Custom domain is https://israapps-studio.com/
Settings
BUILD LOGS
8:04:30 PM: Build ready to start
8:04:32 PM: build-image version: b0258b965567defc4a2d7e2f2dec2e00c8f73ad6
8:04:32 PM: build-image tag: v3.4.1
8:04:32 PM: buildbot version: 648208d76731cd5bca75c1e9bc99d2032a1f1473
8:04:32 PM: Fetching cached dependencies
8:04:33 PM: Starting to download cache of 111.7MB
8:04:33 PM: Finished downloading cache in 906.376425ms
8:04:33 PM: Starting to extract cache
8:04:38 PM: Finished extracting cache in 4.95948925s
8:04:38 PM: Finished fetching cache in 5.939567884s
8:04:38 PM: Starting to prepare the repo for build
8:04:39 PM: Preparing Git Reference refs/heads/master
8:04:41 PM: Starting build script
8:04:41 PM: Installing dependencies
8:04:41 PM: Python version set to 2.7
8:04:42 PM: Started restoring cached node version
8:04:45 PM: Finished restoring cached node version
8:04:45 PM: v12.18.0 is already installed.
8:04:46 PM: Now using node v12.18.0 (npm v6.14.4)
8:04:46 PM: Started restoring cached build plugins
8:04:46 PM: Finished restoring cached build plugins
8:04:47 PM: Attempting ruby version 2.7.1, read from environment
8:04:49 PM: Using ruby version 2.7.1
8:04:49 PM: Using PHP version 5.6
8:04:49 PM: 5.2 is already installed.
8:04:49 PM: Using Swift version 5.2
8:04:49 PM: Started restoring cached node modules
8:04:49 PM: Finished restoring cached node modules
8:04:49 PM: Installing NPM modules using NPM version 6.14.4
8:05:01 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
8:05:01 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
8:05:01 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
8:05:01 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
8:05:01 PM: audited 1560 packages in 10.537s
8:05:02 PM: 119 packages are looking for funding
8:05:02 PM: run npm fund
for details
8:05:02 PM: found 0 vulnerabilities
8:05:02 PM: NPM modules installed
8:05:02 PM: Started restoring cached go cache
8:05:02 PM: Finished restoring cached go cache
8:05:02 PM: go version go1.14.4 linux/amd64
8:05:02 PM: go version go1.14.4 linux/amd64
8:05:02 PM: Installing missing commands
8:05:02 PM: Verify run directory
8:05:04 PM:
8:05:04 PM: ┌─────────────────────────────┐
8:05:04 PM: │ Netlify Build │
8:05:04 PM: └─────────────────────────────┘
8:05:04 PM:
8:05:04 PM: ❯ Version
8:05:04 PM: @netlify/build 4.0.4
8:05:04 PM:
8:05:04 PM: ❯ Flags
8:05:04 PM: deployId: 5f694d9e7113090008256d56
8:05:04 PM: mode: buildbot
8:05:04 PM:
8:05:04 PM: ❯ Current directory
8:05:04 PM: /opt/build/repo
8:05:04 PM:
8:05:04 PM: ❯ Config file
8:05:04 PM: No config file was defined: using default values.
8:05:04 PM:
8:05:04 PM: ❯ Context
8:05:04 PM: production
8:05:04 PM:
8:05:04 PM: ┌───────────────────────────────────┐
8:05:04 PM: │ 1. Build command from Netlify app │
8:05:04 PM: └───────────────────────────────────┘
8:05:04 PM:
8:05:04 PM: $ npm run prod
8:05:04 PM: > isra_apps_studio@1.0.0 prod /opt/build/repo
8:05:04 PM: > nuxt build --target static && nuxt generate
8:06:39 PM: [error] window is not defined
8:06:39 PM: at a.restartTimeout (pages/portfolio/index.js:1348:7)
8:06:39 PM: at un.run (node_modules/vue/dist/vue.runtime.common.prod.js:6:27543)
8:06:39 PM: at sn (node_modules/vue/dist/vue.runtime.common.prod.js:6:25554)
8:06:39 PM: at Array. (node_modules/vue/dist/vue.runtime.common.prod.js:6:12260)
8:06:39 PM: at Wt (node_modules/vue/dist/vue.runtime.common.prod.js:6:11661)
8:06:39 PM: at runNextTicks (internal/process/task_queues.js:62:5)
8:06:39 PM: at listOnTimeout (internal/timers.js:518:9)
8:06:39 PM: at processTimers (internal/timers.js:492:7)
8:06:43 PM:
8:06:43 PM: (build.command completed in 1m 39.3s)
8:06:43 PM:
8:06:43 PM: ┌─────────────────────────────┐
8:06:43 PM: │ Netlify Build Complete │
8:06:43 PM: └─────────────────────────────┘
8:06:43 PM:
8:06:43 PM: (Netlify Build completed in 1m 39.3s)
8:06:43 PM: Caching artifacts
8:06:43 PM: Started saving node modules
8:06:43 PM: Finished saving node modules
8:06:43 PM: Started saving build plugins
8:06:43 PM: Finished saving build plugins
8:06:43 PM: Started saving pip cache
8:06:43 PM: Finished saving pip cache
8:06:43 PM: Started saving emacs cask dependencies
8:06:43 PM: Finished saving emacs cask dependencies
8:06:43 PM: Started saving maven dependencies
8:06:43 PM: Finished saving maven dependencies
8:06:43 PM: Started saving boot dependencies
8:06:43 PM: Finished saving boot dependencies
8:06:43 PM: Started saving go dependencies
8:06:43 PM: Finished saving go dependencies
8:06:43 PM: Build script success
8:06:43 PM: Starting to deploy site from ‘dist’
8:06:43 PM: Creating deploy tree
8:06:43 PM: Creating deploy upload records
8:06:43 PM: 12 new files to upload
8:06:43 PM: 0 new functions to upload
8:06:44 PM: Starting post processing
8:06:44 PM: Post processing - HTML
8:06:45 PM: Post processing - header rules
8:06:45 PM: Post processing - redirect rules
8:06:45 PM: Post processing done
8:06:46 PM: Site is live
8:07:01 PM: Finished processing build request in 2m28.653460727s