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
(In a separate terminal at the same directory) NETWORK=localhost yarn build
Error
% NETWORK=localhost yarn build
...
- info Creating an optimized production build
- info Compiled successfully
- info Collecting page data ..TypeError: loadModule is not a function
at /.../noir-recursion/.next/server/pages/index.js:381:48
> Build error occurred
Error: Failed to collect page data for /
at /.../noir-recursion/node_modules/next/dist/build/utils.js:1156:15 {
type: 'Error'
}
- info Collecting page data .%
Reproduce
git clone https://github.com/Savio-Sou/noir-recursion.git
cd noir-recursion
yarn
cd circuits/recursion
nargo codegen-verifier
nargo compile
cd ..
npx hardhat node
NETWORK=localhost yarn build
Error
Additional context
Lines importing bb.js: https://github.com/Savio-Sou/noir-recursion/blob/1ecd09610e5ffc654d1d714e7871fa078edfca60/utils/noir/noirBrowser.ts#L8-L9
Might boil the example code into something more minimal if I find time. Wanted to flag early in case if we have any immediate insights.
cc @charlielye as it might be related to #1855.
The text was updated successfully, but these errors were encountered: