Answer the question
In order to leave comments, you need to log in
How to fix Gulp error on macOS?
Hello colleagues!
Faced here with such problem.
Installed on macOS node.js, Homebrew, brew install yarn, build git clone https://github.com/andreyalexeich/gulp-scss-starte... and installed gulp globally: yarn global add gulp-cli. Then I entered the command yarn and yarn run dev, I was transferred to localhost: 4000 and I could make changes to the template files. everything is fine, it works.
now I have created a repository on github, and I want to install the assembly in the project folder on the computer.
To do this, in the github folder, I select the desired repository folder, then "Services - New terminal at the folder address" and typed in the yarn run dev command.
As a result, it gives me an error. Has anyone experienced this? how to fix it? I will be grateful for advice!
SyntaxError: Unexpected identifier
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Module._compile (/Users/avanesov/Documents/GitHub/training/node_modules/pirates/lib/index.js:99:24)
at Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Object.newLoader [as .js] (/Users/avanesov/Documents/GitHub/training/node_modules/pirates/lib/index.js:104:7)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at execute (/Users/avanesov/Documents/GitHub/training/node_modules/gulp-cli/lib/versioned/^4.0.0/index.js:36:18)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question