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
When I try to npm run build my app it throws an error related to Routify. I attempted to update Routify and Node but it did not work. I also cleared node_modules and ran npm i but it still did not work.
Reproduction
My rollup.config.js includes these lines:
import getConfig from '@roxi/routify/lib/utils/config'
const { distDir } = getConfig()
Logs
[!] Error: Package subpath './lib/utils/config' is not defined by "exports"in /Users/name/Documents/GitHub/cdj/node_modules/@roxi/routify/package.json
Error: Package subpath './lib/utils/config' is not defined by "exports"in /Users/name/Documents/GitHub/cdj/node_modules/@roxi/routify/package.json
at new NodeError (node:internal/errors:387:5)
at throwExportsNotFound (node:internal/modules/esm/resolve:365:9)
at packageExportsResolve (node:internal/modules/esm/resolve:649:3)
at resolveExports (node:internal/modules/cjs/loader:556:36)
at Function.Module._findPath (node:internal/modules/cjs/loader:596:31)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1014:27)
at Function.Module._load (node:internal/modules/cjs/loader:873:27)
at Module.require (node:internal/modules/cjs/loader:1100:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (/Users/rishigurjar/Documents/GitHub/cdj/rollup.config.js:13:17)
ERROR: "build:app" exited with 1.
Describe the bug
When I try to npm run build my app it throws an error related to Routify. I attempted to update Routify and Node but it did not work. I also cleared node_modules and ran npm i but it still did not work.
Reproduction
My rollup.config.js includes these lines:
import getConfig from '@roxi/routify/lib/utils/config'
const { distDir } = getConfig()
Logs
System Info
The text was updated successfully, but these errors were encountered: