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

【BUG】部署可视化开发平台上做好的前端代码,部署时报错 #1295

Open
zhangyunjie118 opened this issue Jun 24, 2024 · 0 comments
Labels
bug 验收或线上环境bug

Comments

@zhangyunjie118
Copy link

**版本(The versions used):7.1

**发生了什么(What happened):部署可视化开发平台上做好的前端代码,部署时报错,代码都是lesscode生成的,部署还不成功,新建的空应用部署也报这个错误,我很费解

**期望是什么(What you expected to happen):页面能成功部署

**如何复现(How to reproduce it):1. 在低代码平台创建空白前端应用 2. 部署应用

**相关的日志详情和截图等(Log & Screenshot):
2024-06-24 14:17:02
npm ERR!

2024-06-24 14:17:02
npm ERR! Exit status 1

2024-06-24 14:17:02
npm ERR! /app/.npm/_logs/2024-06-24T06_17_02_851Z-debug.log

2024-06-24 14:17:02
npm ERR! A complete log of this run can be found in:

2024-06-24 14:17:02

2024-06-24 14:17:05
�[1m-----> Starting slug runner heroku-18

2024-06-24 14:17:05
Using config file: /etc/pilot.yaml

2024-06-24 14:17:05
�[0m�[1m-----> Fetching slug...

2024-06-24 14:17:05
�[0m�[1m-----> Step setup begin

2024-06-24 14:17:13
�[0m�[1m-----> Executing command by exec:/bin/bash

2024-06-24 14:17:13
�[0m�[m Step finish done, duration 460ns

2024-06-24 14:17:13
�[0m�[1m-----> Step finish begin

2024-06-24 14:17:13
�[0m�[m Step analysis done, duration 350.522µs

2024-06-24 14:17:13
�[0m�[m Process web: npm run online

2024-06-24 14:17:13
�[0m�[1m-----> Analysising Procfile: 2 processes

2024-06-24 14:17:13
�[0m�[1m-----> Step analysis begin

2024-06-24 14:17:13
�[0m�[m Step setup done, duration 8.473559386s

2024-06-24 14:17:13
�[0m�[93;1m ! Failed to create slug downloaded flag.(open /app/.skip_download_slug: no such file or directory)

2024-06-24 14:17:13
�[0m�[m Slug size is 133 MB, duration: 8.472038437s

2024-06-24 14:17:14

2024-06-24 14:17:14

better-npm-run online

2024-06-24 14:17:14

[email protected] online /app

2024-06-24 14:17:14
�[0m

2024-06-24 14:17:15
running better-npm-run in /app

2024-06-24 14:17:15

2024-06-24 14:17:15
Executing script: online

2024-06-24 14:17:15
to be executed: node lib/server/app.browser.js

2024-06-24 14:17:17
at TraversalContext.visitQueue (/app/node_modules/@babel/traverse/src/context.ts:147:16)

2024-06-24 14:17:17
at NodePath.visit (/app/node_modules/@babel/traverse/src/path/context.ts:101:33)

2024-06-24 14:17:17
at traverseNode (/app/node_modules/@babel/traverse/src/traverse-node.ts:40:17)

2024-06-24 14:17:17
at TraversalContext.visit (/app/node_modules/@babel/traverse/src/context.ts:179:19)

2024-06-24 14:17:17
at TraversalContext.visitSingle (/app/node_modules/@babel/traverse/src/context.ts:108:19)

2024-06-24 14:17:17
at TraversalContext.visitQueue (/app/node_modules/@babel/traverse/src/context.ts:147:16)

2024-06-24 14:17:17
at NodePath.visit (/app/node_modules/@babel/traverse/src/path/context.ts:101:33)

2024-06-24 14:17:17
at traverseNode (/app/node_modules/@babel/traverse/src/traverse-node.ts:40:17)

2024-06-24 14:17:17
at TraversalContext.visit (/app/node_modules/@babel/traverse/src/context.ts:177:19)

2024-06-24 14:17:17
at TraversalContext.visitMultiple (/app/node_modules/@babel/traverse/src/context.ts:98:17)

2024-06-24 14:17:17
at TraversalContext.visitQueue (/app/node_modules/@babel/traverse/src/context.ts:147:16)

2024-06-24 14:17:17
at NodePath.visit (/app/node_modules/@babel/traverse/src/path/context.ts:101:33)

2024-06-24 14:17:17
at traverseNode (/app/node_modules/@babel/traverse/src/traverse-node.ts:40:17)

2024-06-24 14:17:17
at TraversalContext.visit (/app/node_modules/@babel/traverse/src/context.ts:179:19)

2024-06-24 14:17:17
at TraversalContext.visitSingle (/app/node_modules/@babel/traverse/src/context.ts:108:19)

2024-06-24 14:17:17
at TraversalContext.visitQueue (/app/node_modules/@babel/traverse/src/context.ts:147:16)

2024-06-24 14:17:17
at NodePath.visit (/app/node_modules/@babel/traverse/src/path/context.ts:101:33)

2024-06-24 14:17:17
at traverseNode (/app/node_modules/@babel/traverse/src/traverse-node.ts:40:17)

2024-06-24 14:17:17
at TraversalContext.visit (/app/node_modules/@babel/traverse/src/context.ts:177:19)

2024-06-24 14:17:17
at TraversalContext.visitMultiple (/app/node_modules/@babel/traverse/src/context.ts:98:17)

2024-06-24 14:17:17
at TraversalContext.visitQueue (/app/node_modules/@babel/traverse/src/context.ts:147:16)

2024-06-24 14:17:17
at NodePath.visit (/app/node_modules/@babel/traverse/src/path/context.ts:101:33)

2024-06-24 14:17:17
at traverseNode (/app/node_modules/@babel/traverse/src/traverse-node.ts:40:17)

2024-06-24 14:17:17
at TraversalContext.visit (/app/node_modules/@babel/traverse/src/context.ts:177:19)

2024-06-24 14:17:17
at TraversalContext.visitMultiple (/app/node_modules/@babel/traverse/src/context.ts:98:17)

2024-06-24 14:17:17
at TraversalContext.visitQueue (/app/node_modules/@babel/traverse/src/context.ts:147:16)

2024-06-24 14:17:17
at NodePath.visit (/app/node_modules/@babel/traverse/src/path/context.ts:101:33)

2024-06-24 14:17:17
at traverseNode (/app/node_modules/@babel/traverse/src/traverse-node.ts:40:17)

2024-06-24 14:17:17
at TraversalContext.visit (/app/node_modules/@babel/traverse/src/context.ts:177:19)

2024-06-24 14:17:17
at TraversalContext.visitMultiple (/app/node_modules/@babel/traverse/src/context.ts:98:17)

2024-06-24 14:17:17
at TraversalContext.visitQueue (/app/node_modules/@babel/traverse/src/context.ts:147:16)

2024-06-24 14:17:17
at NodePath.visit (/app/node_modules/@babel/traverse/src/path/context.ts:101:33)

2024-06-24 14:17:17
at traverseNode (/app/node_modules/@babel/traverse/src/traverse-node.ts:40:17)

2024-06-24 14:17:17
at TraversalContext.visit (/app/node_modules/@babel/traverse/src/context.ts:179:19)

2024-06-24 14:17:17
at TraversalContext.visitSingle (/app/node_modules/@babel/traverse/src/context.ts:108:19)

2024-06-24 14:17:17
at TraversalContext.visitQueue (/app/node_modules/@babel/traverse/src/context.ts:147:16)

2024-06-24 14:17:17
at NodePath.visit (/app/node_modules/@babel/traverse/src/path/context.ts:94:31)

2024-06-24 14:17:17
at NodePath.call (/app/node_modules/@babel/traverse/src/path/context.ts:20:17)

2024-06-24 14:17:17
at NodePath._call (/app/node_modules/@babel/traverse/src/path/context.ts:35:20)

2024-06-24 14:17:17
at call (/app/node_modules/@babel/traverse/src/visitors.ts:304:14)

2024-06-24 14:17:17
at PluginPass.call (/app/node_modules/babel-plugin-parameter-decorator/lib/index.js:201:44)

2024-06-24 14:17:17
at Array.forEach ()

2024-06-24 14:17:17
at /app/node_modules/babel-plugin-parameter-decorator/lib/index.js:204:30

2024-06-24 14:17:17
at Array.forEach ()

2024-06-24 14:17:17
at /app/node_modules/babel-plugin-parameter-decorator/lib/index.js:257:29

2024-06-24 14:17:17
TypeError: /app/lib/server/controller/bkvision.js: Cannot read property 'insertAfter' of null

2024-06-24 14:17:17

2024-06-24 14:17:17
^

2024-06-24 14:17:17
throw e;

2024-06-24 14:17:17
/app/node_modules/@babel/core/lib/transformation/index.js:31

2024-06-24 14:17:17
}

2024-06-24 14:17:17
code: 'BABEL_TRANSFORM_ERROR'

2024-06-24 14:17:17
at TraversalContext.visitQueue (/app/node_modules/@babel/traverse/src/context.ts:147:16) {

2024-06-24 14:17:17
at NodePath.visit (/app/node_modules/@babel/traverse/src/path/context.ts:101:33)

2024-06-24 14:17:17
at traverseNode (/app/node_modules/@babel/traverse/src/traverse-node.ts:40:17)

2024-06-24 14:17:17
at TraversalContext.visit (/app/node_modules/@babel/traverse/src/context.ts:179:19)

2024-06-24 14:17:17
at TraversalContext.visitSingle (/app/node_modules/@babel/traverse/src/context.ts:108:19)

2024-06-24 14:17:17
at TraversalContext.visitQueue (/app/node_modules/@babel/traverse/src/context.ts:153:21)

2024-06-24 14:17:17
at TraversalContext.visitQueue (/app/node_modules/@babel/traverse/src/context.ts:147:16)

2024-06-24 14:17:17
at NodePath.visit (/app/node_modules/@babel/traverse/src/path/context.ts:101:33)

2024-06-24 14:17:17
at traverseNode (/app/node_modules/@babel/traverse/src/traverse-node.ts:40:17)

2024-06-24 14:17:17
at TraversalContext.visit (/app/node_modules/@babel/traverse/src/context.ts:179:19)

2024-06-24 14:17:17
at TraversalContext.visitSingle (/app/node_modules/@babel/traverse/src/context.ts:108:19)

2024-06-24 14:17:17
npm ERR! code ELIFECYCLE

2024-06-24 14:17:17
npm ERR! errno 1

2024-06-24 14:17:17
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

2024-06-24 14:17:17
npm ERR! Failed at the [email protected] online script.

2024-06-24 14:17:17
npm ERR!

2024-06-24 14:17:17
npm ERR! Exit status 1

2024-06-24 14:17:17
npm ERR! [email protected] online: better-npm-run online

2024-06-24 14:17:17
npm ERR! /app/.npm/_logs/2024-06-24T06_17_17_727Z-debug.log

2024-06-24 14:17:17
npm ERR! A complete log of this run can be found in:

2024-06-24 14:17:17

备注(Anything else we need to know):

@zhangyunjie118 zhangyunjie118 added the bug 验收或线上环境bug label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 验收或线上环境bug
Projects
None yet
Development

No branches or pull requests

1 participant