Giter Club home page Giter Club logo

Comments (33)

DaFunkyAlex avatar DaFunkyAlex commented on September 15, 2024 251

That worked for me:

npm --depth 9999 update
npm rebuild node-sass

from partsunlimited.

ghernandezfortes avatar ghernandezfortes commented on September 15, 2024 105

With "yarn add node-sass" worked for me

from partsunlimited.

PHBeagle avatar PHBeagle commented on September 15, 2024 37

@eamonnk Thank you! I can now build and debug the solution.

What I did:

  1. Followed the directions on the updated page ("PandP"). That has better instructions and does, in fact, say NOT to use NodeJS 8x.
  2. Uninstalled NodeJS 8x
  3. Installed NodeJS 6.12.3
  4. Cloned solution again to a different repository.
  5. Ran npm rebuild node-sass due to error (the link has info about the error message).
  6. Build solution. All is now good.

This issue is resolved. Thanks again!

from partsunlimited.

waqar-imtiaz avatar waqar-imtiaz commented on September 15, 2024 35

That worked for me:

npm --depth 9999 update
npm rebuild node-sass

Thanks, this works for me :)

from partsunlimited.

eamonnk avatar eamonnk commented on September 15, 2024 27

Hi

Can you try open up a cmd or Powershell window as administrator, go to the repo where the PartsUnlimitedWebsite src folder is located i.e. C:<repository path>\PartsUnlimited\src\PartsUnlimitedWebsite then run the below command and try again to build the solution.

npm rebuild node-sass

If you still get errors, check the version of node.js installed, if its not v6 but ver 8x, you could uninstall the 8x version thats currently installed and install ver 6.12.3 from the node.js LTS schedule page. Then try build the solution again.

Theres also an updated page available for this as well, https://microsoft.github.io/PartsUnlimited/pandp/200.1x-PandP-PUsetupwithVS2017.html. which has more details then the page you're currently looking at. It has a bit more detail for errrors which might help.

If its still not building after trying those things let us know and will have another look.

Thanks,
Eamonn

from partsunlimited.

theonlyalterego avatar theonlyalterego commented on September 15, 2024 12

npm --depth 9999 update
npm rebuild node-sass

This also worked for me!

from partsunlimited.

kevin-patel avatar kevin-patel commented on September 15, 2024 6

That worked for me:

npm --depth 9999 update
npm rebuild node-sass

This also worked for me! Thanks a lot, you saved my day !

from partsunlimited.

 avatar commented on September 15, 2024 6

That worked for me:

npm --depth 9999 update
npm rebuild node-sass

Dosent work for me. She still block and dont move ...

from partsunlimited.

naveen-me avatar naveen-me commented on September 15, 2024 4

remove node_modules folder
run
npm i

from partsunlimited.

oybek9508 avatar oybek9508 commented on September 15, 2024 4

This shows that the version of node-sass you are trying to run is not compatible with the version of node installed. So you need to run
npm rebuild node-sass
and if this does not work, you should run the following command
npm uninstall node-sass && npm install node-sass (with -g if your node-sass installed globally)

from partsunlimited.

vblain avatar vblain commented on September 15, 2024 3

In case someone else has problem with Grunt Task Runner after following all the direction above. Please see this link https://developercommunity.visualstudio.com/content/problem/314581/gulpfilejs-fails-in-task-runner-in-visual-studio-2.html . Basically do this go to Tools -> Options -> Projects and Solutions -> Web Package Management -> External Web Tools and move the $(PATH) entry above $(VSInstalledExternalTools). Restart VS 2017, and voila grunt task runner no longer using the wrong version of Node. It would seem that task runner will run the latest version of Node even if you install Node 6. Fixed everything for me. PS: you will still need to rebuild node-sass

Result of task runner - Grunt
C:\edx\Repos\PartsUnlimited\src\PartsUnlimitedWebsite> cmd.exe /c grunt -b "C:\edx\Repos\PartsUnlimited\src\PartsUnlimitedWebsite" --gruntfile "C:\edx\Repos\PartsUnlimited\src\PartsUnlimitedWebsite\Gruntfile.js" bower --color
Running "bower:install" (bower) task
Cleaned target dir C:\edx\Repos\PartsUnlimited\src\PartsUnlimitedWebsite\wwwroot\lib
Installed bower packages
Copied packages to C:\edx\Repos\PartsUnlimited\src\PartsUnlimitedWebsite\wwwroot\lib
Done.
Process terminated with code 0.

from partsunlimited.

