English 中文(简体)
2. 如何以代号确定错误
原标题:How to fix the errors with node version up

I have serious error occuring by version up. I made a program in 18.x few years ago. Now I version up node.js And I have some errors. Here are error messages:

ERROR in ./app/assets/scss/styles.scss (./node_modules/css-loader!./node_modules/sass-loader/dist/cjs.js!./app/assets/scss/styles.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (120)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.14.1
    at module.exports (F:Data(D)DevProjectsBlockchainwallet_frontend_react
ode_modules
ode-sasslibinding.js:13:13)
    at Object.<anonymous> (F:Data(D)DevProjectsBlockchainwallet_frontend_react
ode_modules
ode-sasslibindex.js:14:35)
    at Module._compile (node:internal/modules/cjs/loader:1378:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1437:10)
    at Module.load (node:internal/modules/cjs/loader:1212:32)
    at Module._load (node:internal/modules/cjs/loader:1028:12)
    at Module.require (node:internal/modules/cjs/loader:1237:19)
    at require (node:internal/modules/helpers:176:18)
    at getDefaultSassImpl (F:Data(D)DevProjectsBlockchainwallet_frontend_react
ode_modulessass-loaderdistindex.js:198:10)
    at Object.loader (F:Data(D)DevProjectsBlockchainwallet_frontend_react
ode_modulessass-loaderdistindex.js:80:29)
ERROR in ./app/containers/UserDashboard/assets/style.scss (./node_modules/css-loader!./node_modules/sass-loader/dist/cjs.js!./app/containers/UserDashboard/assets/style.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (120)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.14.1
    at module.exports (F:Data(D)DevProjectsBlockchainwallet_frontend_react
ode_modules
ode-sasslibinding.js:13:13)
    at Object.<anonymous> (F:Data(D)DevProjectsBlockchainwallet_frontend_react
ode_modules
ode-sasslibindex.js:14:35)
    at Module._compile (node:internal/modules/cjs/loader:1378:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1437:10)
    at Module.load (node:internal/modules/cjs/loader:1212:32)
    at Module._load (node:internal/modules/cjs/loader:1028:12)
    at Module.require (node:internal/modules/cjs/loader:1237:19)
    at require (node:internal/modules/helpers:176:18)
    at getDefaultSassImpl (F:Data(D)DevProjectsBlockchainwallet_frontend_react
ode_modulessass-loaderdistindex.js:198:10)
    at Object.loader (F:Data(D)DevProjectsBlockchainwallet_frontend_react
ode_modulessass-loaderdistindex.js:80:29)
ERROR in ./app/assets/scss/components/register.scss (./node_modules/css-loader!./node_modules/sass-loader/dist/cjs.js!./app/assets/scss/components/register.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (120)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.14.1
    at module.exports (F:Data(D)DevProjectsBlockchainwallet_frontend_react
ode_modules
ode-sasslibinding.js:13:13)
    at Object.<anonymous> (F:Data(D)DevProjectsBlockchainwallet_frontend_react
ode_modules
ode-sasslibindex.js:14:35)
    at Module._compile (node:internal/modules/cjs/loader:1378:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1437:10)
    at Module.load (node:internal/modules/cjs/loader:1212:32)
    at Module._load (node:internal/modules/cjs/loader:1028:12)
    at Module.require (node:internal/modules/cjs/loader:1237:19)
    at require (node:internal/modules/helpers:176:18)
    at getDefaultSassImpl (F:Data(D)DevProjectsBlockchainwallet_frontend_react
ode_modulessass-loaderdistindex.js:198:10)
    at Object.loader (F:Data(D)DevProjectsBlockchainwallet_frontend_react
ode_modulessass-loaderdistindex.js:80:29)
ERROR in ./app/components/CustomTable/components/pagination.scss (./node_modules/css-loader!./node_modules/sass-loader/dist/cjs.js!./app/components/CustomTable/components/pagination.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (120)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.14.1
    at module.exports (F:Data(D)DevProjectsBlockchainwallet_frontend_react
ode_modules
ode-sasslibinding.js:13:13)
    at Object.<anonymous> (F:Data(D)DevProjectsBlockchainwallet_frontend_react
ode_modules
ode-sasslibindex.js:14:35)
    at Module._compile (node:internal/modules/cjs/loader:1378:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1437:10)
    at Module.load (node:internal/modules/cjs/loader:1212:32)
    at Module._load (node:internal/modules/cjs/loader:1028:12)
    at Module.require (node:internal/modules/cjs/loader:1237:19)
    at require (node:internal/modules/helpers:176:18)
    at getDefaultSassImpl (F:Data(D)DevProjectsBlockchainwallet_frontend_react
ode_modulessass-loaderdistindex.js:198:10)
    at Object.loader (F:Data(D)DevProjectsBlockchainwallet_frontend_react
ode_modulessass-loaderdistindex.js:80:29)

Until now I haven t error because of version up so I don t know what I have to do. How can I fix this problem?

I want build the project with out errors

问题回答

I am shaiming pai from macao. i hope u ll fix the issue with my response.

in my opinion, this err is related node sass version. so to solve this problem u can use follow command.

  1. n

OR

npm uninstall node-sass npm install sass npm cache clean --force rm -rf node_modules npm install





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签