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
{{ message }}
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
Currently I'm trying to run the generator, however in the final steps of the generator it just fails, and I cant figure out why, I ended up forking the repo and running npm link to debug it.
It seems to have a waterfall of issues, which I'm stuck on, so I'll just list what happened.
To start with it complained that lodash was no longer a part of the package, so needed to be included manually, when it tried to do this.template('_package.json', 'package.json'); So I just modified app/templates/_package.json so it no longer said "name": "<%= _.slugify(appname) %>", to just "name": "test", this bypassed the error, but then I got to a next error, which was the same but for _bower.json, so again I just hardcoded for the time being.
Next however it through up a larger error which is when I gave up.
? Number of posts to show on the home page all
events.js:141
throw er; // Unhandled 'error' event
^
ReferenceError: /Users/owen/generator-jekyllrb/app/templates/_bower.json:4
2| "name": "nah",
3| "version": "0.0.0",
>> 4| "dependencies": {<%
5| var depn = [];
6| if (h5bpCss) {
7| depn.push('\n "normalize-css": "~3.0.1"');
print is not defined
at eval (eval at <anonymous> (/Users/owen/generator-jekyllrb/node_modules/ejs/lib/ejs.js:464:12), <anonymous>:20:5)
at returnedFn (/Users/owen/generator-jekyllrb/node_modules/ejs/lib/ejs.js:493:17)
at Object.exports.render (/Users/owen/generator-jekyllrb/node_modules/ejs/lib/ejs.js:315:37)
at copy.process (/Users/owen/generator-jekyllrb/node_modules/mem-fs-editor/actions/copy-tpl.js:14:18)
at applyProcessingFunc (/Users/owen/generator-jekyllrb/node_modules/mem-fs-editor/actions/copy.js:13:16)
at EditionInterface.exports._copySingle (/Users/owen/generator-jekyllrb/node_modules/mem-fs-editor/actions/copy.js:51:16)
at EditionInterface.exports.copy (/Users/owen/generator-jekyllrb/node_modules/mem-fs-editor/actions/copy.js:23:17)
at EditionInterface.module.exports [as copyTpl] (/Users/owen/generator-jekyllrb/node_modules/mem-fs-editor/actions/copy-tpl.js:12:8)
at Generator.template (/Users/owen/generator-jekyllrb/node_modules/yeoman-generator/lib/actions/actions.js:134:11)
at Generator.bower (/Users/owen/generator-jekyllrb/app/index.js:383:8)
Could anybody shed some light as to why this is happening?
The text was updated successfully, but these errors were encountered:
Currently I'm trying to run the generator, however in the final steps of the generator it just fails, and I cant figure out why, I ended up forking the repo and running
npm link
to debug it.It seems to have a waterfall of issues, which I'm stuck on, so I'll just list what happened.
To start with it complained that lodash was no longer a part of the package, so needed to be included manually, when it tried to do
this.template('_package.json', 'package.json');
So I just modifiedapp/templates/_package.json
so it no longer said"name": "<%= _.slugify(appname) %>",
to just"name": "test",
this bypassed the error, but then I got to a next error, which was the same but for_bower.json
, so again I just hardcoded for the time being.Next however it through up a larger error which is when I gave up.
Could anybody shed some light as to why this is happening?
The text was updated successfully, but these errors were encountered: