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

Error when build #109

Open
amit-gshe opened this issue Aug 24, 2020 · 4 comments
Open

Error when build #109

amit-gshe opened this issue Aug 24, 2020 · 4 comments

Comments

@amit-gshe
Copy link

[./egret/code/electron-main/main.ts] 4.83 KiB {main} [built]
[./egret/exts/exml-exts/exml/common/project/parsers/core/commons.ts] 5.54 KiB {egret/workbench/electron-browser/bootstrap/index} {egret/workbench/electron-browser/bootstrap/resdepot} {./egret/exts/exml-exts/exml/common/project/parsers/process/parseProcess.node} [built] [1 error]
[./egret/exts/exml-exts/exml/common/project/parsers/core/exmlParser.ts] 5.96 KiB {./egret/exts/exml-exts/exml/common/project/parsers/process/parseProcess.node} [built]
[./egret/exts/exml-exts/exml/common/project/parsers/core/ignores.ts] 545 bytes {./egret/exts/exml-exts/exml/common/project/parsers/process/parseProcess.node} [built]
[./egret/exts/exml-exts/exml/common/project/parsers/process/parseProcess.node.ts] 15.7 KiB {./egret/exts/exml-exts/exml/common/project/parsers/process/parseProcess.node} [built]
[./egret/workbench/electron-browser/bootstrap/index.ts] 398 bytes {egret/workbench/electron-browser/bootstrap/index} [built]
[./egret/workbench/electron-browser/bootstrap/resdepot.ts] 430 bytes {egret/workbench/electron-browser/bootstrap/resdepot} [built]
[./main.ts] 706 bytes {main} [built]
[./monaco-editor.js] 5.2 KiB {egret/workbench/electron-browser/bootstrap/monaco-editor/monaco-editor} [built]
    + 1195 hidden modules

WARNING in ../node_modules/typescript/lib/typescript.js 2710:20-42
Critical dependency: the request of a dependency is an expression
 @ ./egret/exts/exml-exts/exml/common/project/parsers/core/tsParser.ts
 @ ./egret/exts/exml-exts/exml/common/project/parsers/process/parseProcess.node.ts

WARNING in ../node_modules/typescript/lib/typescript.js 5708:41-60
Critical dependency: the request of a dependency is an expression
 @ ./egret/exts/exml-exts/exml/common/project/parsers/core/tsParser.ts
 @ ./egret/exts/exml-exts/exml/common/project/parsers/process/parseProcess.node.ts

ERROR in ./egret/exts/exml-exts/exml/common/project/parsers/core/commons.ts
Module not found: Error: Can't resolve '../../../sax/Namespace' in '/home/amit/egret/egret-ui-editor-opensource/src/egret/exts/exml-exts/exml/common/project/parsers/core'
 @ ./egret/exts/exml-exts/exml/common/project/parsers/core/commons.ts 6:20-53
 @ ./egret/exts/exml-exts/exml/common/project/parsers/process/parseProcess.node.ts

ERROR in ./egret/workbench/parts/output/common/outputService.ts
Module not found: Error: Can't resolve '../browser/outputView' in '/home/amit/egret/egret-ui-editor-opensource/src/egret/workbench/parts/output/common'
 @ ./egret/workbench/parts/output/common/outputService.ts 14:21-53
 @ ./egret/workbench/electron-browser/workbench.ts
 @ ./egret/workbench/electron-browser/mainShell.ts
 @ ./egret/workbench/electron-browser/main.ts
 @ ./egret/workbench/electron-browser/bootstrap/index.ts

ERROR in ./egret/workbench/parts/properties/electron-browser/views/property-animation/propertyFramePart.ts
Module not found: Error: Can't resolve '../core/PropertyDetailParts' in '/home/amit/egret/egret-ui-editor-opensource/src/egret/workbench/parts/properties/electron-browser/views/property-animation'
 @ ./egret/workbench/parts/properties/electron-browser/views/property-animation/propertyFramePart.ts 13:30-68
 @ ./egret/workbench/parts/properties/electron-browser/views/propertyView.ts
 @ ./egret/workbench/electron-browser/workbench.ts
 @ ./egret/workbench/electron-browser/mainShell.ts
 @ ./egret/workbench/electron-browser/main.ts
 @ ./egret/workbench/electron-browser/bootstrap/index.ts

ERROR in ./egret/workbench/parts/properties/electron-browser/views/property-animation/propertyNormalPart.ts
Module not found: Error: Can't resolve '../core/PropertyDetailParts' in '/home/amit/egret/egret-ui-editor-opensource/src/egret/workbench/parts/properties/electron-browser/views/property-animation'
 @ ./egret/workbench/parts/properties/electron-browser/views/property-animation/propertyNormalPart.ts 13:30-68
 @ ./egret/workbench/parts/properties/electron-browser/views/propertyView.ts
 @ ./egret/workbench/electron-browser/workbench.ts
 @ ./egret/workbench/electron-browser/mainShell.ts
 @ ./egret/workbench/electron-browser/main.ts
 @ ./egret/workbench/electron-browser/bootstrap/index.ts

ERROR in ./egret/workbench/parts/properties/electron-browser/views/property-general/propertyGeneralPart.ts
Module not found: Error: Can't resolve '../core/PropertyDetailParts' in '/home/amit/egret/egret-ui-editor-opensource/src/egret/workbench/parts/properties/electron-browser/views/property-general'
 @ ./egret/workbench/parts/properties/electron-browser/views/property-general/propertyGeneralPart.ts 4:30-68
 @ ./egret/workbench/parts/properties/electron-browser/views/propertyView.ts
 @ ./egret/workbench/electron-browser/workbench.ts
 @ ./egret/workbench/electron-browser/mainShell.ts
 @ ./egret/workbench/electron-browser/main.ts
 @ ./egret/workbench/electron-browser/bootstrap/index.ts

ERROR in ./egret/workbench/parts/properties/electron-browser/views/property-layout/propertyLayoutPart.ts
Module not found: Error: Can't resolve '../core/PropertyDetailParts' in '/home/amit/egret/egret-ui-editor-opensource/src/egret/workbench/parts/properties/electron-browser/views/property-layout'
 @ ./egret/workbench/parts/properties/electron-browser/views/property-layout/propertyLayoutPart.ts 13:30-68
 @ ./egret/workbench/parts/properties/electron-browser/views/propertyView.ts
 @ ./egret/workbench/electron-browser/workbench.ts
 @ ./egret/workbench/electron-browser/mainShell.ts
 @ ./egret/workbench/electron-browser/main.ts
 @ ./egret/workbench/electron-browser/bootstrap/index.ts

ERROR in ./egret/workbench/parts/properties/electron-browser/views/property-sizepos/propertySizeposPart.ts
Module not found: Error: Can't resolve '../core/PropertyDetailParts' in '/home/amit/egret/egret-ui-editor-opensource/src/egret/workbench/parts/properties/electron-browser/views/property-sizepos'
 @ ./egret/workbench/parts/properties/electron-browser/views/property-sizepos/propertySizeposPart.ts 13:30-68
 @ ./egret/workbench/parts/properties/electron-browser/views/propertyView.ts
 @ ./egret/workbench/electron-browser/workbench.ts
 @ ./egret/workbench/electron-browser/mainShell.ts
 @ ./egret/workbench/electron-browser/main.ts
 @ ./egret/workbench/electron-browser/bootstrap/index.ts

ERROR in ./egret/workbench/parts/properties/electron-browser/views/property-style/propertyStylePart.ts
Module not found: Error: Can't resolve '../core/PropertyDetailParts' in '/home/amit/egret/egret-ui-editor-opensource/src/egret/workbench/parts/properties/electron-browser/views/property-style'
 @ ./egret/workbench/parts/properties/electron-browser/views/property-style/propertyStylePart.ts 13:30-68
 @ ./egret/workbench/parts/properties/electron-browser/views/propertyView.ts
 @ ./egret/workbench/electron-browser/workbench.ts
 @ ./egret/workbench/electron-browser/mainShell.ts
 @ ./egret/workbench/electron-browser/main.ts
 @ ./egret/workbench/electron-browser/bootstrap/index.ts

ERROR in ./egret/workbench/electron-browser/workbench.ts
Module not found: Error: Can't resolve '../parts/output/browser/outputView' in '/home/amit/egret/egret-ui-editor-opensource/src/egret/workbench/electron-browser'
 @ ./egret/workbench/electron-browser/workbench.ts 30:21-66
 @ ./egret/workbench/electron-browser/mainShell.ts
 @ ./egret/workbench/electron-browser/main.ts
 @ ./egret/workbench/electron-browser/bootstrap/index.ts

ERROR in ./egret/exts/exml-exts/exml/common/contentassist/EXMLContentAssistProcessor.ts
Module not found: Error: Can't resolve '../sax/Namespace' in '/home/amit/egret/egret-ui-editor-opensource/src/egret/exts/exml-exts/exml/common/contentassist'
 @ ./egret/exts/exml-exts/exml/common/contentassist/EXMLContentAssistProcessor.ts 11:20-47
 @ ./egret/exts/exml-exts/exml/common/server/codeService.ts
 @ ./egret/workbench/electron-browser/workbench.ts
 @ ./egret/workbench/electron-browser/mainShell.ts
 @ ./egret/workbench/electron-browser/main.ts
 @ ./egret/workbench/electron-browser/bootstrap/index.ts

ERROR in ./egret/exts/exml-exts/exml/common/exml/exmlModel.ts
Module not found: Error: Can't resolve '../sax/Namespace' in '/home/amit/egret/egret-ui-editor-opensource/src/egret/exts/exml-exts/exml/common/exml'
 @ ./egret/exts/exml-exts/exml/common/exml/exmlModel.ts 19:20-47
 @ ./egret/workbench/parts/align/electron-browser/views/sizeAndPosGroupLogicRunner.ts
 @ ./egret/workbench/parts/align/electron-browser/views/alignView.ts
 @ ./egret/workbench/electron-browser/workbench.ts
 @ ./egret/workbench/electron-browser/mainShell.ts
 @ ./egret/workbench/electron-browser/main.ts
 @ ./egret/workbench/electron-browser/bootstrap/index.ts

ERROR in ./egret/exts/exml-exts/exml/common/exml/exmlModeConfig.ts
Module not found: Error: Can't resolve '../sax/Namespace' in '/home/amit/egret/egret-ui-editor-opensource/src/egret/exts/exml-exts/exml/common/exml'
 @ ./egret/exts/exml-exts/exml/common/exml/exmlModeConfig.ts 15:20-47
 @ ./egret/exts/exml-exts/exml/common/exml/exmlModel.ts
 @ ./egret/workbench/parts/align/electron-browser/views/sizeAndPosGroupLogicRunner.ts
 @ ./egret/workbench/parts/align/electron-browser/views/alignView.ts
 @ ./egret/workbench/electron-browser/workbench.ts
 @ ./egret/workbench/electron-browser/mainShell.ts
 @ ./egret/workbench/electron-browser/main.ts
 @ ./egret/workbench/electron-browser/bootstrap/index.ts

ERROR in ./egret/exts/exml-exts/exml/common/project/exmlConfigs.ts
Module not found: Error: Can't resolve '../sax/Namespace' in '/home/amit/egret/egret-ui-editor-opensource/src/egret/exts/exml-exts/exml/common/project'
 @ ./egret/exts/exml-exts/exml/common/project/exmlConfigs.ts 18:20-47
 @ ./egret/exts/exml-exts/projectService.ts
 @ ./egret/workbench/electron-browser/resdepotWorkbench.ts
 @ ./egret/workbench/electron-browser/resdepotShell.ts
 @ ./egret/workbench/electron-browser/resdepotMain.ts
 @ ./egret/workbench/electron-browser/bootstrap/resdepot.ts

ERROR in ./egret/exts/exml-exts/exml/common/contentassist/EXMLContentAssistProcessor.ts
Module not found: Error: Can't resolve '../sax/QName' in '/home/amit/egret/egret-ui-editor-opensource/src/egret/exts/exml-exts/exml/common/contentassist'
 @ ./egret/exts/exml-exts/exml/common/contentassist/EXMLContentAssistProcessor.ts 10:16-39
 @ ./egret/exts/exml-exts/exml/common/server/codeService.ts
 @ ./egret/workbench/electron-browser/workbench.ts
 @ ./egret/workbench/electron-browser/mainShell.ts
 @ ./egret/workbench/electron-browser/main.ts
 @ ./egret/workbench/electron-browser/bootstrap/index.ts

ERROR in ./egret/exts/exml-exts/exml/common/core/Schema.ts
Module not found: Error: Can't resolve './../sax/Namespace' in '/home/amit/egret/egret-ui-editor-opensource/src/egret/exts/exml-exts/exml/common/core'
 @ ./egret/exts/exml-exts/exml/common/core/Schema.ts 5:20-49
 @ ./egret/exts/exml-exts/exml/common/contentassist/EXMLContentAssistProcessor.ts
 @ ./egret/exts/exml-exts/exml/common/server/codeService.ts
 @ ./egret/workbench/electron-browser/workbench.ts
 @ ./egret/workbench/electron-browser/mainShell.ts
 @ ./egret/workbench/electron-browser/main.ts
 @ ./egret/workbench/electron-browser/bootstrap/index.ts

