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

does this install for anyone? #364

Open
mmilano opened this issue May 9, 2021 · 4 comments
Open

does this install for anyone? #364

mmilano opened this issue May 9, 2021 · 4 comments

Comments

@mmilano
Copy link

mmilano commented May 9, 2021

clean clone of current and attempt to install only gives node errors and messages.

does this install for anyone in current form,
or are multiple contortions necessary?

@vesper8
Copy link

vesper8 commented May 12, 2021

just installed it, working fine. are you using Vue 3 maybe? What errors are you getting?

@mmilano
Copy link
Author

mmilano commented May 13, 2021

no, not vue3. just a clone and npm install.

a lengthy stream of errors and they seem to mostly be about node-sass & lib-sass.
they conclude with this:

npm ERR! 5 warnings and 17 errors generated.
npm ERR! make: *** [Release/obj.target/binding/src/binding.o] Error 1
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/Volumes/antithesis/dev/form-wizard-test/vue-form-wizard/node_modules/node-gyp/lib/build.js:258:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:365:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Darwin 20.4.0
npm ERR! gyp ERR! command "/Users/milano/.nvm/versions/node/v16.1.0/bin/node" "/Volumes/ant/dev/form-wizard-test/vue-form-wizard/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd /Volumes/ant/dev/form-wizard-test/vue-form-wizard/node_modules/node-sass
npm ERR! gyp ERR! node -v v16.1.0
npm ERR! gyp ERR! node-gyp -v v3.6.2
npm ERR! gyp ERR! not ok 
npm ERR! Build failed with error code: 1

@vesper8
Copy link

vesper8 commented May 13, 2021

Ah right.. yes I know this error. This is not a problem with this project.. it's because you recently updated your node version to v16 and it's incompatible with the version of node-sass in your package.json

I'm also on 16, and also had this error a few days ago.. try using these versions in your package.json, then delete your node-modules folder and lock file and re-install

    "postcss-cli": "^8.3.1",
    "postcss-loader": "^4.0.4",
    "postcss-nesting": "^7.0.1",
    "postcss": "^8.2.4",
    "sass-loader": "^10.1.1",
    "sass": "^1.32.6",

@mmilano
Copy link
Author

mmilano commented May 18, 2021

thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants