ERROR in Cannot find module 'node-sass'
Config: macOS High Sierra, version 10.13.2, node:v8.1.2 npm:5.0.3
When I run npm start in my angularjs project I get this error:
ERROR in Cannot find module 'node-sass'
After this I run:
npm i node-sass
Now I get this error:
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
Why won't npm install node-sass? How can I install node-sass?
angularjs node.js npm macos-high-sierra
add a comment |
Config: macOS High Sierra, version 10.13.2, node:v8.1.2 npm:5.0.3
When I run npm start in my angularjs project I get this error:
ERROR in Cannot find module 'node-sass'
After this I run:
npm i node-sass
Now I get this error:
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
Why won't npm install node-sass? How can I install node-sass?
angularjs node.js npm macos-high-sierra
7
runnpm install --save-dev node-sass
– Ashok R
Sep 16 '18 at 9:02
add a comment |
Config: macOS High Sierra, version 10.13.2, node:v8.1.2 npm:5.0.3
When I run npm start in my angularjs project I get this error:
ERROR in Cannot find module 'node-sass'
After this I run:
npm i node-sass
Now I get this error:
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
Why won't npm install node-sass? How can I install node-sass?
angularjs node.js npm macos-high-sierra
Config: macOS High Sierra, version 10.13.2, node:v8.1.2 npm:5.0.3
When I run npm start in my angularjs project I get this error:
ERROR in Cannot find module 'node-sass'
After this I run:
npm i node-sass
Now I get this error:
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
Why won't npm install node-sass? How can I install node-sass?
angularjs node.js npm macos-high-sierra
angularjs node.js npm macos-high-sierra
asked Jan 8 '18 at 9:59
bier hierbier hier
2,592103373
2,592103373
7
runnpm install --save-dev node-sass
– Ashok R
Sep 16 '18 at 9:02
add a comment |
7
runnpm install --save-dev node-sass
– Ashok R
Sep 16 '18 at 9:02
7
7
run
npm install --save-dev node-sass
– Ashok R
Sep 16 '18 at 9:02
run
npm install --save-dev node-sass
– Ashok R
Sep 16 '18 at 9:02
add a comment |
11 Answers
11
active
oldest
votes
- This error is for node-sass is not present ... to solve this just you want to run following command
npm install node-sass
14
add as devDependenciesnpm install --save-dev node-sass
.
– Ashok R
Sep 16 '18 at 9:01
4
Doesn't help. I've already installed node-sass a dozen times (which wasn't easy), but it still fails. Node-sass is clearly a problem.
– mcv
Nov 6 '18 at 15:25
add a comment |
Here's the solution:
sudo npm install --save-dev --unsafe-perm node-sass
Enjoy!
1
This worked, but if someone could add to the answer on why this worked and the simplenpm install node-sass
did not work it would be instructive.
– Michael Potter
Jan 14 at 5:06
1
@MichaelPotter you downvoted my answer because you couldn't find why it works?
– Alex Onozor
Jan 14 at 8:06
3
Actually, I upvoted it because it worked, but I would like to know WHY it worked. Kind of a mystery. Kedar's solution did not work for me, but I did not downvote his. Your answer does not have any downvotes. To see downvotes click on the number.
– Michael Potter
Jan 14 at 15:54
@AlexOnozor HOW DOES THIS WORK?
– Bahman.A
Jan 17 at 1:53
worked like magic. :-)
– THE INN-VISIBLE
Feb 12 at 13:59
add a comment |
Run:
npm rebuild node-sass --force
and it'll work fine.
Doesn't work fine, sadly. For me (on windows) the problem remains.
– mcv
Nov 6 '18 at 15:24
add a comment |
There is an issue with downloading npm dependencies due to network which you have. try to download the npm dependencies in open network . you won't get any issue. i am also faced this similar issue and resolved finally.
use below commands: npm install (it will download all depedencies)
npm start to start the angular application
1
what do you mean by open network please?
– Tiny Skillz
Mar 1 '18 at 15:37
@TinySkillz i think he is mentioning no-proxy networks
– Akhil S K
Jul 23 '18 at 9:08
add a comment |
It worked for me...
sudo npm rebuild node-sass --force
1
Give some explanation so that it would be easy to understand the solution
– Harsha B
Oct 3 '18 at 9:14
add a comment |
One of the cases is the post-install process fails. Right after node-sass is installed, the post-install script will be executed. It requires Python and a C++ builder for that process.
The log 'gyp: No Xcode or CLT version detected!' maybe because it couldn't find any C++ builder. So try installing Python and any C++ builder then put their directories in environment variables so that npm can find them. (I come from Windows)
add a comment |
If you run
npm install node-sass
and it still doesn't work remember to change permission to folder
add a comment |
I checked my local machine Node version which is v10.11.0
Then when I check my development machine which has a Node version of V.10.8.0
The error occurred.
what I did to fix the error is that.
In my development machine I change the version of Node which is v10.11.0 same in my local machine.
Hope this helps.
add a comment |
npm install node-sass
will do the job in most of the cases, as it will add missing sass npm dependency module doesn't exist or it will overwrite previous crashed version.
For Mac Users use sudo
in front of above commands.
On Windows machines npm rebuild node-sass --force
may not work for some users because it's essentially saying, "please force npm to rebuild the sass node module for me". It will not work because that module doesn't exist.
Whenever you did npm install
to the initial installation, the sass module did not get installed, which is why this problem occurs.
add a comment |
I have also been facing this error. None of the above methods work for me. Please follow this as it worked for me.
For Installing node-sass in Ubuntu 16 via npm :-
You can install with npm 5.2.0 Version
If you are using nvm :-
nvm install 8.2.1
nvm use 8.2.1
npm install node-sass
If you are using npm separately then upgrade or downgrade npm version to 5.2.0
npm install node-sass
add a comment |
What fixed it for me was installing the latest version of node-sass, in this case 4.7.2.
6
Install how? In the project or global?
– lealceldeiro
Apr 6 '18 at 13:29
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f48147896%2ferror-in-cannot-find-module-node-sass%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
11 Answers
11
active
oldest
votes
11 Answers
11
active
oldest
votes
active
oldest
votes
active
oldest
votes
- This error is for node-sass is not present ... to solve this just you want to run following command
npm install node-sass
14
add as devDependenciesnpm install --save-dev node-sass
.
– Ashok R
Sep 16 '18 at 9:01
4
Doesn't help. I've already installed node-sass a dozen times (which wasn't easy), but it still fails. Node-sass is clearly a problem.
– mcv
Nov 6 '18 at 15:25
add a comment |
- This error is for node-sass is not present ... to solve this just you want to run following command
npm install node-sass
14
add as devDependenciesnpm install --save-dev node-sass
.
– Ashok R
Sep 16 '18 at 9:01
4
Doesn't help. I've already installed node-sass a dozen times (which wasn't easy), but it still fails. Node-sass is clearly a problem.
– mcv
Nov 6 '18 at 15:25
add a comment |
- This error is for node-sass is not present ... to solve this just you want to run following command
npm install node-sass
- This error is for node-sass is not present ... to solve this just you want to run following command
npm install node-sass
edited May 24 '18 at 6:54
alexander.polomodov
4,202132736
4,202132736
answered May 24 '18 at 6:34
kedar kokilkedar kokil
67924
67924
14
add as devDependenciesnpm install --save-dev node-sass
.
– Ashok R
Sep 16 '18 at 9:01
4
Doesn't help. I've already installed node-sass a dozen times (which wasn't easy), but it still fails. Node-sass is clearly a problem.
– mcv
Nov 6 '18 at 15:25
add a comment |
14
add as devDependenciesnpm install --save-dev node-sass
.
– Ashok R
Sep 16 '18 at 9:01
4
Doesn't help. I've already installed node-sass a dozen times (which wasn't easy), but it still fails. Node-sass is clearly a problem.
– mcv
Nov 6 '18 at 15:25
14
14
add as devDependencies
npm install --save-dev node-sass
.– Ashok R
Sep 16 '18 at 9:01
add as devDependencies
npm install --save-dev node-sass
.– Ashok R
Sep 16 '18 at 9:01
4
4
Doesn't help. I've already installed node-sass a dozen times (which wasn't easy), but it still fails. Node-sass is clearly a problem.
– mcv
Nov 6 '18 at 15:25
Doesn't help. I've already installed node-sass a dozen times (which wasn't easy), but it still fails. Node-sass is clearly a problem.
– mcv
Nov 6 '18 at 15:25
add a comment |
Here's the solution:
sudo npm install --save-dev --unsafe-perm node-sass
Enjoy!
1
This worked, but if someone could add to the answer on why this worked and the simplenpm install node-sass
did not work it would be instructive.
– Michael Potter
Jan 14 at 5:06
1
@MichaelPotter you downvoted my answer because you couldn't find why it works?
– Alex Onozor
Jan 14 at 8:06
3
Actually, I upvoted it because it worked, but I would like to know WHY it worked. Kind of a mystery. Kedar's solution did not work for me, but I did not downvote his. Your answer does not have any downvotes. To see downvotes click on the number.
– Michael Potter
Jan 14 at 15:54
@AlexOnozor HOW DOES THIS WORK?
– Bahman.A
Jan 17 at 1:53
worked like magic. :-)
– THE INN-VISIBLE
Feb 12 at 13:59
add a comment |
Here's the solution:
sudo npm install --save-dev --unsafe-perm node-sass
Enjoy!
1
This worked, but if someone could add to the answer on why this worked and the simplenpm install node-sass
did not work it would be instructive.
– Michael Potter
Jan 14 at 5:06
1
@MichaelPotter you downvoted my answer because you couldn't find why it works?
– Alex Onozor
Jan 14 at 8:06
3
Actually, I upvoted it because it worked, but I would like to know WHY it worked. Kind of a mystery. Kedar's solution did not work for me, but I did not downvote his. Your answer does not have any downvotes. To see downvotes click on the number.
– Michael Potter
Jan 14 at 15:54
@AlexOnozor HOW DOES THIS WORK?
– Bahman.A
Jan 17 at 1:53
worked like magic. :-)
– THE INN-VISIBLE
Feb 12 at 13:59
add a comment |
Here's the solution:
sudo npm install --save-dev --unsafe-perm node-sass
Enjoy!
Here's the solution:
sudo npm install --save-dev --unsafe-perm node-sass
Enjoy!
answered Sep 30 '18 at 19:08
Alex OnozorAlex Onozor
732722
732722
1
This worked, but if someone could add to the answer on why this worked and the simplenpm install node-sass
did not work it would be instructive.
– Michael Potter
Jan 14 at 5:06
1
@MichaelPotter you downvoted my answer because you couldn't find why it works?
– Alex Onozor
Jan 14 at 8:06
3
Actually, I upvoted it because it worked, but I would like to know WHY it worked. Kind of a mystery. Kedar's solution did not work for me, but I did not downvote his. Your answer does not have any downvotes. To see downvotes click on the number.
– Michael Potter
Jan 14 at 15:54
@AlexOnozor HOW DOES THIS WORK?
– Bahman.A
Jan 17 at 1:53
worked like magic. :-)
– THE INN-VISIBLE
Feb 12 at 13:59
add a comment |
1
This worked, but if someone could add to the answer on why this worked and the simplenpm install node-sass
did not work it would be instructive.
– Michael Potter
Jan 14 at 5:06
1
@MichaelPotter you downvoted my answer because you couldn't find why it works?
– Alex Onozor
Jan 14 at 8:06
3
Actually, I upvoted it because it worked, but I would like to know WHY it worked. Kind of a mystery. Kedar's solution did not work for me, but I did not downvote his. Your answer does not have any downvotes. To see downvotes click on the number.
– Michael Potter
Jan 14 at 15:54
@AlexOnozor HOW DOES THIS WORK?
– Bahman.A
Jan 17 at 1:53
worked like magic. :-)
– THE INN-VISIBLE
Feb 12 at 13:59
1
1
This worked, but if someone could add to the answer on why this worked and the simple
npm install node-sass
did not work it would be instructive.– Michael Potter
Jan 14 at 5:06
This worked, but if someone could add to the answer on why this worked and the simple
npm install node-sass
did not work it would be instructive.– Michael Potter
Jan 14 at 5:06
1
1
@MichaelPotter you downvoted my answer because you couldn't find why it works?
– Alex Onozor
Jan 14 at 8:06
@MichaelPotter you downvoted my answer because you couldn't find why it works?
– Alex Onozor
Jan 14 at 8:06
3
3
Actually, I upvoted it because it worked, but I would like to know WHY it worked. Kind of a mystery. Kedar's solution did not work for me, but I did not downvote his. Your answer does not have any downvotes. To see downvotes click on the number.
– Michael Potter
Jan 14 at 15:54
Actually, I upvoted it because it worked, but I would like to know WHY it worked. Kind of a mystery. Kedar's solution did not work for me, but I did not downvote his. Your answer does not have any downvotes. To see downvotes click on the number.
– Michael Potter
Jan 14 at 15:54
@AlexOnozor HOW DOES THIS WORK?
– Bahman.A
Jan 17 at 1:53
@AlexOnozor HOW DOES THIS WORK?
– Bahman.A
Jan 17 at 1:53
worked like magic. :-)
– THE INN-VISIBLE
Feb 12 at 13:59
worked like magic. :-)
– THE INN-VISIBLE
Feb 12 at 13:59
add a comment |
Run:
npm rebuild node-sass --force
and it'll work fine.
Doesn't work fine, sadly. For me (on windows) the problem remains.
– mcv
Nov 6 '18 at 15:24
add a comment |
Run:
npm rebuild node-sass --force
and it'll work fine.
Doesn't work fine, sadly. For me (on windows) the problem remains.
– mcv
Nov 6 '18 at 15:24
add a comment |
Run:
npm rebuild node-sass --force
and it'll work fine.
Run:
npm rebuild node-sass --force
and it'll work fine.
edited Jun 5 '18 at 18:16
Marco Altieri
2,51212234
2,51212234
answered May 17 '18 at 2:38
PENG ZHUPENG ZHU
9714
9714
Doesn't work fine, sadly. For me (on windows) the problem remains.
– mcv
Nov 6 '18 at 15:24
add a comment |
Doesn't work fine, sadly. For me (on windows) the problem remains.
– mcv
Nov 6 '18 at 15:24
Doesn't work fine, sadly. For me (on windows) the problem remains.
– mcv
Nov 6 '18 at 15:24
Doesn't work fine, sadly. For me (on windows) the problem remains.
– mcv
Nov 6 '18 at 15:24
add a comment |
There is an issue with downloading npm dependencies due to network which you have. try to download the npm dependencies in open network . you won't get any issue. i am also faced this similar issue and resolved finally.
use below commands: npm install (it will download all depedencies)
npm start to start the angular application
1
what do you mean by open network please?
– Tiny Skillz
Mar 1 '18 at 15:37
@TinySkillz i think he is mentioning no-proxy networks
– Akhil S K
Jul 23 '18 at 9:08
add a comment |
There is an issue with downloading npm dependencies due to network which you have. try to download the npm dependencies in open network . you won't get any issue. i am also faced this similar issue and resolved finally.
use below commands: npm install (it will download all depedencies)
npm start to start the angular application
1
what do you mean by open network please?
– Tiny Skillz
Mar 1 '18 at 15:37
@TinySkillz i think he is mentioning no-proxy networks
– Akhil S K
Jul 23 '18 at 9:08
add a comment |
There is an issue with downloading npm dependencies due to network which you have. try to download the npm dependencies in open network . you won't get any issue. i am also faced this similar issue and resolved finally.
use below commands: npm install (it will download all depedencies)
npm start to start the angular application
There is an issue with downloading npm dependencies due to network which you have. try to download the npm dependencies in open network . you won't get any issue. i am also faced this similar issue and resolved finally.
use below commands: npm install (it will download all depedencies)
npm start to start the angular application
answered Feb 7 '18 at 10:03
Ravi MarojuRavi Maroju
36239
36239
1
what do you mean by open network please?
– Tiny Skillz
Mar 1 '18 at 15:37
@TinySkillz i think he is mentioning no-proxy networks
– Akhil S K
Jul 23 '18 at 9:08
add a comment |
1
what do you mean by open network please?
– Tiny Skillz
Mar 1 '18 at 15:37
@TinySkillz i think he is mentioning no-proxy networks
– Akhil S K
Jul 23 '18 at 9:08
1
1
what do you mean by open network please?
– Tiny Skillz
Mar 1 '18 at 15:37
what do you mean by open network please?
– Tiny Skillz
Mar 1 '18 at 15:37
@TinySkillz i think he is mentioning no-proxy networks
– Akhil S K
Jul 23 '18 at 9:08
@TinySkillz i think he is mentioning no-proxy networks
– Akhil S K
Jul 23 '18 at 9:08
add a comment |
It worked for me...
sudo npm rebuild node-sass --force
1
Give some explanation so that it would be easy to understand the solution
– Harsha B
Oct 3 '18 at 9:14
add a comment |
It worked for me...
sudo npm rebuild node-sass --force
1
Give some explanation so that it would be easy to understand the solution
– Harsha B
Oct 3 '18 at 9:14
add a comment |
It worked for me...
sudo npm rebuild node-sass --force
It worked for me...
sudo npm rebuild node-sass --force
answered Oct 3 '18 at 8:06
Vibhu kumarVibhu kumar
865
865
1
Give some explanation so that it would be easy to understand the solution
– Harsha B
Oct 3 '18 at 9:14
add a comment |
1
Give some explanation so that it would be easy to understand the solution
– Harsha B
Oct 3 '18 at 9:14
1
1
Give some explanation so that it would be easy to understand the solution
– Harsha B
Oct 3 '18 at 9:14
Give some explanation so that it would be easy to understand the solution
– Harsha B
Oct 3 '18 at 9:14
add a comment |
One of the cases is the post-install process fails. Right after node-sass is installed, the post-install script will be executed. It requires Python and a C++ builder for that process.
The log 'gyp: No Xcode or CLT version detected!' maybe because it couldn't find any C++ builder. So try installing Python and any C++ builder then put their directories in environment variables so that npm can find them. (I come from Windows)
add a comment |
One of the cases is the post-install process fails. Right after node-sass is installed, the post-install script will be executed. It requires Python and a C++ builder for that process.
The log 'gyp: No Xcode or CLT version detected!' maybe because it couldn't find any C++ builder. So try installing Python and any C++ builder then put their directories in environment variables so that npm can find them. (I come from Windows)
add a comment |
One of the cases is the post-install process fails. Right after node-sass is installed, the post-install script will be executed. It requires Python and a C++ builder for that process.
The log 'gyp: No Xcode or CLT version detected!' maybe because it couldn't find any C++ builder. So try installing Python and any C++ builder then put their directories in environment variables so that npm can find them. (I come from Windows)
One of the cases is the post-install process fails. Right after node-sass is installed, the post-install script will be executed. It requires Python and a C++ builder for that process.
The log 'gyp: No Xcode or CLT version detected!' maybe because it couldn't find any C++ builder. So try installing Python and any C++ builder then put their directories in environment variables so that npm can find them. (I come from Windows)
answered Dec 4 '18 at 2:41
Van HungVan Hung
11415
11415
add a comment |
add a comment |
If you run
npm install node-sass
and it still doesn't work remember to change permission to folder
add a comment |
If you run
npm install node-sass
and it still doesn't work remember to change permission to folder
add a comment |
If you run
npm install node-sass
and it still doesn't work remember to change permission to folder
If you run
npm install node-sass
and it still doesn't work remember to change permission to folder
edited Oct 16 '18 at 8:50
answered Oct 13 '18 at 7:03
Claudio AlbertiClaudio Alberti
112
112
add a comment |
add a comment |
I checked my local machine Node version which is v10.11.0
Then when I check my development machine which has a Node version of V.10.8.0
The error occurred.
what I did to fix the error is that.
In my development machine I change the version of Node which is v10.11.0 same in my local machine.
Hope this helps.
add a comment |
I checked my local machine Node version which is v10.11.0
Then when I check my development machine which has a Node version of V.10.8.0
The error occurred.
what I did to fix the error is that.
In my development machine I change the version of Node which is v10.11.0 same in my local machine.
Hope this helps.
add a comment |
I checked my local machine Node version which is v10.11.0
Then when I check my development machine which has a Node version of V.10.8.0
The error occurred.
what I did to fix the error is that.
In my development machine I change the version of Node which is v10.11.0 same in my local machine.
Hope this helps.
I checked my local machine Node version which is v10.11.0
Then when I check my development machine which has a Node version of V.10.8.0
The error occurred.
what I did to fix the error is that.
In my development machine I change the version of Node which is v10.11.0 same in my local machine.
Hope this helps.
answered Nov 20 '18 at 3:04
davecar21davecar21
1,388721
1,388721
add a comment |
add a comment |
npm install node-sass
will do the job in most of the cases, as it will add missing sass npm dependency module doesn't exist or it will overwrite previous crashed version.
For Mac Users use sudo
in front of above commands.
On Windows machines npm rebuild node-sass --force
may not work for some users because it's essentially saying, "please force npm to rebuild the sass node module for me". It will not work because that module doesn't exist.
Whenever you did npm install
to the initial installation, the sass module did not get installed, which is why this problem occurs.
add a comment |
npm install node-sass
will do the job in most of the cases, as it will add missing sass npm dependency module doesn't exist or it will overwrite previous crashed version.
For Mac Users use sudo
in front of above commands.
On Windows machines npm rebuild node-sass --force
may not work for some users because it's essentially saying, "please force npm to rebuild the sass node module for me". It will not work because that module doesn't exist.
Whenever you did npm install
to the initial installation, the sass module did not get installed, which is why this problem occurs.
add a comment |
npm install node-sass
will do the job in most of the cases, as it will add missing sass npm dependency module doesn't exist or it will overwrite previous crashed version.
For Mac Users use sudo
in front of above commands.
On Windows machines npm rebuild node-sass --force
may not work for some users because it's essentially saying, "please force npm to rebuild the sass node module for me". It will not work because that module doesn't exist.
Whenever you did npm install
to the initial installation, the sass module did not get installed, which is why this problem occurs.
npm install node-sass
will do the job in most of the cases, as it will add missing sass npm dependency module doesn't exist or it will overwrite previous crashed version.
For Mac Users use sudo
in front of above commands.
On Windows machines npm rebuild node-sass --force
may not work for some users because it's essentially saying, "please force npm to rebuild the sass node module for me". It will not work because that module doesn't exist.
Whenever you did npm install
to the initial installation, the sass module did not get installed, which is why this problem occurs.
edited Feb 15 at 7:07
answered Jan 29 at 1:28
surendrapandaysurendrapanday
356
356
add a comment |
add a comment |
I have also been facing this error. None of the above methods work for me. Please follow this as it worked for me.
For Installing node-sass in Ubuntu 16 via npm :-
You can install with npm 5.2.0 Version
If you are using nvm :-
nvm install 8.2.1
nvm use 8.2.1
npm install node-sass
If you are using npm separately then upgrade or downgrade npm version to 5.2.0
npm install node-sass
add a comment |
I have also been facing this error. None of the above methods work for me. Please follow this as it worked for me.
For Installing node-sass in Ubuntu 16 via npm :-
You can install with npm 5.2.0 Version
If you are using nvm :-
nvm install 8.2.1
nvm use 8.2.1
npm install node-sass
If you are using npm separately then upgrade or downgrade npm version to 5.2.0
npm install node-sass
add a comment |
I have also been facing this error. None of the above methods work for me. Please follow this as it worked for me.
For Installing node-sass in Ubuntu 16 via npm :-
You can install with npm 5.2.0 Version
If you are using nvm :-
nvm install 8.2.1
nvm use 8.2.1
npm install node-sass
If you are using npm separately then upgrade or downgrade npm version to 5.2.0
npm install node-sass
I have also been facing this error. None of the above methods work for me. Please follow this as it worked for me.
For Installing node-sass in Ubuntu 16 via npm :-
You can install with npm 5.2.0 Version
If you are using nvm :-
nvm install 8.2.1
nvm use 8.2.1
npm install node-sass
If you are using npm separately then upgrade or downgrade npm version to 5.2.0
npm install node-sass
edited 6 hours ago
Dale Burrell
3,23032552
3,23032552
answered Oct 25 '18 at 6:26
Paras AgarwalParas Agarwal
166
166
add a comment |
add a comment |
What fixed it for me was installing the latest version of node-sass, in this case 4.7.2.
6
Install how? In the project or global?
– lealceldeiro
Apr 6 '18 at 13:29
add a comment |
What fixed it for me was installing the latest version of node-sass, in this case 4.7.2.
6
Install how? In the project or global?
– lealceldeiro
Apr 6 '18 at 13:29
add a comment |
What fixed it for me was installing the latest version of node-sass, in this case 4.7.2.
What fixed it for me was installing the latest version of node-sass, in this case 4.7.2.
answered Jan 8 '18 at 12:10
bier hierbier hier
2,592103373
2,592103373
6
Install how? In the project or global?
– lealceldeiro
Apr 6 '18 at 13:29
add a comment |
6
Install how? In the project or global?
– lealceldeiro
Apr 6 '18 at 13:29
6
6
Install how? In the project or global?
– lealceldeiro
Apr 6 '18 at 13:29
Install how? In the project or global?
– lealceldeiro
Apr 6 '18 at 13:29
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f48147896%2ferror-in-cannot-find-module-node-sass%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
7
run
npm install --save-dev node-sass
– Ashok R
Sep 16 '18 at 9:02