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

build template error #2

Open
wiwengweng opened this issue Apr 19, 2021 · 0 comments
Open

build template error #2

wiwengweng opened this issue Apr 19, 2021 · 0 comments

Comments

@wiwengweng
Copy link

maybe the dependencies are updated by Mendix, and the build failed, today. Following info is for your info:

[widgetBase] external "mxui/widget/_WidgetBase" 42 bytes {app} [built]
+ 337 hidden modules
(node:8468) UnhandledPromiseRejectionWarning: Error: Command failed: node package.xml.js && cd build && zip -r vue-template.mpk * && cp vue-template.mpk ./../mendix/widgets/ && cp -rf vue-template ./../mendix/deployment/web/widgets/ && echo Widget copied to /mendix/widgets. Re-run your Mendix project to see changes.
at checkExecSyncError (child_process.js:630:11)
at execSync (child_process.js:666:15)
at WebpackShellPlugin.handleScript (D:\mendix\vue-template\node_modules\webpack-shell-plugin-next\lib\index.js:132:22)
at WebpackShellPlugin._callee$ (D:\mendix\vue-template\node_modules\webpack-shell-plugin-next\lib\index.js:185:24)
at tryCatch (D:\mendix\vue-template\node_modules\babel-polyfill\node_modules\regenerator-runtime\runtime.js:65:40)
at Generator.invoke [as _invoke] (D:\mendix\vue-template\node_modules\babel-polyfill\node_modules\regenerator-runtime\runtime.js:303:22)
at Generator.prototype. [as next] (D:\mendix\vue-template\node_modules\babel-polyfill\node_modules\regenerator-runtime\runtime.js:117:21)
at step (D:\mendix\vue-template\node_modules\webpack-shell-plugin-next\lib\index.js:9:30)
at D:\mendix\vue-template\node_modules\webpack-shell-plugin-next\lib\index.js:27:14
at new Promise ()
at WebpackShellPlugin. (D:\mendix\vue-template\node_modules\webpack-shell-plugin-next\lib\index.js:6:12)
at WebpackShellPlugin.executeScripts (D:\mendix\vue-template\node_modules\webpack-shell-plugin-next\lib\index.js:240:21)
at D:\mendix\vue-template\node_modules\webpack-shell-plugin-next\lib\index.js:306:18
at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Mendix\vue-template\node_modules\tapable\lib\HookCodeFactory.js:33:10), :7:1)
at AsyncSeriesHook.lazyCompileHook (D:\Mendix\vue-template\node_modules\tapable\lib\Hook.js:154:20)
at D:\Mendix\vue-template\node_modules\webpack\lib\Compiler.js:304:22
at Compiler.emitRecords (D:\Mendix\vue-template\node_modules\webpack\lib\Compiler.js:499:39)
at D:\Mendix\vue-template\node_modules\webpack\lib\Compiler.js:298:10
at D:\Mendix\vue-template\node_modules\webpack\lib\Compiler.js:485:14
at eval (eval at create (D:\Mendix\vue-template\node_modules\tapable\lib\HookCodeFactory.js:33:10), :10:1)
at D:\mendix\vue-template\node_modules\webpack-shell-plugin-next\lib\index.js:299:9
at _next0 (eval at create (D:\Mendix\vue-template\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at eval (eval at create (D:\Mendix\vue-template\node_modules\tapable\lib\HookCodeFactory.js:33:10), :19:1)
at callback (D:\mendix\vue-template\node_modules\copy-webpack-plugin\dist\index.js:126:17)
at afterEmit (D:\mendix\vue-template\node_modules\copy-webpack-plugin\dist\index.js:220:13)
at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Mendix\vue-template\node_modules\tapable\lib\HookCodeFactory.js:33:10), :15:1)
at AsyncSeriesHook.lazyCompileHook (D:\Mendix\vue-template\node_modules\tapable\lib\Hook.js:154:20)
at D:\Mendix\vue-template\node_modules\webpack\lib\Compiler.js:482:27
at D:\Mendix\vue-template\node_modules\neo-async\async.js:2818:7
at done (D:\Mendix\vue-template\node_modules\neo-async\async.js:3522:9)
at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Mendix\vue-template\node_modules\tapable\lib\HookCodeFactory.js:33:10), :4:1)
at D:\Mendix\vue-template\node_modules\webpack\lib\Compiler.js:464:33
at D:\Mendix\vue-template\node_modules\graceful-fs\graceful-fs.js:61:14
at FSReqCallback.oncomplete (fs.js:155:23)
(node:8468) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:8468) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@wiwengweng wiwengweng changed the title build tempalte error build template error Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant