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
Hi, when I tried to execute yarn dev, I got the following errors.
D:\code\node\virtualpiano>node -v
v18.12.1
D:\code\node\virtualpiano>npm -v
8.18.0
D:\code\node\virtualpiano>
D:\code\node\virtualpiano>npx browserslist@latest --update-db
Need to install the following packages:
[email protected]
Ok to proceed? (y)
Latest version: 1.0.30001434
Installed version: none
Removing old caniuse-lite from lock file
Installing new caniuse-lite version
$ yarn add -W caniuse-lite
Cleaning package.json dependencies from caniuse-lite
$ yarn remove -W caniuse-lite
caniuse-lite has been successfully updated
No target browser changes
D:\code\node\virtualpiano>yarn dev
yarn run v1.22.19
$ next dev
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/parser' is not defined by "exports" in D:\code\node\virtualpiano\node_modules\next\node_modules\postcss\package.json
at new NodeError (node:internal/errors:393:5)
at throwExportsNotFound (node:internal/modules/esm/resolve:358:9)
at packageExportsResolve (node:internal/modules/esm/resolve:668:3)
at resolveExports (node:internal/modules/cjs/loader:529:36)
at Module._findPath (node:internal/modules/cjs/loader:569:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:981:27)
at Module._load (node:internal/modules/cjs/loader:841:27)
at Module.require (node:internal/modules/cjs/loader:1061:19)
at require (node:internal/modules/cjs/helpers:103:18)
at 552 (D:\code\node\virtualpiano\node_modules\next\dist\compiled\postcss-scss\scss-syntax.js:1:11590)
at __webpack_require__ (D:\code\node\virtualpiano\node_modules\next\dist\compiled\postcss-scss\scss-syntax.js:1:11735)
at 270 (D:\code\node\virtualpiano\node_modules\next\dist\compiled\postcss-scss\scss-syntax.js:1:400)
at __webpack_require__ (D:\code\node\virtualpiano\node_modules\next\dist\compiled\postcss-scss\scss-syntax.js:1:11735)
at 327 (D:\code\node\virtualpiano\node_modules\next\dist\compiled\postcss-scss\scss-syntax.js:1:260)
at __webpack_require__ (D:\code\node\virtualpiano\node_modules\next\dist\compiled\postcss-scss\scss-syntax.js:1:11735)
at 845 (D:\code\node\virtualpiano\node_modules\next\dist\compiled\postcss-scss\scss-syntax.js:1:3733) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
D:\code\node\virtualpiano>
The text was updated successfully, but these errors were encountered:
Hi, when I tried to execute
yarn dev
, I got the following errors.The text was updated successfully, but these errors were encountered: