Unable to truffle migrate as it is showing - Error: Cannot find module '#trufflesuite/bigint-buffer'.
Even I tried the command npm install #trufflesuite/bigint-buffer
When I write this command: cabal install postgres-simple or cabal install postgresql-simple
This error appears:
cabal: Error: some packages failed to install: postgresql-libpg-0.9.4.2 failed during the configure step. The exception was: ExitFailure 1
postgresql-simple-0.6.2 depends on postgresql-libpg-0.9.4.2 which failed to install.
I tried on windows and Ubuntu, the same error appears.
As the comment notes, you need to have postgres already installed on your system.
When I run the command: ionic cordova run android
This error is showing up:
[ERROR] native-run was not found on your PATH. Please install it globally:
I also tried to run sudo npm i -g native-run but I'm getting the same error.
Can you help me? I got this error when I hit ng s
ERROR in ./src/styles.scss (./node_modules/raw-loader!./node_modules/postcss-loader/lib??embedded!./node_modules/sass-loader/lib/loader.js??ref--14-3!./src/styles.scss)
Module build failed: Error: `sass-loader` requires `node-sass` >=4. Please install a compatible version.
at Object.sassLoader (E:\Ibtikar\shop\node_modules\sass-loader\lib\loader.js:31:19)
ERROR in ./src/app/app.component.scss
Module build failed: Error: `sass-loader` requires `node-sass` >=4. Please install a compatible version.
at Object.sassLoader (E:\Ibtikar\shop\node_modules\sass-loader\lib\loader.js:31:19)
ERROR in ./src/app/detail-view/detail-view.component.scss
Module build failed: Error: `sass-loader` requires `node-sass` >=4. Please install a compatible version.
at Object.sassLoader (E:\Ibtikar\shop\node_modules\sass-loader\lib\loader.js:31:19)
ERROR in ./src/app/footer/footer.component.scss
Module build failed: Error: `sass-loader` requires `node-sass` >=4. Please install a compatible version.
at Object.sassLoader (E:\Ibtikar\shop\node_modules\sass-loader\lib\loader.js:31:19)
ERROR in ./src/app/products/products.component.scss
Module build failed: Error: `sass-loader` requires `node-sass` >=4. Please install a compatible version.
at Object.sassLoader (E:\Ibtikar\shop\node_modules\sass-loader\lib\loader.js:31:19)
ERROR in ./src/app/slider/slider.component.scss
Module build failed: Error: `sass-loader` requires `node-sass` >=4. Please install a compatible version.
at Object.sassLoader (E:\Ibtikar\shop\node_modules\sass-loader\lib\loader.js:31:19)
ERROR in ./src/app/header/header.component.scss
Module build failed: Error: `sass-loader` requires `node-sass` >=4. Please install a compatible version.
at Object.sassLoader (E:\Ibtikar\shop\node_modules\sass-loader\lib\loader.js:31:19)
You need to run npm rebuild (or npm rb) in your project folder.
This command runs the npm build command on the matched folders. This is useful when you install a new version of node, and must recompile all your C++ addons with the new binary.
Source
This worked for me
npm install --save-dev node-sass
npm rebuild node-sass --force : should work
npm rebuild --force - this will rebuild all packages. Only this worked for me
Try rebuilding node-sass using npm rebuild node-sass and check if that fixes your issue.
working solution
Step 1 rm -rf node_modules it removes the directory recursively (the existing node modules, takes a min or two)
Step 2 npm install this will work for sure, i did try and it worked.
If you are facing this issue even after upgrading node-saas to version above 4 then follow below thread
Sass-loader requires node-sass >=4 even if that exist
Re-installing webpack solved the issue for me.
npm install --save-dev webpack
or, you can try :
npm rebuild node-sass
check for the supported version. As on date I had node 12.x installed on my machine and spent an hour running npm install node-sass and npm rebuild node-sass with --force and --save-dev hints.
Nothing worked until I uninstalled the node 12.x and installed node 10.x. So if you're hitting the same problem and could not get it to work, try following
Check if your Node version (Run node -v) if it's higher than 10.x
Uninstall the Node 12.x from your machine
Download and Install Node 10.x
Restart the console/editor (not required for all and may work without this step)
I'm trying to install the arulesViz library using RStudion in Cloudera Machine. For that I'm executing:
install.packages("arulesViz", type = "source")
But I'm getting the following error:
ERROR: configuration failed for package ‘curl’
* removing ‘/home/cloudera/R/x86_64-redhat-linux-gnu-library/3.3/curl’
Warning in install.packages :
installation of package ‘curl’ had non-zero exit status
ERROR: dependency ‘curl’ is not available for package ‘httr’
* removing ‘/home/cloudera/R/x86_64-redhat-linux-gnu-library/3.3/httr’
Warning in install.packages :
installation of package ‘httr’ had non-zero exit status
ERROR: dependency ‘httr’ is not available for package ‘plotly’
* removing ‘/home/cloudera/R/x86_64-redhat-linux-gnu-library/3.3/plotly’
Warning in install.packages :
installation of package ‘plotly’ had non-zero exit status
ERROR: dependency ‘plotly’ is not available for package ‘arulesViz’
* removing ‘/home/cloudera/R/x86_64-redhat-linux-gnu-library/3.3/arulesViz’
Warning in install.packages :
installation of package ‘arulesViz’ had non-zero exit status
How can I solve this problem?
Thanks!
Package curl has the following requirements (see https://cran.r-project.org/web/packages/curl/index.html):
SystemRequirements: libcurl: libcurl-devel (rpm) or libcurl4-openssl-dev (deb).
Install the library and it will probably work.