platform-terminal
platform-terminal copied to clipboard
Can't seem to build with Node 10.16.0
`> [email protected] link:platform /Users/scottwalter/Library/Mobile Documents/com~apple~CloudDocs/Sandbox/platform-terminal
npm link dist/platform-terminal && npm link platform-terminal
npm ERR! code EINVALIDTYPE npm ERR! typeerror Error: Argument #2: Expected array but got string npm ERR! typeerror at EventEmitter.install (/Users/scottwalter/.nvm/versions/node/v10.16.0/lib/node_modules/npm/lib/install.js:190:3) npm ERR! typeerror at Object.commandCache.(anonymous function) (/Users/scottwalter/.nvm/versions/node/v10.16.0/lib/node_modules/npm/lib/npm.js:156:13) npm ERR! typeerror at /Users/scottwalter/.nvm/versions/node/v10.16.0/lib/node_modules/npm/lib/link.js:93:24 npm ERR! typeerror at /Users/scottwalter/.nvm/versions/node/v10.16.0/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:282:31 npm ERR! typeerror at FSReqWrap.oncomplete (fs.js:153:21) npm ERR! typeerror This is an error with npm itself. Please report this error at: npm ERR! typeerror https://npm.community`
@scottfwalter I had the same issue. Running npm run build:platform
fixed it.
Just that the develop branch is the actively used branch. Hence moving to develop will fix the same.
reason:
in develop branch: "postinstall": "npm run build:platform && npm run link:platform"
while in master branch: "postinstall": "npm run link:platform"
@Tibing request you to please sync develop into master branch
Hi everyone, I fixed the error can not start the app in local development in this PR: https://github.com/Tibing/platform-terminal/pull/19. You can check it out on your local. Thanks.