/usr/local/share/npm/lib/node_modules/punch/lib/utils/module_utils.js:42
raise(e);
^
ReferenceError: raise is not defined
at module.exports.requireAndSetup.load_module_from_paths (/usr/local/share/npm/lib/node_modules/punch/lib/utils/module_utils.js:42:7)
at module.exports.requireAndSetup.load_module_from_paths (/usr/local/share/npm/lib/node_modules/punch/lib/utils/module_utils.js:40:14)
at module.exports.requireAndSetup.load_module_from_paths (/usr/local/share/npm/lib/node_modules/punch/lib/utils/module_utils.js:40:14)
at module.exports.requireAndSetup.load_module_from_paths (/usr/local/share/npm/lib/node_modules/punch/lib/utils/module_utils.js:40:14)
at module.exports.requireAndSetup.load_module_from_paths (/usr/local/share/npm/lib/node_modules/punch/lib/utils/module_utils.js:40:14)
at module.exports.requireAndSetup.load_module_from_paths (/usr/local/share/npm/lib/node_modules/punch/lib/utils/module_utils.js:40:14)
at module.exports.requireAndSetup.load_module_from_paths (/usr/local/share/npm/lib/node_modules/punch/lib/utils/module_utils.js:40:14)
at module.exports.requireAndSetup.load_module_from_paths (/usr/local/share/npm/lib/node_modules/punch/lib/utils/module_utils.js:40:14)
at Object.module.exports.requireAndSetup (/usr/local/share/npm/lib/node_modules/punch/lib/utils/module_utils.js:47:4)
at module.exports.setup (/usr/local/share/npm/lib/node_modules/punch/lib/site_generator.js:44:42)
the reason is the "punch-sitemap-generator dependencies is missing in the package.json
when run
punch p
it will get:
the reason is the
"punch-sitemap-generator
dependencies is missing in the package.jsonjust add:
in the file, the problem will be solved.