refer.Simple and visually-pleasing Pomodoro timer. So had to downgrade node (I used nvm) to get it working. The problem was the the node-sass version in the repo was not compatible with node 15 or above. I solved the issue by installing node v14. Gyp ERR ! cwd /Users/bonstine/dev/indie/pomotroid/node_modules/node-sass Gyp ERR ! command "/Users/bonstine/.nvm/versions/node/v18.12.1/bin/node " "/Users/bonstine/dev/indie/pomotroid/node_modules/node-gyp/bin/node-gyp.js " "rebuild " "-verbose " "-libsass_ext= " "-libsass_cflags= " "-libsass_ldflags= " "-libsass_library= " Gyp ERR ! stack at Socket.emit (node:events:513:28) Gyp ERR ! stack at maybeClose (node:internal/child_process:1091:16) Gyp ERR ! stack at ChildProcess.emit (node:events:513:28) Gyp ERR ! stack at ChildProcess.exithandler (node:child_process:412:12) Gyp ERR ! stack Synta圎rror: invalid syntax Gyp ERR ! stack import sys print "%s.%s.%s " % sys.version_info Gyp ERR ! stack Error: Command failed: /usr/bin/python3 -c import sys print "%s.%s.%s " % sys.version_info Gyp verb `which ` succeeded python3 /usr/bin/python3 Gyp verb check python checking for Python executable "python3 " in the PATH Gyp verb clean removing "build " directory Gyp verb cli '/Users/bonstine/dev/indie/pomotroid/node_modules/node-gyp/bin/node-gyp.js ', Gyp verb cli '/Users/bonstine/.nvm/versions/node/v18.12.1/bin/node ', Warning " > " has incorrect peer dependency || ^6.0.0 ".Įrror /Users/bonstine/dev/indie/pomotroid/node_modules/node-sass: Command failed.ĭirectory: /Users/bonstine/dev/indie/pomotroid/node_modules/node-sassīuilding: /Users/bonstine/.nvm/versions/node/v18.12.1/bin/node /Users/bonstine/dev/indie/pomotroid/node_modules/node-gyp/bin/node-gyp.js rebuild -verbose -libsass_ext= -libsass_cflags= -libsass_ldflags= -libsass_library= Upgrade to chokidar 3 with 15x fewer dependencies Warning webpack-dev-server > Chokidar 2 does not receive security updates since 2019. Warning webpack > micromatch > snapdragon > source-map-resolve > Warning webpack > micromatch > snapdragon > source-map-resolve > Please see Warning webpack > micromatch > snapdragon > source-map-resolve > See Warning webpack > watchpack > watchpack-chokidar2 > chokidar > fsevents 1 will break on node v14+ and could be using insecure binaries. new code should use the URLSearchParams API instead. Warning webpack > node-libs-browser > url > The querystring API is considered Legacy. Warning webpack > micromatch > snapdragon > See Warning webpack > watchpack > watchpack-chokidar2 > Chokidar 2 does not receive security updates since 2019. Warning node-sass > request > this library is no longer supported Older versions may use Math.random() in certain circumstances, which is known to be problematic. Warning node-sass > request > Please upgrade to version 7 or higher. Warning node-sass > node-gyp > request has been deprecated, see Warning node-sass > request has been deprecated, see Warning node-sass > node-gyp > This version of tar is no longer supported, and will not receive security updates. There is no API change, just a package name change Warning electron-builder > app-builder-lib > Please use moving forward. Upgrade to electron-builder > app-builder-lib > Please use moving forward. Warning devtron > Support has ended for 9.x series. Warning copy-webpack-plugin > webpack-log > Please upgrade to version 7 or higher. Warning babili-webpack-plugin > babel-core > babel-register > babel-core > babel-runtime > babili has been renamed to babel-minify. Warning babel-eslint is now This package will no longer receive updates. To clear this warning, remove package-lock.json. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. Your project contains lock files generated by tools other than Yarn.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |