Discuss Scratch

dynamicsofscratch
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

zainsalimhassan wrote:

(#683)
Why does it take SO LONG!!???
reported because well even after notice you guys don't care.
dynamicsofscratch
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

yeeted the og post

Last edited by dynamicsofscratch (April 24, 2024 06:37:50)

SMI_Productions
Scratcher
4 posts

Guide to Modding Scratch 3.0

I attempted to npm install the blocks, but all I get is:
node:internal/crypto/hash:68
this[kHandle] = new _Hash(algorithm, xofLen);
^

Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at module.exports (E:\975 Productions\Champ\champ-blocks\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (E:\975 Productions\Champ\champ-blocks\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (E:\975 Productions\Champ\champ-blocks\node_modules\webpack\lib\NormalModule.js:471:10)
at E:\975 Productions\Champ\champ-blocks\node_modules\webpack\lib\NormalModule.js:503:5
at E:\975 Productions\Champ\champ-blocks\node_modules\webpack\lib\NormalModule.js:358:12
at E:\975 Productions\Champ\champ-blocks\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (E:\975 Productions\Champ\champ-blocks\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at Array.<anonymous> (E:\975 Productions\Champ\champ-blocks\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
at Storage.finished (E:\975 Productions\Champ\champ-blocks\node_modules\webpack\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
at E:\975 Productions\Champ\champ-blocks\node_modules\webpack\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9
at E:\975 Productions\Champ\champ-blocks\node_modules\graceful-fs\graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v20.11.1
npm ERR! code 1
npm ERR! path E:\975 Productions\Champ\champ-blocks
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c python2 build.py && webpack
How do I fix this?
dynamicsofscratch
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

SMI_Productions wrote:

(#685)
I attempted to npm install the blocks, but all I get is:
node:internal/crypto/hash:68
this[kHandle] = new _Hash(algorithm, xofLen);
^

Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at module.exports (E:\975 Productions\Champ\champ-blocks\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (E:\975 Productions\Champ\champ-blocks\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (E:\975 Productions\Champ\champ-blocks\node_modules\webpack\lib\NormalModule.js:471:10)
at E:\975 Productions\Champ\champ-blocks\node_modules\webpack\lib\NormalModule.js:503:5
at E:\975 Productions\Champ\champ-blocks\node_modules\webpack\lib\NormalModule.js:358:12
at E:\975 Productions\Champ\champ-blocks\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (E:\975 Productions\Champ\champ-blocks\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at Array.<anonymous> (E:\975 Productions\Champ\champ-blocks\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
at Storage.finished (E:\975 Productions\Champ\champ-blocks\node_modules\webpack\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
at E:\975 Productions\Champ\champ-blocks\node_modules\webpack\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9
at E:\975 Productions\Champ\champ-blocks\node_modules\graceful-fs\graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:68:3) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v20.11.1
npm ERR! code 1
npm ERR! path E:\975 Productions\Champ\champ-blocks
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c python2 build.py && webpack
How do I fix this?
try yarn or
npm install scratch-blocks
Charlieonthego
Scratcher
34 posts

Guide to Modding Scratch 3.0

After I put
npm install
it said
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Users\charl\Downloads\myScratchExtensions/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\charl\Downloads\myScratchExtensions\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
ScratchBatchy12345
Scratcher
2 posts

Guide to Modding Scratch 3.0

Thanks, very helpful.
Thesodakingfan2017
Scratcher
23 posts

Guide to Modding Scratch 3.0

3.0 into scratch 1.4
dynamicsofscratch
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

Thesodakingfan2017 wrote:

(#690)
3.0 into scratch 1.4
??what
56-s
Scratcher
500+ posts

Guide to Modding Scratch 3.0

A easier way is to just copy the scratch project and put in a GitHub webpage like this https://659in.github.io/Scratch-3.0-play/master/ tho it will show the 2019 scratch instead of the current one.
56-s
Scratcher
500+ posts

Guide to Modding Scratch 3.0

bump
dynamicsofscratch
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

A C modding option should be there for scratch
would run so fast
56-s
Scratcher
500+ posts

Guide to Modding Scratch 3.0

dynamicsofscratch wrote:

A C modding option should be there for scratch
would run so fast
But it would be soo hard
Thesodakingfan2017
Scratcher
23 posts

Guide to Modding Scratch 3.0

My browser / operating system:
  • Windows NT 10.0
, Chrome 125.0.0.0, No Flash version detected
Charlieonthego
Scratcher
34 posts

Guide to Modding Scratch 3.0

XXXXXXXXXXXXXXXX
Thesodakingfan2017
Scratcher
23 posts

Guide to Modding Scratch 3.0

Scratch 4.0
b4fi0ih8
Scratcher
0 posts

Guide to Modding Scratch 3.0

*pfft* I don't like nodejs
Charlieonthego
Scratcher
34 posts

Guide to Modding Scratch 3.0

When I put the following
npm install
it said
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: worker-loader@2.0.0
npm WARN Found: webpack@5.91.0
npm WARN node_modules/webpack
npm WARN dev webpack@"5.91.0" from the root project
npm WARN 16 more (@webpack-cli/configtest, @webpack-cli/info, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer webpack@"^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0" from worker-loader@2.0.0
npm WARN node_modules/worker-loader
npm WARN worker-loader@"^2.0.0" from scratch-storage@2.3.28
npm WARN node_modules/scratch-storage
npm WARN
npm WARN Conflicting peer dependency: webpack@4.47.0
npm WARN node_modules/webpack
npm WARN peer webpack@"^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0" from worker-loader@2.0.0
npm WARN node_modules/worker-loader
npm WARN worker-loader@"^2.0.0" from scratch-storage@2.3.28
npm WARN node_modules/scratch-storage

> scratch-gui@4.0.4 prepublish
> node scripts/prepublish.mjs

'\\wsl.localhost\Ubuntu\home\adduser\scratch-gui'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
node:internal/modules/cjs/loader:1147
throw err;
^

Error: Cannot find module 'C:\Windows\scripts\prepublish.mjs'
at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
at Module._load (node:internal/modules/cjs/loader:985:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}

Node.js v20.11.1
npm ERR! code 1
npm ERR! path \\wsl.localhost\Ubuntu\home\adduser\scratch-gui
npm ERR! command failed
npm ERR! command C:\windows\system32\cmd.exe /d /s /c node scripts/prepublish.mjs

npm ERR! A complete log of this run can be found in: C:\Users\charl\AppData\Local\npm-cache\_logs\2024-06-04T08_28_11_639Z-debug-0.log
alphabetlorev2
Scratcher
1 post

Guide to Modding Scratch 3.0

No
Thesodakingfan2017
Scratcher
23 posts

Guide to Modding Scratch 3.0

nothing bans…
Homame
Scratcher
2 posts

Guide to Modding Scratch 3.0

can you explain how to make scratch mod

Powered by DjangoBB