platform-terminal icon indicating copy to clipboard operation
platform-terminal copied to clipboard

Can't seem to build with Node 10.16.0

Open scottfwalter opened this issue 5 years ago • 4 comments

`> [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 avatar Jul 12 '19 18:07 scottfwalter

@scottfwalter I had the same issue. Running npm run build:platform fixed it.

curmil avatar Jul 16 '19 13:07 curmil

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"

balaji-b-v avatar Feb 27 '20 10:02 balaji-b-v

@Tibing request you to please sync develop into master branch

balaji-b-v avatar Feb 27 '20 10:02 balaji-b-v

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.

phhien203 avatar Jun 20 '21 06:06 phhien203