Comments (2)
Here you can see what is missing in other words index.js line 41
const cache = new Map()
const fs = require('fs')
const { dirname, resolve } = require('path')
const lstat = path => new Promise((res, rej) =>
fs.lstat(path, (er, st) => er ? rej(er) : res(st)))
const inferOwner = path => {
path = resolve(path)
if (cache.has(path))
return Promise.resolve(cache.get(path))
const statThen = st => {
const { uid, gid } = st
cache.set(path, { uid, gid })
return { uid, gid }
}
const parent = dirname(path)
const parentTrap = parent === path ? null : er => {
return inferOwner(parent).then((owner) => {
cache.set(path, owner)
return owner
})
}
return lstat(path).then(statThen, parentTrap)
}
const inferOwnerSync = path => {
path = resolve(path)
if (cache.has(path))
return cache.get(path)
const parent = dirname(path)
// avoid obscuring call site by re-throwing
// "catch" the error by returning from a finally,
// only if we're not at the root, and the parent call works.
let threw = true
try {
const st = fs.lstatSync
from node-sass.
That isn't our code, and no we can't troubleshoot it for you
from node-sass.
Related Issues (20)
- Node Sass version 9.0.0 is incompatible with ^4.0.0. HOT 1
- [OpenBSD] npm ERR! Build failed with error code: 1
- Installing node-sass 6.0.1 on Node v16.16.0 HOT 2
- [unsupported] Installing node-sass 4.14.1 on Node 16 HOT 1
- [Deps] Check for breaking changes in Dependabot's PRs
- npm ERR! gyp ERR! node -v v16.20.2 npm ERR! gyp ERR! node-gyp -v v7.1.2 npm ERR! gyp ERR! not ok npm ERR! Build failed with error code: 1
- Sass styles are not working after upgrading node from 12 to 18 HOT 3
- Nested map regression
- I'm using Node-Sass V8 with Node 18 HOT 1
- Problem installing node-sass v7.0.1 on Node 14 HOT 3
- Having node-sass build errors - invalid CSS HOT 1
- How do I download [email protected] HOT 1
- Issue Installing node-sass in Angular Project with Specific Angular and Node Versions HOT 1
- Binary problem sass 9.0.0 HOT 1
- vulnerability at version 9.0.0
- Node 21 (module 120) pre-built binaries
- [email protected] install "Binary has a problem" HOT 10
- Unable to install node-sass v7.0.0 HOT 1
- npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-sass.