ancarofl avatar ancarofl commented on September 15, 2024 1

what npm --depth 9999 update is doing ?

"If no package name is specified, all packages in the specified location (global or local) will be updated. As of [email protected], the npm update will only inspect top-level packages. Prior versions of npm would also recursively inspect all dependencies. To get the old behavior, use npm --depth 9999 update ."

As retrieved today from https://docs.npmjs.com/cli/update.html.

from partsunlimited.

Shubham819 avatar Shubham819 commented on September 15, 2024 1

I am using node 12.1.0 version, angular 8.2. 14 and node-sass 4.13.0
Still facing the issue.

from partsunlimited.

jsbimra avatar jsbimra commented on September 15, 2024

what npm --depth 9999 update is doing ?

from partsunlimited.

kr4ckhe4d avatar kr4ckhe4d commented on September 15, 2024

That worked for me:

npm --depth 9999 update
npm rebuild node-sass

Thank you it worked. Could you explain what the first line does?

from partsunlimited.

rusrc avatar rusrc commented on September 15, 2024

That worked for me:

npm --depth 9999 update
npm rebuild node-sass

Thank you it worked. Could you explain what the first line does?

Just take a loot at package.json file after the command processed.
By the way it doesn't help me.

from partsunlimited.

kuige avatar kuige commented on September 15, 2024

That worked for me:

npm --depth 9999 update
npm rebuild node-sass

In my case, only run npm --depth 9999 update, then the newest node-sass binary is redownloaded, no need for npm rebuild node-sass.

from partsunlimited.

namphd00769 avatar namphd00769 commented on September 15, 2024

npm --depth 9999 update
npm rebuild node-sass
Thank you, That worked for my project.

from partsunlimited.

MujahidAbbas avatar MujahidAbbas commented on September 15, 2024

npm --depth 9999 update
npm rebuild node-sass
This worked for me. Thank you!

from partsunlimited.

gabrielp16 avatar gabrielp16 commented on September 15, 2024

npm --depth 9999 update
npm rebuild node-sass

Thanks a lot !!!
It really works

from partsunlimited.

ShrishtiChouksey30 avatar ShrishtiChouksey30 commented on September 15, 2024

That worked for me:

npm --depth 9999 update
npm rebuild node-sass

Worked for me too.

from partsunlimited.

thanhkhanhcntt avatar thanhkhanhcntt commented on September 15, 2024

npm --depth 9999 update
npm rebuild node-sass

It's really worked. Thanks

from partsunlimited.

herico avatar herico commented on September 15, 2024

That worked for me:

npm --depth 9999 update
npm rebuild node-sass

It's really worked, Huge thank you

from partsunlimited.

Exteriordemonic avatar Exteriordemonic commented on September 15, 2024

With "yarn add node-sass" worked for me

Worked for me

from partsunlimited.

shreesthapit1 avatar shreesthapit1 commented on September 15, 2024

With "yarn add node-sass" worked for me

Worked For Me

from partsunlimited.

hamadjutt avatar hamadjutt commented on September 15, 2024

That worked for me:

npm --depth 9999 update
npm rebuild node-sass

Work for me thank you

from partsunlimited.

manglide avatar manglide commented on September 15, 2024

In my case, i had nvm installed, and was using node 11.10.1 on MinGW, once i switched back to node 8.9.4, it worked and the error went away.

from partsunlimited.

byejune avatar byejune commented on September 15, 2024

With "yarn add node-sass" worked for me

Worked for me. thanks.

from partsunlimited.

RawsonBpo avatar RawsonBpo commented on September 15, 2024

npm --depth 9999 update
npm rebuild node-sass
It took a long time but it works thank you

from partsunlimited.

Cbooogdan avatar Cbooogdan commented on September 15, 2024

I am using Vue 4.5.4 and I got this error on yarn serve, I fixes this with just running yarn and again yarn serve.

from partsunlimited.

zhicheng-Fu avatar zhicheng-Fu commented on September 15, 2024

npm uninstall node-sass
npm install node-sass
its worked on mac osx 11 node 13

from partsunlimited.

decpk avatar decpk commented on September 15, 2024

If the problem still exists then first uninstall node.js and reinstall node. It works for me after 3 hours of struggle. Read every answer on SOF. Did almost everything that GitHub users said. But reinstalling works like a charm, on the first go.

from partsunlimited.

ymzEmre avatar ymzEmre commented on September 15, 2024

That worked for me:

npm --depth 9999 update
npm rebuild node-sass

Thank you, Worked for me.

from partsunlimited.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.