ERROR in ./egret/exts/exml-exts/exml/common/schemas/SchemaModel.ts
Module not found: Error: Can't resolve './../sax/Namespace' in '/home/amit/egret/egret-ui-editor-opensource/src/egret/exts/exml-exts/exml/common/schemas'
 @ ./egret/exts/exml-exts/exml/common/schemas/SchemaModel.ts 9:20-49
 @ ./egret/exts/exml-exts/exml/common/contentassist/EXMLContentAssistProcessor.ts
 @ ./egret/exts/exml-exts/exml/common/server/codeService.ts
 @ ./egret/workbench/electron-browser/workbench.ts
 @ ./egret/workbench/electron-browser/mainShell.ts
 @ ./egret/workbench/electron-browser/main.ts
 @ ./egret/workbench/electron-browser/bootstrap/index.ts

ERROR in ./egret/exts/exml-exts/exml/common/core/Schema.ts
Module not found: Error: Can't resolve './../sax/QName' in '/home/amit/egret/egret-ui-editor-opensource/src/egret/exts/exml-exts/exml/common/core'
 @ ./egret/exts/exml-exts/exml/common/core/Schema.ts 4:16-41
 @ ./egret/exts/exml-exts/exml/common/contentassist/EXMLContentAssistProcessor.ts
 @ ./egret/exts/exml-exts/exml/common/server/codeService.ts
 @ ./egret/workbench/electron-browser/workbench.ts
 @ ./egret/workbench/electron-browser/mainShell.ts
 @ ./egret/workbench/electron-browser/main.ts
 @ ./egret/workbench/electron-browser/bootstrap/index.ts

ERROR in ./egret/exts/exml-exts/exml/common/schemas/AbstractSchemaModel.ts
Module not found: Error: Can't resolve './../sax/QName' in '/home/amit/egret/egret-ui-editor-opensource/src/egret/exts/exml-exts/exml/common/schemas'
 @ ./egret/exts/exml-exts/exml/common/schemas/AbstractSchemaModel.ts 10:16-41
 @ ./egret/exts/exml-exts/exml/common/schemas/SchemaModel.ts
 @ ./egret/exts/exml-exts/exml/common/contentassist/EXMLContentAssistProcessor.ts
 @ ./egret/exts/exml-exts/exml/common/server/codeService.ts
 @ ./egret/workbench/electron-browser/workbench.ts
 @ ./egret/workbench/electron-browser/mainShell.ts
 @ ./egret/workbench/electron-browser/main.ts
 @ ./egret/workbench/electron-browser/bootstrap/index.ts

ERROR in ./egret/exts/exml-exts/exml/common/schemas/SchemaContentAssistUtil.ts
Module not found: Error: Can't resolve './../sax/QName' in '/home/amit/egret/egret-ui-editor-opensource/src/egret/exts/exml-exts/exml/common/schemas'
 @ ./egret/exts/exml-exts/exml/common/schemas/SchemaContentAssistUtil.ts 5:16-41
 @ ./egret/exts/exml-exts/exml/common/schemas/SchemaContentAssist.ts
 @ ./egret/exts/exml-exts/exml/common/schemas/AbstractSchemaModel.ts
 @ ./egret/exts/exml-exts/exml/common/schemas/SchemaModel.ts
 @ ./egret/exts/exml-exts/exml/common/contentassist/EXMLContentAssistProcessor.ts
 @ ./egret/exts/exml-exts/exml/common/server/codeService.ts
 @ ./egret/workbench/electron-browser/workbench.ts
 @ ./egret/workbench/electron-browser/mainShell.ts
 @ ./egret/workbench/electron-browser/main.ts
 @ ./egret/workbench/electron-browser/bootstrap/index.ts

@fpsqdb
Copy link
Contributor

fpsqdb commented Aug 24, 2020

try the following steps:

  1. update to the newest commit
  2. delete node_modules folder
  3. npm install
  4. npm run build

@amit-gshe
Copy link
Author

amit-gshe commented Aug 24, 2020

@fpsqdb I tried many times but without luck. My platform is linux.

@fpsqdb
Copy link
Contributor

fpsqdb commented Aug 24, 2020

@amit-gshe Egret UI Editor only supports macos and windows, we have not tested it on linux.

@amit-gshe
Copy link
Author

@fpsqdb Thanks. It seems not a platform related issue from the output above and I can provide more details.

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

2 participants