Skip to content
This repository was archived by the owner on Jun 14, 2022. It is now read-only.
This repository was archived by the owner on Jun 14, 2022. It is now read-only.

Command "vsce package" is failing on OSX #9

@JamesKim2998

Description

@JamesKim2998

I'm now building kailua VSC plugin for OSX.

After run "vsce package", it's failing on "vscode:prepublish" task.

If I run "(cd ..; cargo build --release)" manually, somehow "vsce package" succeed after that.

The error log is attached below.

Executing prepublish script 'npm run vscode:prepublish'...
Error: Command failed: /bin/sh -c npm run vscode:prepublish

npm ERR! Darwin 16.5.0
npm ERR! argv "/usr/local/Cellar/node/5.0.0/bin/node" "/usr/local/bin/npm" "run" "vscode:prepublish"
npm ERR! node v5.0.0
npm ERR! npm  v2.10.1
npm ERR! code ELIFECYCLE
npm ERR! kailua@1.0.4 vscode:prepublish: `tsc -p ./ && node ./out/src/tools/build-langsvr`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the kailua@1.0.4 vscode:prepublish script 'tsc -p ./ && node ./out/src/tools/build-langsvr'.
npm ERR! This is most likely a problem with the kailua package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     tsc -p ./ && node ./out/src/tools/build-langsvr
npm ERR! You can get their info via:
npm ERR!     npm owner ls kailua
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/jameskim/Develop/contribute/kailua/kailua_vsc/npm-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions