Deploying new site

condescending-feynman-5eeb05.netlify.app

12:23:47 PM: Build ready to start
12:23:48 PM: build-image version: d84c79427e8f83c1ba17bcdd7b3fe38059376b68
12:23:48 PM: build-image tag: v3.6.1
12:23:48 PM: buildbot version: df42d44cc6a0381cf657a671baf049c03981bafe
12:23:48 PM: Building without cache
12:23:48 PM: Starting to prepare the repo for build
12:23:49 PM: No cached dependencies found. Cloning fresh repo
12:23:49 PM: git clone GitHub - mcdonnelljames44/charity-responsive-template
12:23:50 PM: Preparing Git Reference refs/heads/main
12:23:51 PM: Starting build script
12:23:51 PM: Installing dependencies
12:23:51 PM: Python version set to 2.7
12:23:52 PM: v12.18.0 is already installed.
12:23:53 PM: Now using node v12.18.0 (npm v6.14.4)
12:23:53 PM: Started restoring cached build plugins
12:23:53 PM: Finished restoring cached build plugins
12:23:53 PM: Attempting ruby version 2.7.1, read from environment
12:23:54 PM: Using ruby version 2.7.1
12:23:54 PM: Using PHP version 5.6
12:23:54 PM: Started restoring cached node modules
12:23:54 PM: Finished restoring cached node modules
12:23:55 PM: Installing NPM modules using NPM version 6.14.4
12:23:55 PM: npm ERR! code EJSONPARSE
12:23:55 PM: npm ERR! file /opt/build/repo/package.json
12:23:55 PM: npm ERR! JSON.parse Failed to parse json
12:23:55 PM: npm ERR! JSON.parse Unexpected string in JSON at position 1010 while parsing '{npm ERR! JSON.parse “name”: "general-frontend-boilerplat’npm ERR! JSON.parse Failed to parse package.json data.
12:23:55 PM: npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.
12:23:55 PM: npm ERR! A complete log of this run can be found in:
12:23:55 PM: npm ERR! /opt/buildhome/.npm/_logs/2021-02-22T17_23_55_973Z-debug.log
12:23:55 PM: Error during NPM install
12:23:55 PM: Build was terminated: Build script returned non-zero exit code: 1
12:23:55 PM: Failing build: Failed to build site
12:23:56 PM: Failed during stage ‘building site’: Build script returned non-zero exit code: 1
12:23:56 PM: Finished processing build request in 7.267984759s

Hey there!

It looks like you put the browserslist setting inside of devDependencies instead of at the root level. Something like this:

{
  "name": "general-frontend-boilerplate",
  "description": "Project template based on Grunt task runner",
  "browserslist": [
    "defaults",
    "not IE 11",
    "maintained node versions"
  ],
  "devDependencies": {
    "@babel/core": "^7.3.3",
    "@babel/preset-env": "^7.3.1",
    "autoprefixer": "^9.4.7",
    "grunt": "^1.3.0",
    "grunt-babel": "^8.0.0",
    "grunt-browser-sync": "^2.2.0",
    "grunt-combine-media-queries": "^1.0.19",
    "grunt-contrib-clean": "^2.0.0",
    "grunt-contrib-htmlmin": "^3.0.0",
    "grunt-contrib-imagemin": "^3.1.0",
    "grunt-contrib-jshint": "^3.0.0",
    "grunt-contrib-pug": "^2.0.0",
    "grunt-contrib-sass": "^1.0.0",
    "grunt-contrib-stylus": "^1.2.0",
    "grunt-contrib-uglify": "^4.0.0",
    "grunt-contrib-watch": "^1.0.0",
    "grunt-newer": "^1.2.0",
    "grunt-postcss": "^0.9.0",
    "grunt-rigger": "^0.6.0",
    "grunt-rollup": "^9.0.0",
    "grunt-spritesmith": "^6.3.1",
    "grunt-sync": "^0.8.0",
    "load-grunt-config": "^1.0.2",
    "postcss-csso": "^3.0.0",
    "rollup": "^1.2.2",
    "rollup-plugin-babel": "^4.3.2"
  }
}