You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently switched to Apple M1 and now getting errors on npm install node-sass. Not sure whether this has anything to do with M1, but haven't been able to identify any other reason.
/Users/gavinhughes/.npm/_logs/[eval]
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at [eval]:1:1
at Script.runInThisContext (node:vm:129:12)
at Object.runInThisContext (node:vm:305:38)
at node:internal/process/execution:81:19
at [eval]-wrapper:6:22
at evalScript (node:internal/process/execution:80:60) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/Users/gavinhughes/.npm/_logs/[eval]' ]
}
npm node-sass versions (npm ls node-sass):
/Users/gavinhughes/.npm/_logs
└── (empty)
I recently switched to Apple M1 and now getting errors on
npm install node-sass. Not sure whether this has anything to do with M1, but haven't been able to identify any other reason.npm -v): 7.24.0node -v): v16.10.0node -p process.versions):{
node: '16.10.0',
v8: '9.3.345.19-node.14',
uv: '1.42.0',
zlib: '1.2.11',
brotli: '1.0.9',
ares: '1.17.2',
modules: '93',
nghttp2: '1.45.1',
napi: '8',
llhttp: '6.0.2',
openssl: '1.1.1l',
cldr: '39.0',
icu: '69.1',
tz: '2021a',
unicode: '13.0'
}
node -p process.platform): darwinnode -p process.arch): arm64node -p "require('node-sass').info"):node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'node-sass'
Require stack:
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at [eval]:1:1
at Script.runInThisContext (node:vm:129:12)
at Object.runInThisContext (node:vm:305:38)
at node:internal/process/execution:81:19
at [eval]-wrapper:6:22
at evalScript (node:internal/process/execution:80:60) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/Users/gavinhughes/.npm/_logs/[eval]' ]
}
npm ls node-sass):/Users/gavinhughes/.npm/_logs
└── (empty)