You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loading"real_favicon.js"tasks…ERROR>>ReferenceError: primordialsisnotdefined>>atfs.js:27:26>>atreq_(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/natives/index.js:143:24)>>atObject.req[asrequire](/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/natives/index.js:55:10)>>atObject.<anonymous>(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/unzip2/node_modules/graceful-fs/fs.js:1:37)>>atModule._compile(internal/modules/cjs/loader.js:759:30)>>atObject.Module._extensions..js(internal/modules/cjs/loader.js:770:10)>>atModule.load(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/coffeescript/lib/coffee-script/register.js:45:36)>>atFunction.Module._load(internal/modules/cjs/loader.js:555:12)>>atModule.require(internal/modules/cjs/loader.js:666:19)>>atrequire(internal/modules/cjs/helpers.js:16:16)>>atObject.<anonymous>(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/unzip2/node_modules/graceful-fs/graceful-fs.js:3:27)>>atModule._compile(internal/modules/cjs/loader.js:759:30)>>atObject.Module._extensions..js(internal/modules/cjs/loader.js:770:10)>>atModule.load(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/coffeescript/lib/coffee-script/register.js:45:36)>>atFunction.Module._load(internal/modules/cjs/loader.js:555:12)>>atModule.require(internal/modules/cjs/loader.js:666:19)>>atrequire(internal/modules/cjs/helpers.js:16:16)>>atObject.<anonymous>(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/unzip2/node_modules/fstream/lib/reader.js:4:10)>>atModule._compile(internal/modules/cjs/loader.js:759:30)>>atObject.Module._extensions..js(internal/modules/cjs/loader.js:770:10)>>atModule.load(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/coffeescript/lib/coffee-script/register.js:45:36)>>atFunction.Module._load(internal/modules/cjs/loader.js:555:12)>>atModule.require(internal/modules/cjs/loader.js:666:19)>>atrequire(internal/modules/cjs/helpers.js:16:16)>>atObject.<anonymous>(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/unzip2/node_modules/fstream/fstream.js:2:18)>>atModule._compile(internal/modules/cjs/loader.js:759:30)>>atObject.Module._extensions..js(internal/modules/cjs/loader.js:770:10)>>atModule.load(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/coffeescript/lib/coffee-script/register.js:45:36)>>atFunction.Module._load(internal/modules/cjs/loader.js:555:12)>>atModule.require(internal/modules/cjs/loader.js:666:19)>>atrequire(internal/modules/cjs/helpers.js:16:16)>>atObject.<anonymous>(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/unzip2/lib/extract.js:6:14)>>atModule._compile(internal/modules/cjs/loader.js:759:30)>>atObject.Module._extensions..js(internal/modules/cjs/loader.js:770:10)>>atModule.load(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/coffeescript/lib/coffee-script/register.js:45:36)>>atFunction.Module._load(internal/modules/cjs/loader.js:555:12)>>atModule.require(internal/modules/cjs/loader.js:666:19)>>atrequire(internal/modules/cjs/helpers.js:16:16)>>atObject.<anonymous>(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/unzip2/unzip.js:4:19)>>atModule._compile(internal/modules/cjs/loader.js:759:30)>>atObject.Module._extensions..js(internal/modules/cjs/loader.js:770:10)>>atModule.load(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/coffeescript/lib/coffee-script/register.js:45:36)>>atFunction.Module._load(internal/modules/cjs/loader.js:555:12)>>atModule.require(internal/modules/cjs/loader.js:666:19)>>atrequire(internal/modules/cjs/helpers.js:16:16)>>atObject.module.exports.init(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/rfg-api/index.js:17:15)>>atObject.module.exports(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/grunt-real-favicon/tasks/real_favicon.js:16:32)>>atloadTask(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/grunt/lib/grunt/task.js:315:10)>>at/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/grunt/lib/grunt/task.js:351:7>>atArray.forEach(<anonymous>:null:null)
>>atloadTasks(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/grunt/lib/grunt/task.js:350:11)>>atTask.task.loadNpmTasks(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/grunt/lib/grunt/task.js:398:5)>>atObject.module.exports(/home/travis/build/Kristinita/SashaGruntDebugging/Gruntfile.coffee:3:8)>>atloadTask(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/grunt/lib/grunt/task.js:315:10)>>atTask.task.init(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/grunt/lib/grunt/task.js:434:5)>>atObject.grunt.tasks(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/grunt/lib/grunt.js:111:8)>>atObject.module.exports[ascli](/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/grunt/lib/grunt/cli.js:27:9)>>atObject.<anonymous>(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/grunt/node_modules/grunt-cli/bin/grunt:44:20)>>atModule._compile(internal/modules/cjs/loader.js:759:30)>>atObject.Module._extensions..js(internal/modules/cjs/loader.js:770:10)>>atModule.load(internal/modules/cjs/loader.js:628:32)>>atFunction.Module._load(internal/modules/cjs/loader.js:555:12)>>atModule.require(internal/modules/cjs/loader.js:666:19)>>atrequire(internal/modules/cjs/helpers.js:16:16)>>atObject.<anonymous>(/home/travis/build/Kristinita/SashaGruntDebugging/node_modules/grunt/bin/grunt:3:1)>>atModule._compile(internal/modules/cjs/loader.js:759:30)>>atObject.Module._extensions..js(internal/modules/cjs/loader.js:770:10)>>atModule.load(internal/modules/cjs/loader.js:628:32)>>atFunction.Module._load(internal/modules/cjs/loader.js:555:12)>>atFunction.Module.runMain(internal/modules/cjs/loader.js:822:10)>>atinternal/main/run_main_module.js:17:11Initializingconfig…OKLoading "Gruntfile.coffee" tasks…OK>> No tasks were registered or unregistered.Running tasks: realFaviconWarning: Task "realFavicon" not found.� Use --force to continue.Aborted due to warnings.The command "gruntrealFavicon--verbose" exited with 3.
Looking at the backtrace, it's an npm module issue. natives is deprecated because it does things with node internals. unzip2 needs to update its graceful-fs version. All other packages up the tree probably need to update dependency versions after the appropriate fixes are made.
Originally posted in grunt-real-favicon and Grunt issue trackers 2 and 1 months ago.
1. Summary
I upgrade Node.js to version 12 → I get bug.
For Node.js 11 grunt-real-favicon successful works for me.
2. Environment
Operation system:
Node.js:
grunt-cli 1.2.0
grunt 1.0.4
grunt-real-favicon 0.2.3
3. Files
See KiraRealFavicon branch of my debugging repository:
travis.yml
:Gruntfile.coffee
(copy from RealFaviconGenerator):4. Expected behavior
If Node.js = 11.15.0:
5. Non-expected behavior
Else Node.js = 12.2.0:
I get a bug:
Thanks.
The text was updated successfully, but these errors were encountered: