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

gui build fail #19

Closed
sixinyiyu opened this issue Jun 9, 2021 · 4 comments
Closed

gui build fail #19

sixinyiyu opened this issue Jun 9, 2021 · 4 comments
Assignees

Comments

@sixinyiyu
Copy link

environment variable

os : deepin 20.2.1

uname info:

Linux sxyy-PC 5.10.29-amd64-desktop #2 SMP Mon Apr 26 09:48:13 CST 2021 x86_64 GNU/Linux

node: version v14.17.0
npm: version 7.16.0

Generating JavaScript bundles failed

Converting circular structure to JSON
    --> starting at object with constructor 'SymbolDef'
    |     property 'orig' -> object with constructor 'Array'
    |     index 0 -> object with constructor 'AST_SymbolFunarg'
    --- property 'thedef' closes the circle

File: node_modules/monaco-editor/esm/vs/editor/standalone/browser/standalone-tokens.css


 ERROR #98123  WEBPACK

Generating JavaScript bundles failed

Converting circular structure to JSON
    --> starting at object with constructor 'SymbolDef'
    |     property 'orig' -> object with constructor 'Array'
    |     index 0 -> object with constructor 'AST_SymbolFunarg'
    --- property 'thedef' closes the circle

File: node_modules/monaco-editor/esm/vs/platform/actions/browser/menuEntryActionViewItem.css


 ERROR #98123  WEBPACK

Generating JavaScript bundles failed

Converting circular structure to JSON
    --> starting at object with constructor 'SymbolDef'
    |     property 'orig' -> object with constructor 'Array'
    |     index 0 -> object with constructor 'AST_SymbolFunarg'
    --- property 'thedef' closes the circle

File: node_modules/monaco-editor/esm/vs/platform/contextview/browser/contextMenuHandler.css
@khas-flomesh
Copy link
Collaborator

khas-flomesh commented Jun 10, 2021

Hi,
Thanks for your trying pipy!
Seems you got a dependency issue, would you please attache the whole output while running npm run build?
You may try to delete pipy/gui/node_modules and run npm install again.
BTW, could you please upload pipy/gui/package-lock.json after running npm install?

Khas

@khas-flomesh khas-flomesh self-assigned this Jun 10, 2021
@thomasdba
Copy link

@sixinyiyu I just tested with nodes v14 on deepen latest version , but I didn't meet the same issue . If you are interested
in pipy , could we talk by WeChat ? my Email : thomas at flomesh.cn .

@sixinyiyu
Copy link
Author

sixinyiyu commented Jun 11, 2021

Hi,
Thanks for your trying pipy!
Seems you got a dependency issue, would you please attache the whole output while running npm run build?
You may try to delete pipy/gui/node_modules and run npm install again.
BTW, could you please upload pipy/gui/package-lock.json after running npm install?

Khas

rm -rf node_modules/
sxyy@sxyy-PC:/data/home/sxyy/code/pipy/gui$ node -v
v14.17.0
sxyy@sxyy-PC:/data/home/sxyy/code/pipy/gui$ npm -v
7.16.0
sxyy@sxyy-PC:/data/home/sxyy/code/pipy/gui$ npm install

added 2441 packages, and audited 2442 packages in 4m

75 vulnerabilities (6 low, 39 moderate, 28 high, 2 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
sxyy@sxyy-PC:/data/home/sxyy/code/pipy/gui$ npm run build

> build
> gatsby build

success open and validate gatsby-configs - 0.173s
success load plugins - 0.455s
success onPreInit - 0.222s
success initialize cache - 1.728s
success copy gatsby files - 0.703s
success onPreBootstrap - 0.124s
success createSchemaCustomization - 0.064s
success Checking for changed pages - 0.037s
success source and transform nodes - 0.540s
success building schema - 1.820s
info Total nodes: 20, SitePage nodes: 1 (use --verbose for breakdown)
success createPages - 0.045s
success Checking for changed pages - 0.010s
success createPagesStatefully - 0.220s
success update schema - 0.365s
success onPreExtractQueries - 0.007s
success extract queries from components - 4.420s
success write out redirect data - 0.024s
success onPostBootstrap - 0.018s
info bootstrap finished - 18.970s
success run page queries - 0.174s - 1/1 5.74/s
success write out requires - 0.013s
failed Building production JavaScript and CSS bundles - 592.356s

 ERROR #98123  WEBPACK

Generating JavaScript bundles failed

Converting circular structure to JSON
    --> starting at object with constructor 'SymbolDef'
    |     property 'orig' -> object with constructor 'Array'
    |     index 0 -> object with constructor 'AST_SymbolFunarg'
    --- property 'thedef' closes the circle

File: node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar.css


 ERROR #98123  WEBPACK

Generating JavaScript bundles failed

Converting circular structure to JSON
    --> starting at object with constructor 'SymbolDef'
    |     property 'orig' -> object with constructor 'Array'
    |     index 0 -> object with constructor 'AST_SymbolFunarg'
    --- property 'thedef' closes the circle

File: node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria.css


package.json

{
  "name": "pipy-gui",
  "private": true,
  "dependencies": {
    "@material-ui/core": "^4.11.3",
    "@material-ui/icons": "^4.11.2",
    "@material-ui/lab": "^4.0.0-alpha.57",
    "gatsby": "^3.2.1",
    "gatsby-plugin-gatsby-cloud": "^2.2.0",
    "gatsby-plugin-image": "^1.2.0",
    "gatsby-plugin-manifest": "^3.2.0",
    "gatsby-plugin-material-ui": "^3.0.0",
    "gatsby-plugin-offline": "^4.2.0",
    "gatsby-plugin-react-helmet": "^4.2.0",
    "gatsby-plugin-sharp": "^3.2.0",
    "gatsby-source-filesystem": "^3.2.0",
    "gatsby-transformer-sharp": "^3.2.0",
    "monaco-editor": "^0.24.0",
    "monaco-editor-webpack-plugin": "^3.1.0",
    "prop-types": "^15.7.2",
    "react": "^17.0.1",
    "react-dom": "^17.0.1",
    "react-helmet": "^6.1.0",
    "react-spaces": "^0.2.0",
    "react-split-pane": "^2.0.3"
  },
  "devDependencies": {
    "get-stream": "^5.2.0",
    "koa": "^2.13.1",
    "koa-bodyparser": "^4.3.0",
    "tar-stream": "^2.2.0"
  },
  "scripts": {
    "build": "gatsby build",
    "develop": "gatsby develop",
    "start": "npm run develop",
    "serve": "gatsby serve",
    "clean": "gatsby clean"
  }
}

package-lock.json

https://ws28.cn/f/5n1rrebhu3s


i've modify the monaco-editor lib version,    with different verion the result are all the same;

"monaco-editor": "^0.23.0",
"monaco-editor-webpack-plugin": "^3.0.1",

@sixinyiyu

This comment has been minimized.

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

3 participants