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
The project currently is missing a pages directory, which leads to this error:
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at 'pages_dir is expected.', crates/core/src/relay.rs:180:48
info - Creating an optimized production build .thread '<unnamed>' panicked at 'pages_dir is expected.', crates/core/src/relay.rs:180:48
thread 'thread '<unnamed><unnamed>' panicked at '' panicked at 'pages_dir is expected.pages_dir is expected.', ', crates/core/src/relay.rs:crates/core/src/relay.rs180::18048:
48
thread '<unnamed>' panicked at 'pages_dir is expected.', crates/core/src/relay.rs:180:48
thread '<unnamed>' panicked at 'pages_dir is expected.', crates/core/src/relay.rs:180:48
thread '<unnamed>' panicked at 'pages_dir is expected.', crates/core/src/relay.rs:180:48
thread '<unnamed>' panicked at 'pages_dir is expected.', crates/core/src/relay.rs:180:48
thread '<unnamed>' panicked at 'pages_dir is expected.', crates/core/src/relay.rsthread ':<unnamed>180' panicked at ':pages_dir is expected.48',
crates/core/src/relay.rs:180:48
info - Creating an optimized production build ..thread '<unnamed>' panicked at 'pages_dir is expected.', crates/core/src/relay.rs:180:48
info - Creating an optimized production build
Failed to compile.
./node_modules/next/dist/pages/_app.js
Error: failed to process
./node_modules/next/dist/pages/_document.js
Error: failed to process
./node_modules/next/dist/pages/_error.js
Error: failed to process
./app/issues/[id]/page.tsx
Error: failed to process
Import trace for requested module:
./app/issues/[id]/page.tsx
./app/layout.tsx
Error: failed to process
Import trace for requested module:
./app/layout.tsx
> Build failed because of webpack errors
error Command failed with exit code 1.
Mentioned in thread, but bumping version of Nextjs13 removes the need to create an empty pages directory as advised.
The text was updated successfully, but these errors were encountered:
The project currently is missing a pages directory, which leads to this error:
Mentioned in thread, but bumping version of Nextjs13 removes the need to create an empty pages directory as advised.
The text was updated successfully, but these errors were encountered: