Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Investigate OSX dependency issue with xml2json dependency #658

Closed
Cooryd opened this issue Mar 23, 2020 · 5 comments
Closed

Investigate OSX dependency issue with xml2json dependency #658

Cooryd opened this issue Mar 23, 2020 · 5 comments
Labels
Expedited Priority I

Comments

@Cooryd
Copy link
Contributor

Cooryd commented Mar 23, 2020

gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/Users/cory/.nvm/versions/node/v10.19.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Darwin 19.3.0
gyp ERR! command "/Users/cory/.nvm/versions/node/v10.19.0/bin/node" "/Users/cory/.nvm/versions/node/v10.19.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/cory/Dev/elife-xpub/node_modules/node-expat

replicate on osx 10.15.3 run yarn see output above. Seems to be a sub-dep of xml2json

@hdrury1 hdrury1 added this to the Submit Functionality milestone Mar 24, 2020
@hdrury1 hdrury1 added the Expedited Priority I label Jun 16, 2020
@diversemix diversemix self-assigned this Jun 16, 2020
@diversemix
Copy link
Contributor

We need someone to try this fix .. buglabs/node-xml2json#168 (comment)

@diversemix
Copy link
Contributor

@norisalsaadie norisalsaadie self-assigned this Jun 24, 2020
@norisalsaadie
Copy link
Contributor

Unable to reproduce:

Attempt 1

macOS 10.15.5
yarn 1.22.4
node v12.18.0

commands:

git clean -f
rm -rf node_modules
yarn

Output:

[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
[3/5] 🚚 Fetching packages...
[4/5] 🔗 Linking dependencies...
warning " > [email protected]" has unmet peer dependency "fp-ts@^2.0.0".
warning " > @libero/[email protected]" has unmet peer dependency "eslint@>= 3".
warning " > @libero/[email protected]" has unmet peer dependency "eslint-config-prettier@>=6".
warning " > @libero/[email protected]" has unmet peer dependency "eslint-plugin-prettier@>=3".
warning " > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^5.0.0 || ^6.0.0".
warning "@typescript-eslint/eslint-plugin > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@*".
warning " > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^5.0.0 || ^6.0.0".
[5/5] 🔨 Building fresh packages...
✨ Done in 21.90s.

Attempt 2

macOS 10.15.5
yarn 1.22.4
commands:

git clean -f
rm -rf node_modules
yarn cache clean

node v12.18.0

Output:

yarn install v1.22.4
[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
[3/5] 🚚 Fetching packages...
[4/5] 🔗 Linking dependencies...
warning " > [email protected]" has unmet peer dependency "fp-ts@^2.0.0".
warning " > @libero/[email protected]" has unmet peer dependency "eslint@>= 3".
warning " > @libero/[email protected]" has unmet peer dependency "eslint-config-prettier@>=6".
warning " > @libero/[email protected]" has unmet peer dependency "eslint-plugin-prettier@>=3".
warning " > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^5.0.0 || ^6.0.0".
warning "@typescript-eslint/eslint-plugin > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@*".
warning " > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^5.0.0 || ^6.0.0".
[5/5] 🔨 Building fresh packages...
✨ Done in 42.99s.

@norisalsaadie norisalsaadie removed their assignment Jun 24, 2020
@Cooryd Cooryd self-assigned this Jul 1, 2020
@Cooryd
Copy link
Contributor Author

Cooryd commented Jul 1, 2020

I've tried following the CLT instructions described here nodejs/node-gyp#1927 but running a 'node-gyp rebuild' is still failing so will need to re-look into this another time.

@Cooryd Cooryd removed their assignment Jul 1, 2020
@Cooryd
Copy link
Contributor Author

Cooryd commented Jul 17, 2020

After using brew to uninstall node & yarn then manually removing my .node-gyp config file. I re-installed node, yarn and node-gyp and can now install and run all packages for submission. (for future reference I manually removed a lotof the config files listed here: https://stackabuse.com/how-to-uninstall-node-js-from-mac-osx/)

@Cooryd Cooryd closed this as completed Jul 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Expedited Priority I
Projects
None yet
Development

No branches or pull requests

4 participants