Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Guide to Modding Scratch 3.0
- Ciyob86
- Scratcher
500+ posts
Guide to Modding Scratch 3.0
Removed
Last edited by Ciyob86 (Aug. 13, 2021 19:05:54)
- kccuber
- Scratcher
1000+ posts
Guide to Modding Scratch 3.0
/mnt/c/Program Files/nodejs/npm: line 3: $'\r': command not found
/mnt/c/Program Files/nodejs/npm: line 5: $'\r': command not found
/mnt/c/Program Files/nodejs/npm: line 6: syntax error near unexpected token `$'in\r''
'mnt/c/Program Files/nodejs/npm: line 6: `case `uname` in
- Ciyob86
- Scratcher
500+ posts
Guide to Modding Scratch 3.0
https://docs.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-wslTrying to NPM install in the scratch-blocks folder using WSL gives me this. Any idea? Should I reinstall node? (Node itself works in WSL just that NPM doesn't)/mnt/c/Program Files/nodejs/npm: line 3: $'\r': command not found
/mnt/c/Program Files/nodejs/npm: line 5: $'\r': command not found
/mnt/c/Program Files/nodejs/npm: line 6: syntax error near unexpected token `$'in\r''
'mnt/c/Program Files/nodejs/npm: line 6: `case `uname` in
- kccuber_alt
- Scratcher
100+ posts
Guide to Modding Scratch 3.0
tysm, will try thishttps://docs.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-wslTrying to NPM install in the scratch-blocks folder using WSL gives me this. Any idea? Should I reinstall node? (Node itself works in WSL just that NPM doesn't)/mnt/c/Program Files/nodejs/npm: line 3: $'\r': command not found
/mnt/c/Program Files/nodejs/npm: line 5: $'\r': command not found
/mnt/c/Program Files/nodejs/npm: line 6: syntax error near unexpected token `$'in\r''
'mnt/c/Program Files/nodejs/npm: line 6: `case `uname` in
yes, i am kccuber
- kccuber_alt
- Scratcher
100+ posts
Guide to Modding Scratch 3.0
reinstall python2 by connecting the universe repository and then doingI'm already using WSLAre you using Windows? The build script doesn't work there – try using WSL. When I try to npm install scratch-blocks it says that I don't have python installed even though I installed it
(removed image)
sudo apt install python2
yes, i am kccuber
- Ciyob86
- Scratcher
500+ posts
Guide to Modding Scratch 3.0
Thanks!, I’ll try that when I get off mobilereinstall python2 by connecting the universe repository and then doingI'm already using WSLAre you using Windows? The build script doesn't work there – try using WSL. When I try to npm install scratch-blocks it says that I don't have python installed even though I installed it
(removed image)sudo apt install python2
- kccuber_alt
- Scratcher
100+ posts
Guide to Modding Scratch 3.0
bruh why install scratchblocks just use tw
we want to mod scratch not mod turbowarp
and can someone tellme what this is
Required namespace "goog.events.EventWrapper" never defined.
??? at line 57:
goog.requireType('goog.events.EventWrapper');
yes, i am kccuber
- Venatus_123
- Scratcher
1000+ posts
Guide to Modding Scratch 3.0
event block? and can someone tellme what this isRequired namespace "goog.events.EventWrapper" never defined.
??? at line 57:
goog.requireType('goog.events.EventWrapper');
bug with pfp?
- samq64
- Scratcher
1000+ posts
Guide to Modding Scratch 3.0
I can't install scratch-blocks. I have python 2.x installed. I've tried uninstalling python 3.x, restarting my computer and reinstalling python 2.x making sure to enable PATH environment variables.
Last edited by samq64 (Aug. 24, 2021 19:32:39)
- Ciyob86
- Scratcher
500+ posts
Guide to Modding Scratch 3.0
Use WSL I can't npm install scratch-blocks. I have python 2.x installed. I've tried uninstalling python 3.x, restarting my computer and reinstalling python 2.x making sure to enable PATH environment variables.
also why is your user named hp
Last edited by Ciyob86 (Aug. 24, 2021 19:40:45)
- samq64
- Scratcher
1000+ posts
Guide to Modding Scratch 3.0
Is there another way? Use WSL
Last edited by samq64 (Aug. 24, 2021 19:46:49)
- kccuber_alt
- Scratcher
100+ posts
Guide to Modding Scratch 3.0
yeah, change the package.json to be “python build.py && webpack”Is there another way? Use WSL
(it's on line 16)
because for some reason the newest installed python, doesn't matter what version, takes over the “python” PATH
Last edited by kccuber_alt (Aug. 24, 2021 20:24:51)
yes, i am kccuber
- kccuber_alt
- Scratcher
100+ posts
Guide to Modding Scratch 3.0
please help. aaaa
please help, i already ran “npm run translate” and after that prepublish the scratchblocks and build the GUI again
yes, i am kccuber
- Venatus_123
- Scratcher
1000+ posts
Guide to Modding Scratch 3.0
AAAAAAAAAAAAAAAAAAAAplease help. aaaa
please help, i already ran “npm run translate” and after that prepublish the scratchblocks and build the GUI again
do you have github or somtinnnnnnnnnnnnnnnojwd;owedwD
bug with pfp?
- kccuber
- Scratcher
1000+ posts
Guide to Modding Scratch 3.0
no i dont have a github acc, id like help fixing AAAAAAAAAAAAAAAAAAAAjust this red block
do you have github or somtinnnnnnnnnnnnnnnojwd;owedwD
- Ciyob86
- Scratcher
500+ posts
Guide to Modding Scratch 3.0
That's because you didn't define the block in the scratch-gui or scratch-vmno i dont have a github acc, id like help fixing AAAAAAAAAAAAAAAAAAAAjust this red block
do you have github or somtinnnnnnnnnnnnnnnojwd;owedwD
Last edited by Ciyob86 (Aug. 25, 2021 16:00:38)
- kccuber_alt
- Scratcher
100+ posts
Guide to Modding Scratch 3.0
i did:That's because you didn't define the block in the scratch-gui or scratch-vmno i dont have a github acc, id like help fixing AAAAAAAAAAAAAAAAAAAAjust this red block
do you have github or somtinnnnnnnnnnnnnnnojwd;owedwD
yes, i am kccuber
- Maximouse
- Scratcher
1000+ posts
Guide to Modding Scratch 3.0
Running npm run prepublish again after npm run translate probably helps.
- kccuber_alt
- Scratcher
100+ posts
Guide to Modding Scratch 3.0
npm run prepublish again after npm run translate probably helps.aight, lemme try Running
nope, still didn't work
Last edited by kccuber_alt (Aug. 26, 2021 21:06:56)
yes, i am kccuber