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
There is an error in running yarn dev when freshly installing this on MacOS Monterey v12.6. Resolved it following via solution purposed in issue 444 in the uuid repository. This may resolve when using different versions of dependencies; however, thought it would be prudent to report a solution to this error.
Error Trace:
Module build failed (from ./node_modules/@nuxt/postcss8/node_modules/css-loader/dist/cjs.js):
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './package.json' is not defined by "exports" in /Users/kananen/Documents/workspace/fun/bioicons/node_modules/postcss/package.json
at new NodeError (node:internal/errors:393:5)
at exportsNotFound (node:internal/modules/esm/resolve:295:10)
at packageExportsResolve (node:internal/modules/esm/resolve:631:9)
at resolveExports (node:internal/modules/cjs/loader:538:36)
at Module._findPath (node:internal/modules/cjs/loader:607:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1025:27)
at Module._load (node:internal/modules/cjs/loader:885:27)
at Module.require (node:internal/modules/cjs/loader:1105:19)
at n (/Users/kananen/Documents/workspace/fun/bioicons/node_modules/jiti/dist/v8cache.js:2:2349)
at Object.<anonymous> (/Users/kananen/Documents/workspace/fun/bioicons/node_modules/@nuxt/postcss8/node_modules/css-loader/dist/index.js:12:39)
at o._compile (/Users/kananen/Documents/workspace/fun/bioicons/node_modules/jiti/dist/v8cache.js:2:2655)
at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
at Module.load (node:internal/modules/cjs/loader:1081:32)
at Module._load (node:internal/modules/cjs/loader:922:12)
at Module.require (node:internal/modules/cjs/loader:1105:19)
at n (/Users/kananen/Documents/workspace/fun/bioicons/node_modules/jiti/dist/v8cache.js:2:2349)
friendly-errors 02:30:16
@ ./node_modules/vue-tour/dist/vue-tour.css 4:14-195 15:3-20:5 16:22-203
@ ./plugins/vue-tour.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js (webpack)-hot-middleware/client.js?reload=true&timeout=30000&ansiColors=&overlayStyles=&path=%2F__webpack_hmr%2Fclient&name=client ./.nuxt/client.js
Solution
The bioicons/node_modules/postcss/package.json json should be configured with "import": "./index.js", and "./package.json": "./package.json" as shown below:
There is an error in running
yarn dev
when freshly installing this on MacOS Monterey v12.6. Resolved it following via solution purposed in issue 444 in the uuid repository. This may resolve when using different versions of dependencies; however, thought it would be prudent to report a solution to this error.Error Trace:
Solution
The
bioicons/node_modules/postcss/package.json
json should be configured with"import": "./index.js",
and"./package.json": "./package.json"
as shown below:The text was updated successfully, but these errors were encountered: