You need to change the sass compiler to use dart–sass instead of the default node–sass like this: const sass = require(‘gulp-sass’); sass.compiler = require(‘sass’); Or for version 5 of gulp–sass: const sass = require(‘gulp-sass’)(require(‘sass’));
Tag: Gulp local
How to resolve Error: Cannot find module ‘gulp-sass’
First check the nvm version. This issue will usually comes for old version so for that we need to update the nvm version. Just do npm update and then npm install gulp-sass –save-dev in your root folder, and then when you run you shouldn’t have any issues. Edit your package.json. Change: “gulp-sass”: “^2.3.2” to “gulp-sass”:… Continue reading How to resolve Error: Cannot find module ‘gulp-sass’
How to resolve error: Cannot find module ‘node-sass’
This error is for node-sass is not present … to solve this just you want to run following command npm install node-sass npm install –save-dev node-sass npm rebuild node-sass –force sudo npm rebuild node-sass –force
How to resolve Error: Node Sass does not yet support your current environment: Windows 64-bit.
This error message does not indicate a problem with Ionic, but rather with node-sass, which is specified to execute in your Gulp file. Try to run the below code npm rebuild node-sass (with -g if node-sass was installed globally). If it didn’t rectify the issue then npm uninstall node-sass && npm install node-sass (again, with… Continue reading How to resolve Error: Node Sass does not yet support your current environment: Windows 64-bit.
How to resolve error Error: Missing binding in the GIT while running gulp local.
If you encounter Error: Missing binding issues running Gulp locally, please try resolving it by executing the following command in your Git environment: `npm rebuild node-sass`
Fetch Extension using New Token
For creating new token instead of using the existing one, replace the credential with an empty object which will force you to create a new token while deploying
Prevent Initial Extension Fetch
We have a configuration JSON that can be updated to prevent the initial extension fetch on the gulp folder. For example, replace fetchConfig with fetchConfig empty Obejct as shown in the figure, which will indicate what to fetch once more.
How to resolve Syntax error: Unexpected token while running Gulp local
To resolved Issue II, follow the instructions below: Steps: Ensure that the node 4.9.1, gulp 3.9.1 and npm 4.6.1 are being used in the development environment. These versions are supported by Elbrus Release of SuiteCommerce Advanced. To verify that Node, Gulp and npm are installed correctly, follow these checklist: To check node, run node -v in the command line window To run multiple Node versions, see article 49023… Continue reading How to resolve Syntax error: Unexpected token while running Gulp local
Resolve EADDRINUSE error when running gulp local
Suite Commerce Advanced can run on a local server by entering the “gulp local” command. This is usually used to verify and test the changes immediately made on the application without affecting the production/live environment. When a user encounters the following Error: “Error: listen EADDRINUSE 0.0.0.0:XXXX“, it only means that the address XXXX is being… Continue reading Resolve EADDRINUSE error when running gulp local