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
After upgrading to the latest alpha release of Greenwood, getting this error
Error: You must supply options.input to rollup
at Graph.generateModuleGraph (/Users/owenbuckley/Workspace/project-evergreen/repos/greenwood-getting-started/node_modules/rollup/dist/shared/rollup.js:18908:19)
at async Graph.build (/Users/owenbuckley/Workspace/project-evergreen/repos/greenwood-getting-started/node_modules/rollup/dist/shared/rollup.js:18872:9)
at async rollupInternal (/Users/owenbuckley/Workspace/project-evergreen/repos/greenwood-getting-started/node_modules/rollup/dist/shared/rollup.js:19947:9)
at async /Users/owenbuckley/Workspace/project-evergreen/repos/greenwood-getting-started/node_modules/@greenwood/cli/src/lifecycles/bundle.js:12:24
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! greenwood-getting-started@1.0.0 build: `greenwood build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the greenwood-getting-started@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/owenbuckley/.npm/_logs/2020-12-30T21_18_46_431Z-debug.log
Details
Some debugging details the following:
module.exports=getRollupConfig=async(compilation)=>{const{ scratchDir, outputDir }=compilation.context;console.debug('getRollupConfig scratchDir?????????????',`${scratchDir}/**/*.html`);console.debug('getRollupConfig outputDir?????????????',`${outputDir}/**/*.html`);return[{// TODO Avoid .greenwood/ directory, do everything in public/?input: `${scratchDir}/**/*.html`,
Type of Change
Summary
After upgrading to the latest alpha release of Greenwood, getting this error
Details
Some debugging details the following:
Looks like there are two
//
forscratchDir
? When removing it, everything is fine again.This seems to be an issue with npm based projects, since I had this issue in Getting Started, but not www.thegreenhouse.io
The text was updated successfully, but these errors were encountered: