smartscenes / sstk

SSTK: SmartScenes ToolKit
MIT License
115 stars 41 forks source link

Can't build npm on mac #32

Open Casyfill opened 3 years ago

Casyfill commented 3 years ago

building with ./build.sh fails on mac:

2609 verbose stack Error: command failed
2609 verbose stack     at ChildProcess.<anonymous> (/Users/philippk/.nvm/versions/node/v16.5.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
2609 verbose stack     at ChildProcess.emit (node:events:394:28)
2609 verbose stack     at maybeClose (node:internal/child_process:1067:16)
2609 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
2610 verbose pkgid sstk@0.6.1
2611 verbose cwd /Users/philippk/Dropbox/se_projects/July21_Hackweek/FloorPlanner/sstk
2612 verbose Darwin 20.5.0
2613 verbose argv "/Users/philippk/.nvm/versions/node/v16.5.0/bin/node" "/Users/philippk/.nvm/versions/node/v16.5.0/bin/npm" "install"
2614 verbose node v16.5.0
2615 verbose npm  v7.19.1
2616 error code 1
2617 error path /Users/philippk/Dropbox/se_projects/July21_Hackweek/FloorPlanner/sstk
2618 error command failed
2619 error command sh -c node getdata.js && npm run bootstrap
2620 verbose exit 1

Would be awesome to have dockerized version...

angelxuanchang commented 3 years ago

The SSTK currently requires an older version of node (node v10.x.x). The next update to the SSTK will support newer versions of node.