Closed hezygo closed 1 year ago
i install the theme by the shell following without any other action on a new ubuntu 2004 server
sudo apt-get install npm npm install @vuepress-reco/theme-cli@1.0.7 -g theme-cli init
bby@server:~/alone$ cat /home/bby/.npm/_logs/2023-02-22T06_32_03_222Z-debug.log 0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'build' ] 2 info using npm@6.14.4 3 info using node@v10.19.0 4 verbose run-script [ 'prebuild', 'build', 'postbuild' ] 5 info lifecycle vuepress-theme-reco-demo@2.0.0~prebuild: vuepress-theme-reco-demo@2.0.0 6 info lifecycle vuepress-theme-reco-demo@2.0.0~build: vuepress-theme-reco-demo@2.0.0 7 verbose lifecycle vuepress-theme-reco-demo@2.0.0~build: unsafe-perm in lifecycle true 8 verbose lifecycle vuepress-theme-reco-demo@2.0.0~build: PATH: /usr/share/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/bby/alone/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 9 verbose lifecycle vuepress-theme-reco-demo@2.0.0~build: CWD: /home/bby/alone 10 silly lifecycle vuepress-theme-reco-demo@2.0.0~build: Args: [ '-c', 'vuepress build .' ] 11 silly lifecycle vuepress-theme-reco-demo@2.0.0~build: Returned: code: 1 signal: null 12 info lifecycle vuepress-theme-reco-demo@2.0.0~build: Failed to exec build script 13 verbose stack Error: vuepress-theme-reco-demo@2.0.0 build: `vuepress build .` 13 verbose stack Exit status 1 13 verbose stack at EventEmitter.<anonymous> (/usr/share/npm/node_modules/npm-lifecycle/index.js:332:16) 13 verbose stack at EventEmitter.emit (events.js:198:13) 13 verbose stack at ChildProcess.<anonymous> (/usr/share/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 13 verbose stack at ChildProcess.emit (events.js:198:13) 13 verbose stack at maybeClose (internal/child_process.js:982:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) 14 verbose pkgid vuepress-theme-reco-demo@2.0.0 15 verbose cwd /home/bby/alone 16 verbose Linux 5.15.0-52-generic 17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "build" 18 verbose node v10.19.0 19 verbose npm v6.14.4 20 error code ELIFECYCLE 21 error errno 1 22 error vuepress-theme-reco-demo@2.0.0 build: `vuepress build .` 22 error Exit status 1 23 error Failed at the vuepress-theme-reco-demo@2.0.0 build script. 23 error This is probably not a problem with npm. There is likely additional logging output above.
i have tried change the beta version of dependencies about beta.60,beta.48 etc
Bug report
What is actually happening?
i install the theme by the shell following without any other action on a new ubuntu 2004 server
Other relevant information
replenish
i have tried change the beta version of dependencies about beta.60,beta.48 etc