Open mmilano opened 3 years ago
just installed it, working fine. are you using Vue 3 maybe? What errors are you getting?
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
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",
thank you.
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?