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

'stencil build' error after updating from 1.15.0 to 1.16.0 (android, termux) #2565

Closed
ajmchambers opened this issue Jul 9, 2020 · 1 comment
Labels

Comments

@ajmchambers
Copy link
Contributor

Bit of an unusual setup but have been doing some development with stencil on Android via Termux (node v14.4.0).

After updating stencil from 1.15.0 to 1.16.0 I get the following error after running "stencil build --dev --watch --serve":

/node_modules/@stencil/core/sys/node/index.js:434
  cpuModel: s[0].model,
                 ^
TypeError: Cannot read property 'model' of undefined
  at createNodeSys (/node_modules/@stencil/core/sys/node/index.js:434:22)
  at Object.createNodeSysWithWatch (/node_modules/@stencil/core/sys/node/index.js:1294:40)
  at Object.<anonymous> (/node_modules/@stencil/core/bin/stencil:47:23)

This seems to be an issue because os.cpus() is returning the value []

(It appears to have also returned undefined in the past according to this issue: termux/termux-packages#1798)

Part of the code that has changed is here: 9d27e2d#diff-ae24169c4a161afc393d3aa065567366L288

Understandably termux on android (chromebook too?) is pretty niche, though would be awesome to have this working again.

@ionitron-bot ionitron-bot bot added the triage label Jul 9, 2020
@adamdbradley
Copy link
Contributor

Closed from 05ea6df
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants