/opt/watcher/source/app-picker.ts:105:37 error

It keeps doing this error:

SyntaxError: Unexpected token } in JSON at position 241
    at JSON.parse (<anonymous>)
    at /opt/watcher/source/app-picker.ts:105:37
    at ChildProcess.exithandler (child_process.js:285:7)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:962:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)

i cant replace “app-watcher.js” because i dont have any permissions, how can i fix it??
Remixing the project doesnt help…
rewinding doesnt help too

MOD EDIT: formatting

Hey there, it looks like the first line of that error message is the important one. Can you provide your package.json or the name of your project?

project name: katzebot

“//1”: “describes your app and its dependencies”,
“//2”: “https://docs.npmjs.com/files/package.json”,
“//3”: “updating this file will download and update your packages”,
“name”: “hello-express”,
“version”: “0.0.1”,
“description”: “A simple Node app built on Express, instantly up and running.”,
“main”: “server.js”,
“scripts”: {
“start”: “node server.js”
“dependencies”: {
“express”: “^4.16.4”,
“discord.js”: “discordjs/discord.js#master”,
“discord.js-commando”: “discordjs/Commando#master”,
“quick.db”: “^6.3.2”,
“common-tags”: “^1.8.0”,
“escape-string-regexp”: “^1.0.5”,
“require-all”: “^3.0.0”,
“discord-rpc”: “^3.0.1”,
“sqlite”: “^3.0.0”,
“no-swears”: “^1.1.2”,
“oneline”: “^1.0.0”,
“canvas”: “^2.1.0”,
“snekfetch”: “^4.0.4”
“engines”: {
“node”: “8.x”
“repository”: {
“url”: ----------------------
“license”: “MIT”,
“keywords”: [

Ha, that took me entirely too long to suss out.

The problem is actually with your watch.json file. You have a trailing comma on the throttle line. Removing that in a remix of you project got me past that error.

Let us know if that doesn’t help. Happy Glitching!

what?? can you send me the new watch .json file i am such a noob