Open tionosulis opened 1 year ago
npx @11ty/eleventy build failed with zsh: illegal hardware instruction (core dumped) npm run build
zsh: illegal hardware instruction (core dumped) npm run build
Environment
NPM-v: 8.19.2
To Reproduce
clone
npm install
npx @11ty/eleventy
Expected behavior
Failure logs zsh: illegal hardware instruction (core dumped) npm run build
Debug output:
Debug
DEBUG=Eleventy* npx @11ty/eleventy Eleventy:cmd command: eleventy { _: [], quiet: null, version: false, watch: false, dryrun: false, help: false, serve: false, incremental: false, 'ignore-initial': false } +0ms Eleventy:EventBus Setting up global EventBus. +0ms Eleventy:UserConfig Resetting EleventyConfig to initial values. +0ms Eleventy:UserConfig Adding universal filter 'slug' +118ms Eleventy:UserConfig Adding universal filter 'slugify' +1ms Eleventy:UserConfig Adding universal filter 'url' +1ms Eleventy:UserConfig Adding universal filter 'log' +0ms Eleventy:UserConfig Adding universal filter 'serverlessUrl' +0ms Eleventy:UserConfig Adding universal filter 'getCollectionItemIndex' +1ms Eleventy:UserConfig Adding universal filter 'getCollectionItem' +0ms Eleventy:UserConfig Adding universal filter 'getPreviousCollectionItem' +1ms Eleventy:UserConfig Adding universal filter 'getNextCollectionItem' +0ms Eleventy:TemplateConfig rootConfig { templateFormats: [ 'liquid', 'ejs', 'md', 'hbs', 'mustache', 'haml', 'pug', 'njk', 'html', '11ty.js' ], pathPrefix: '/', markdownTemplateEngine: 'liquid', htmlTemplateEngine: 'liquid', htmlOutputSuffix: '-o', dataFileSuffixes: [ '.11tydata', '' ], dataFileDirBaseNameOverride: false, keys: { package: 'pkg', layout: 'layout', permalink: 'permalink', permalinkRoot: 'permalinkBypassOutputDir', engineOverride: 'templateEngineOverride', computed: 'eleventyComputed' }, dir: { input: '.', includes: '_includes', data: '_data', output: '_site' }, handlebarsHelpers: {}, nunjucksFilters: {} } +0ms Eleventy Setting process.env.ELEVENTY_ROOT: '/home/meysa/eleventy-base-blog' +0ms Eleventy:TemplateConfig Merging config with eleventy.config.js +7ms zsh: illegal hardware instruction (core dumped) DEBUG=Eleventy* npx @11ty/eleventy
Additional info Build success by uninstalling eleventy-img plugin
eleventy-img
Any help/workaround to this would be much appreciated.
This is likely coming from the sharp dependency, I see a few related issues upstream! https://github.com/lovell/sharp/issues?q=is%3Aissue+illegal+hardware+instruction+is%3Aclosed
sharp
npx @11ty/eleventy build failed with
zsh: illegal hardware instruction (core dumped) npm run build
Environment
NPM-v: 8.19.2
To Reproduce
clone
npm install
npx @11ty/eleventy
Expected behavior
Failure logs
zsh: illegal hardware instruction (core dumped) npm run build
Debug
output:Additional info Build success by uninstalling
eleventy-img
pluginAny help/workaround to this would be much appreciated.