D
D
Denis Petrenko2020-05-16 14:28:53
Node.js
Denis Petrenko, 2020-05-16 14:28:53

How to successfully build a program on Electron?

I'm trying to build a program on Node.js and actually on JS. During build I get an error:

src/create_string.cpp:17:37: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>&)’
   17 |   v8::String::Utf8Value string(value);

What I found on the Internet is that node-sass version 4.12.0 should fix this. After successfully installing [email protected], I ran npm install and the terminal output:
npm install

> [email protected] install /Desktop/my_prog/node_modules/grunt-sass/node_modules/node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v3.13.1/linux-x64-83_binding.node


As I understand it, npm install forces installation of node-sass version 3.13.1. How to prevent this and how to finally collect this program?

node -v
v14.1.0
npm -v
6.14.5

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question