gulp - internalBinding is not defined

前端 未结 8 1459
伪装坚强ぢ
伪装坚强ぢ 2021-02-01 14:19

I\'m getting this error when I try to run the command gulp watch-bs for my UnderStrap child theme for WordPress. I\'ve been using this command for a year with no pr

相关标签:
8条回答
  • 2021-02-01 14:47

    I recently ran into the same problem after installing node. Similar to @Dv-Learner answer, What fixed it for me was:

    npm install natives@1.1.6
    npm rebuild node-sass
    

    the bit about rebuild node-sass was required for my machine (Windows)

    0 讨论(0)
  • 2021-02-01 14:49

    I also faced the same problem and then I fixed by the following command:

    npm install natives@1.1.6
    

    May be helpful if someone having same issue. updating node to latest version requires above package.

    0 讨论(0)
  • 2021-02-01 14:49

    Had the same error. Solved it by installing graceful-fs.

    It seems that natives package is now deprecatd and you should install graceful-fs instead.

    I had node v10.16.1 and glup local version 3.9.1. I ran 'npm install graceful-fs' and glup no longer gave the error in this question. (Can't comment yet, so an answer).

    0 讨论(0)
  • 2021-02-01 14:55

    I had the same error after upgrading node to v10.16.0

    I ran the following which solved my issue:

    rm -rf node_modules
    rm package-lock.json
    npm cache clean --force
    npm install 
    

    After closer inspection, it would seem that the generated tree in package-lock was outdated.

    0 讨论(0)
  • 2021-02-01 14:59

    I ran into the same issue as you. To fix it, I added the following to my package.json in the devDependencies section

    "natives": "^1.1.6"
    
    0 讨论(0)
  • 2021-02-01 15:03

    @Student 22, in addition to Lloyd's solution, I simply updated my version to the most recent version for gulp using the command below ( Local Version 3.9.1 to Local Version 4.0.0) and I didn't run any additional commands.

    npm install gulp-update

    Reference: https://github.com/nodejs/node/issues/24985

    Good luck!

    0 讨论(0)
提交回复
热议问题