node-scratch-client icon indicating copy to clipboard operation
node-scratch-client copied to clipboard

A client for the scratch 3.0 website.

Results 7 node-scratch-client issues
Sort by recently updated
recently updated
newest added

Now the comments API on Scratch has changed and using `Project.getComments()` will not work. However, comments can still be accessed via `https://scratch.mit.edu/site-api/comments/project//`, even though the response is in HTML. Maybe...

![image](https://user-images.githubusercontent.com/76009101/136882881-f44bdcfc-9728-4fbb-a0b6-69d1271aa7a2.png) **code:** const scratch = require("node-scratch-client"); // const fetch = require("node-fetch"); Commented out to improve loading times. Uncomment if needed. console.log("Successfully initialized external server components") console.log("Establishing connection to scratch...") //...

Sometimes when trying to connect to the cloud like this: ```js Client.login().then(() => { let cloud = Client.session.createCloudSession(548738926); cloud.connect().then(() => { console.log("Successfully connected to cloud!"); cloud.on("set", variable => { console.log("Cloud...

(node:566) UnhandledPromiseRejectionWarning: TypeError: JSON.parse(...).map is not a function at /home/runner/Amber-Studios/node_modules/node-scratch-client/src/Struct/Project.js:298:45 at processTicksAndRejections (internal/process/task_queues.js:97:5) is the given error

I cannot set a cloud variable using this. The error I get is ``` (node:4069) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'set' of undefined at CloudSession.setVariable (/rbd/pnpm-volume/e38efa70-1bc7-452e-891e-f660e6a03dfd/node_modules/.registry.npmjs.org/node-scratch-client/1.3.7/node_modules/node-scratch-client/src/Struct/CloudSession.js:35:27) at cloud.connect.then (/app/server.js:41:9) (node:4069)...

Bumps [ws](https://github.com/websockets/ws) from 7.4.6 to 7.5.10. Release notes Sourced from ws's releases. 7.5.10 Bug fixes Backported e55e5106 to the 7.x release line (22c28763). 7.5.9 Bug fixes Backported bc8bd34e to the...

dependencies