#node.js #angular #npm #node-sass
#node.js #angular #npm #узел-sass
Вопрос:
Я пытаюсь создать проект Angular, но получаю эту ошибку:
ERROR in Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding /XXXXXXX/node_modules/node-sass/vendor/darwin-x64-72/binding.node
Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 12.x
Ответ №1:
Обновление node
облажалось node-sass
. Чтобы исправить:
- Удалить
package-lock.json
- Удалить
node_modules
npm rebuild node-sass
npm i