Comments (4)
Thanks for reporting this. There is definitely a problem and we're going to fix it.
As a temporary workaround you may install packages this way:
npm install --legacy-peer-deps
or use Yarn.
from cxjs.
Yarn produces the same error as nmp install
I tried npm install --legacy-peer-deps
.
It fails with a different error. Module node-sass
fails compilation. I found from the npm web site this module is deprecated and not supported any longer.
myapp npm install --legacy-peer-deps
npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code 1
npm ERR! path /home/dimitar/Projects/Casa/POC/cxjs/myapp/node_modules/node-sass
npm ERR! command failed
npm ERR! command sh -c -- node scripts/build.js
npm ERR! Building: /home/dimitar/.nvm/versions/node/v19.1.0/bin/node /home/dimitar/Projects/Casa/POC/cxjs/myapp/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli '/home/dimitar/.nvm/versions/node/v19.1.0/bin/node',
npm ERR! gyp verb cli '/home/dimitar/Projects/Casa/POC/cxjs/myapp/node_modules/node-gyp/bin/node-gyp.js',
npm ERR! gyp verb cli 'rebuild',
npm ERR! gyp verb cli '--verbose',
npm ERR! gyp verb cli '--libsass_ext=',
npm ERR! gyp verb cli '--libsass_cflags=',
npm ERR! gyp verb cli '--libsass_ldflags=',
npm ERR! gyp verb cli '--libsass_library='
npm ERR! gyp verb cli ]
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp verb command rebuild []
npm ERR! gyp verb command clean []
npm ERR! gyp verb clean removing "build" directory
npm ERR! gyp verb command configure []
npm ERR! gyp verb find Python checking Python explicitly set from command line or npm configuration
npm ERR! gyp verb find Python - "--python=" or "npm config get python" is "/usr/bin/python3"
npm ERR! gyp verb find Python - executing "/usr/bin/python3" to get executable path
npm ERR! gyp verb find Python - executable path is "/usr/bin/python3"
npm ERR! gyp verb find Python - executing "/usr/bin/python3" to get version
npm ERR! gyp verb find Python - version is "3.10.6"
npm ERR! gyp info find Python using Python version 3.10.6 found at "/usr/bin/python3"
npm ERR! gyp verb get node dir no --target version specified, falling back to host node version: 19.1.0
npm ERR! gyp verb command install [ '19.1.0' ]
npm ERR! gyp verb install input version string "19.1.0"
npm ERR! gyp verb install installing version: 19.1.0
npm ERR! gyp verb install --ensure was passed, so won't reinstall if already installed
npm ERR! gyp verb install version is already installed, need to check "installVersion"
npm ERR! gyp verb got "installVersion" 9
npm ERR! gyp verb needs "installVersion" 9
npm ERR! gyp verb install version is good
npm ERR! gyp verb get node dir target node version installed: 19.1.0
npm ERR! gyp verb build dir attempting to create "build" dir: /home/dimitar/Projects/Casa/POC/cxjs/myapp/node_modules/node-sass/build
npm ERR! gyp verb build dir "build" dir needed to be created? /home/dimitar/Projects/Casa/POC/cxjs/myapp/node_modules/node-sass/build
npm ERR! gyp verb build/config.gypi creating config file
npm ERR! gyp ERR! UNCAUGHT EXCEPTION
npm ERR! gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>'
npm ERR! gyp ERR! stack at createConfigFile (/home/dimitar/Projects/Casa/POC/cxjs/myapp/node_modules/node-gyp/lib/configure.js:117:21)
npm ERR! gyp ERR! stack at /home/dimitar/Projects/Casa/POC/cxjs/myapp/node_modules/node-gyp/lib/configure.js:84:9
npm ERR! gyp ERR! stack at FSReqCallback.oncomplete (node:fs:188:23)
npm ERR! gyp ERR! System Linux 5.10.16.3-microsoft-standard-WSL2
npm ERR! gyp ERR! command "/home/dimitar/.nvm/versions/node/v19.1.0/bin/node" "/home/dimitar/Projects/Casa/POC/cxjs/myapp/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd /home/dimitar/Projects/Casa/POC/cxjs/myapp/node_modules/node-sass
npm ERR! gyp ERR! node -v v19.1.0
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! Node-gyp failed to build your package.
npm ERR! gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.
npm ERR! Build failed with error code: 7
npm ERR! A complete log of this run can be found in:
npm ERR! /home/dimitar/.npm/_logs/2022-11-24T15_33_30_953Z-debug-0.log
from cxjs.
Ah, node-sass. You might need to update node-sass version manually in package.json as old node-sass versions do not work with newer versions of Node.js.
from cxjs.
This should work properly now.
from cxjs.
Related Issues (20)
- Document new flags for number formatting
- Document Culture's new setNumberCulture and setDateTimeCulture methods
- Enable adding tooltip (and maybe other properties like class) to the icon in LookupField (maybe a button also) HOT 1
- lockColumnWidths and showHeader: false do not work together
- Sign in to Fiddle with GitHub
- Issue with rowSpan and colSpan in grid headers
- Improve grouped Grid rows drag and drop
- Small pie slices rendering issue with large gaps
- Grid Error
- Pie slice misleading area sizes for small inner radius
- Pie charts - prevent setting r0 to value larger than r
- Grid rendering fails if a column caption is defined as items
- Bug on refreshing app when code changes HOT 1
- Issue with clearableSort on Grid
- Stacked line graph series are rendered in reverse order
- Stacked line graph markers are misplaced HOT 1
- SnapPointFinder should support non numeric axis values (add convert function)
- Consider negative values for stacked graphs HOT 1
- add option to specify column primary sort direction
- Clear on TextFields with debaunce causes double store writes 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 cxjs.