Skip to content

Cannot install @vue/cli-service on Linux aarch64 because "Failed at the yorkie@2.0.0 install script." #3466

@ginomempin

Description

@ginomempin

Version

3.4.0

Environment info

OS: Linux 4.14.0-xilinx-v2018.2 aarch64 / arm64
User: root
Node: 10.15.1 (installed at /usr/bin/node)
npm: 6.4.1 (installed at /usr/bin/npm)

Steps to reproduce

From the command line, just do npm install @vue/cli-service.

What is expected?

The installation of @vue/cli-service is successful.

What is actually happening?

The installation fails with the following error message:

> yorkie@2.0.0 install /home/root/apps/config-manager/out/webapp/frontend/node_modules/yorkie
> node bin/install.js

internal/modules/cjs/loader.js:583
    throw err;
    ^

Error: Cannot find module '/home/root/apps/config-manager/out/webapp/frontend/node_modules/yorkie/bin/install.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! yorkie@2.0.0 install: `node bin/install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the yorkie@2.0.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

When inspecting the NPM debug logs:

22191 verbose stack Error: yorkie@2.0.0 install: `node bin/install.js`
22191 verbose stack Exit status 1
22191 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/nodejs/node-v10.15.1-linux-arm64/lib/node_modules/np
m/node_modules/npm-lifecycle/index.js:301:16)
22191 verbose stack     at EventEmitter.emit (events.js:189:13)
22191 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/nodejs/node-v10.15.1-linux-arm64/lib/node_modules/np
m/node_modules/npm-lifecycle/lib/spawn.js:55:14)
22191 verbose stack     at ChildProcess.emit (events.js:189:13)
22191 verbose stack     at maybeClose (internal/child_process.js:970:16)
22191 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
22192 verbose pkgid yorkie@2.0.0
22193 verbose cwd /home/root/apps/config-manager/out/webapp/frontend
22194 verbose Linux 4.14.0-xilinx-v2018.2
22195 verbose argv "/usr/local/lib/nodejs/node-v10.15.1-linux-arm64/bin/node" "/usr/bin/npm" "install" "@vue/cli-service
"
22196 verbose node v10.15.1
22197 verbose npm  v6.4.1
22198 error code ELIFECYCLE
22199 error errno 1
22200 error yorkie@2.0.0 install: `node bin/install.js`
22200 error Exit status 1
22201 error Failed at the yorkie@2.0.0 install script.

The same error is encountered when doing:

  • npm install @vue/cli
  • npm install yorkie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions