Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to V3.x [Scratch] #363

Open
laozhou0731 opened this issue Aug 17, 2023 · 3 comments
Open

update to V3.x [Scratch] #363

laozhou0731 opened this issue Aug 17, 2023 · 3 comments
Labels
bug Type label, something isn't working feature Type label, New feature or request

Comments

@laozhou0731
Copy link
Contributor

laozhou0731 commented Aug 17, 2023

What type of your feature request?

Scratch已更新组织并有大版本更新,请尝试更新产品,发布新版。

https://github.com/scratchfoundation/scratch-gui/releases?page=1

dockerfile build error

#12 84.35 <s> [webpack.Progress] 70% building 3409/3409 modules 0 active 
#12 84.55 npm ERR! code ELIFECYCLE
#12 84.55 npm ERR! errno 1
#12 84.56 npm ERR! scratch-gui@3.2.37 build: `npm run clean && webpack --colors --bail`
#12 84.56 npm ERR! Exit status 1
#12 84.56 npm ERR! 
#12 84.56 npm ERR! Failed at the scratch-gui@3.2.37 build script.
#12 84.56 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
#12 84.56 
#12 84.56 npm ERR! A complete log of this run can be found in:
#12 84.56 npm ERR!     /root/.npm/_logs/2024-01-06T03_27_21_968Z-debug.log
#12 ERROR: process "/bin/sh -c cd /data/scratch-gui && npm install && npm run build" did not complete successfully: exit code: 1
------
 > [builder 4/4] RUN cd /data/scratch-gui && npm install && npm run build:
84.55 npm ERR! code ELIFECYCLE
84.55 npm ERR! errno 1
84.56 npm ERR! scratch-gui@3.2.37 build: `npm run clean && webpack --colors --bail`
84.56 npm ERR! Exit status 1
84.56 npm ERR! 
84.56 npm ERR! Failed at the scratch-gui@3.2.37 build script.
84.56 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
84.56 
84.56 npm ERR! A complete log of this run can be found in:
84.56 npm ERR!     /root/.npm/_logs/2024-01-06T03_27_21_968Z-debug.log
@laozhou0731 laozhou0731 added the feature Type label, New feature or request label Aug 17, 2023
@qiaofeng1227
Copy link
Contributor

qiaofeng1227 commented Aug 24, 2023

how to run scratch :
Install->build->copy build files to nginx

@zhaojing1987
Copy link
Contributor

This is the Scratch GUI 2.3.13:

Image

@qiaofeng1227
Copy link
Contributor

 > [builder 4/4] RUN cd /data/scratch-gui && npm install && npm run build:
94.47 npm ERR! code ELIFECYCLE
94.47 npm ERR! errno 1
94.48 npm ERR! scratch-gui@3.2.37 build: `npm run clean && webpack --colors --bail`
94.48 npm ERR! Exit status 1
94.48 npm ERR! 
94.48 npm ERR! Failed at the scratch-gui@3.2.37 build script.
94.48 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
94.48 
94.48 npm ERR! A complete log of this run can be found in:
94.48 npm ERR!     /root/.npm/_logs/2023-11-27T10_09_31_940Z-debug.log
------
Dockerfile:11
--------------------
   9 |     
  10 |     RUN git clone --depth=1 https://github.com/scratchfoundation/scratch-gui /data/scratch-gui
  11 | >>> RUN cd /data/scratch-gui && npm install && npm run build
  12 |     
  13 |     FROM nginx:1.15-alpine
--------------------
ERROR: failed to solve: process "/bin/sh -c cd /data/scratch-gui && npm install && npm run build" did not complete successfully: exit code: 1
Error: Command failed: docker build -f Dockerfile -t docker.io/websoft9dev/scratch:latest .

@qiaofeng1227 qiaofeng1227 changed the title 请更新至V2.3.3 [Scratch] 请更新至V3.x [Scratch] Nov 29, 2023
@chendelin1982 chendelin1982 changed the title 请更新至V3.x [Scratch] update to V3.x [Scratch] Jan 6, 2024
@chendelin1982 chendelin1982 added the bug Type label, something isn't working label Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type label, something isn't working feature Type label, New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants