Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

执行yarn dev时报错 #990

Open
onefawn opened this issue Jul 7, 2024 · 0 comments
Open

执行yarn dev时报错 #990

onefawn opened this issue Jul 7, 2024 · 0 comments

Comments

@onefawn
Copy link

onefawn commented Jul 7, 2024

yarn dev
➤ YN0000: · Yarn 4.3.1
➤ YN0000: ┌ Project validation
➤ YN0057: │ serenity-monorepo: 'nohoist' is deprecated, please use 'installConfig.hoistingLimits' instead
➤ YN0000: └ Completed
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed in 0s 760ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0002: │ @serenity-tools/common@workspace:packages/common doesn't provide @babel/core (p6ca30), requested by @babel/preset-flow.
➤ YN0002: │ @serenity-tools/editor-file-extension@workspace:packages/editor-file-extension doesn't provide @babel/core (p1de94), requested by @babel/preset-flow.
➤ YN0002: │ @serenity-tools/editor@workspace:packages/editor doesn't provide prosemirror-model (pd63c4), requested by y-prosemirror.
➤ YN0002: │ @serenity-tools/editor@workspace:packages/editor doesn't provide prosemirror-state (pf444f), requested by y-prosemirror.
➤ YN0002: │ @serenity-tools/editor@workspace:packages/editor doesn't provide prosemirror-view (pebe3d), requested by y-prosemirror.
➤ YN0002: │ @serenity-tools/editor@workspace:packages/editor doesn't provide react (p76490), requested by @tiptap/react.
➤ YN0002: │ @serenity-tools/editor@workspace:packages/editor doesn't provide react-dom (p36abc), requested by @tiptap/react.
➤ YN0002: │ @serenity-tools/editor@workspace:packages/editor doesn't provide typescript (p39a04), requested by react-dev-utils.
➤ YN0002: │ @serenity-tools/eslint-config@workspace:packages/eslint-config doesn't provide eslint (p3a67a), requested by @typescript-eslint/parser and other dependencies.
➤ YN0002: │ @serenity-tools/eslint-config@workspace:packages/eslint-config doesn't provide typescript (p96b05), requested by @typescript-eslint/parser.
➤ YN0002: │ @serenity-tools/graphql-codegen-urql@workspace:packages/graphql-codegen-urql doesn't provide graphql (p38d6f), requested by @graphql-codegen/plugin-helpers.
➤ YN0002: │ @serenity-tools/ui@workspace:packages/ui doesn't provide @types/react (pa5a41), requested by native-base and other dependencies.
➤ YN0002: │ @serenity-tools/ui@workspace:packages/ui doesn't provide @types/react-native (pd8b26), requested by native-base and other dependencies.
➤ YN0002: │ @serenity-tools/ui@workspace:packages/ui doesn't provide react (p95585), requested by native-base and other dependencies.
➤ YN0002: │ @serenity-tools/ui@workspace:packages/ui doesn't provide react-dom (p92438), requested by native-base.
➤ YN0002: │ @serenity-tools/ui@workspace:packages/ui doesn't provide react-native (pb1204), requested by native-base and other dependencies.
➤ YN0002: │ @serenity-tools/ui@workspace:packages/ui doesn't provide react-native-safe-area-context (p90cbd), requested by native-base.
➤ YN0002: │ backend@workspace:apps/backend doesn't provide typescript (p96f90), requested by ts-node-dev and other dependencies.
➤ YN0002: │ serenity-monorepo@workspace:. doesn't provide webpack (p35864), requested by babel-loader.
➤ YN0002: │ serenity@workspace:apps/app doesn't provide @babel/plugin-proposal-nullish-coalescing-operator (p5a24b), requested by react-native-reanimated.
➤ YN0002: │ serenity@workspace:apps/app doesn't provide @babel/plugin-proposal-optional-chaining (p490ef), requested by react-native-reanimated.
➤ YN0002: │ serenity@workspace:apps/app doesn't provide @babel/plugin-transform-arrow-functions (paa8f2), requested by react-native-reanimated.
➤ YN0002: │ serenity@workspace:apps/app doesn't provide @babel/plugin-transform-shorthand-properties (pebf39), requested by react-native-reanimated.
➤ YN0002: │ serenity@workspace:apps/app doesn't provide @babel/plugin-transform-template-literals (pb6098), requested by react-native-reanimated.
➤ YN0002: │ serenity@workspace:apps/app doesn't provide @urql/core (pdd634), requested by @urql/devtools.
➤ YN0002: │ serenity@workspace:apps/app doesn't provide graphql-tag (pe506e), requested by @graphql-codegen/typescript-urql.
➤ YN0002: │ serenity@workspace:apps/app doesn't provide webpack (p3c3aa), requested by babel-loader.
➤ YN0086: │ Some peer dependencies are incorrectly met by your project; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code.
➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 3s 240ms
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed in 1s 534ms
➤ YN0000: · Done with warnings in 5s 844ms

Rebuilding...

Done in 776ms.
assets by status 3.75 MiB [cached] 3 assets
Entrypoint prosemirror = prosemirror.css 0 bytes prosemirror.bundle.js 2 auxiliary assets
orphan modules 5.96 MiB (javascript) 1.83 KiB (runtime) [orphan] 1953 modules
runtime modules 1.25 KiB 6 modules
cacheable modules 5.26 MiB (javascript) 31.2 KiB (css/mini-extract)
modules by path ../../node_modules/ 1.64 MiB 277 modules
modules by path ./ 3.62 MiB (javascript) 31.2 KiB (css/mini-extract)
./standalone.tsx + 925 modules 3.62 MiB [built] [code generated]
css ../../node_modules/css-loader/dist/cjs.js!./awareness.css 990 bytes [built] [code generated]
css ../../node_modules/css-loader/dist/cjs.js!./editor-output.css 30.2 KiB [built] [code generated]
../../tailwind.config.js 6.54 KiB [built] [code generated]

ERROR in ../../node_modules/react-native-animatable/createAnimatableComponent.js 599:8
Module parse failed: Unexpected token (599:8)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| return (

    <Animatable

| ref={this.handleRef}
| style={[
@ ../../node_modules/react-native-animatable/index.js 6:0-58 12:41-56 13:20-35 14:20-35 15:21-36
@ ../../node_modules/react-native-modal/dist/modal.js 4:0-54 412:57-72 517:59-74 518:51-66
./standalone.tsx + 925 modules 3.62 MiB [built] [code generated]
css ../../node_modules/css-loader/dist/cjs.js!./awareness.css 990 bytes [built] [code generated]
css ../../node_modules/css-loader/dist/cjs.js!./editor-output.css 30.2 KiB [built] [code generated]
../../tailwind.config.js 6.54 KiB [built] [code generated]

ERROR in ../../node_modules/react-native-animatable/createAnimatableComponent.js 599:8
Module parse failed: Unexpected token (599:8)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| return (

    <Animatable

| ref={this.handleRef}
| style={[
@ ../../node_modules/react-native-animatable/index.js 6:0-58 12:41-56 13:20-35 14:20-35 15:21-36
@ ../../node_modules/react-native-modal/dist/modal.js 4:0-54 412:57-72 517:59-74 518:51-66
ERROR in ../../node_modules/react-native-animatable/createAnimatableComponent.js 599:8
Module parse failed: Unexpected token (599:8)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| return (

    <Animatable

| ref={this.handleRef}
| style={[
@ ../../node_modules/react-native-animatable/index.js 6:0-58 12:41-56 13:20-35 14:20-35 15:21-36
@ ../../node_modules/react-native-modal/dist/modal.js 4:0-54 412:57-72 517:59-74 518:51-66
| return (

    <Animatable

| ref={this.handleRef}
| style={[
@ ../../node_modules/react-native-animatable/index.js 6:0-58 12:41-56 13:20-35 14:20-35 15:21-36
@ ../../node_modules/react-native-modal/dist/modal.js 4:0-54 412:57-72 517:59-74 518:51-66
| style={[
@ ../../node_modules/react-native-animatable/index.js 6:0-58 12:41-56 13:20-35 14:20-35 15:21-36
@ ../../node_modules/react-native-modal/dist/modal.js 4:0-54 412:57-72 517:59-74 518:51-66
@ ../../node_modules/react-native-modal/dist/modal.js 4:0-54 412:57-72 517:59-74 518:51-66
@ ../../node_modules/react-native-modal/dist/index.js 1:0-43 2:0-43 2:0-43 3:15-31
@ ../ui/components/modal/Modal.tsx 14:0-54 46:27-43
@ ../ui/index.ts 37:0-41 37:0-41
@ ./Editor.tsx 9:0-208 40:25-44 230:33-37 232:13-15 254:10-20 255:13-15 302:36-60 305:59-61 305:139-141 308:21-23 309:43-47 310:23-25 311:44-52 319:25-27 321:36-42 338:41-49 350:21-23 353:42-54 372:41-48 376:42-54 383:34-41 387:42-54 394:34-41 398:42-54 405:34-49 405:74-81 409:42-54 420:34-49 420:88-95 424:42-54 468:36-60 470:38-45 474:40-52 515:36-60 517:38-57
@ ./standalone.tsx 16:0-34 123:32-38

webpack 5.92.1 compiled with 1 error in 60056 ms
PS D:\Dev\note\Serenity\apps\app> yarn add babel-loader @babel/core @babel/preset-env @babel/preset-react babel-preset-expo @babel/plugin-proposal-export-namespace-from react-native-reanimated @react-native/normalize-color --dev
Usage Error: Package "react-native-reanimated" is already listed as a regular dependency - remove the -D,-P flags or remove it from your dependencies first

$ yarn add [--json] [-F,--fixed] [-E,--exact] [-T,--tilde] [-C,--caret] [-D,--dev] [-P,--peer] [-O,--optional] [--prefer-dev] [-i,--interactive] [--cached] [--mode #0] ...
PS D:\Dev\note\Serenity\apps\app> yarn dev
➤ YN0000: · Yarn 4.3.1
➤ YN0000: ┌ Project validation
➤ YN0057: │ serenity-monorepo: 'nohoist' is deprecated, please use 'installConfig.hoistingLimits' instead
➤ YN0000: └ Completed
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed in 0s 676ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0002: │ @serenity-tools/common@workspace:packages/common doesn't provide @babel/core (p6ca30), requested by @babel/preset-flow.
➤ YN0002: │ @serenity-tools/editor-file-extension@workspace:packages/editor-file-extension doesn't provide @babel/core (p1de94), requested by @babel/preset-flow.
➤ YN0002: │ @serenity-tools/editor@workspace:packages/editor doesn't provide prosemirror-model (pd63c4), requested by y-prosemirror.
➤ YN0002: │ @serenity-tools/editor@workspace:packages/editor doesn't provide prosemirror-state (pf444f), requested by y-prosemirror.
➤ YN0002: │ @serenity-tools/editor@workspace:packages/editor doesn't provide prosemirror-view (pebe3d), requested by y-prosemirror.
➤ YN0002: │ @serenity-tools/editor@workspace:packages/editor doesn't provide react (p76490), requested by @tiptap/react.
➤ YN0002: │ @serenity-tools/editor@workspace:packages/editor doesn't provide react-dom (p36abc), requested by @tiptap/react.
➤ YN0002: │ @serenity-tools/editor@workspace:packages/editor doesn't provide typescript (p39a04), requested by react-dev-utils.
➤ YN0002: │ @serenity-tools/eslint-config@workspace:packages/eslint-config doesn't provide eslint (p3a67a), requested by @typescript-eslint/parser and other dependencies.
➤ YN0002: │ @serenity-tools/eslint-config@workspace:packages/eslint-config doesn't provide typescript (p96b05), requested by @typescript-eslint/parser.
➤ YN0002: │ @serenity-tools/graphql-codegen-urql@workspace:packages/graphql-codegen-urql doesn't provide graphql (p38d6f), requested by @graphql-codegen/plugin-helpers.
➤ YN0002: │ @serenity-tools/ui@workspace:packages/ui doesn't provide @types/react (pa5a41), requested by native-base and other dependencies.
➤ YN0002: │ @serenity-tools/ui@workspace:packages/ui doesn't provide @types/react-native (pd8b26), requested by native-base and other dependencies.
➤ YN0002: │ @serenity-tools/ui@workspace:packages/ui doesn't provide react (p95585), requested by native-base and other dependencies.
➤ YN0002: │ @serenity-tools/ui@workspace:packages/ui doesn't provide react-dom (p92438), requested by native-base.
➤ YN0002: │ @serenity-tools/ui@workspace:packages/ui doesn't provide react-native (pb1204), requested by native-base and other dependencies.
➤ YN0002: │ @serenity-tools/ui@workspace:packages/ui doesn't provide react-native-safe-area-context (p90cbd), requested by native-base.
➤ YN0002: │ backend@workspace:apps/backend doesn't provide typescript (p96f90), requested by ts-node-dev and other dependencies.
➤ YN0002: │ serenity-monorepo@workspace:. doesn't provide webpack (p35864), requested by babel-loader.
➤ YN0002: │ serenity@workspace:apps/app doesn't provide @babel/plugin-proposal-nullish-coalescing-operator (p5a24b), requested by react-native-reanimated.
➤ YN0002: │ serenity@workspace:apps/app doesn't provide @babel/plugin-proposal-optional-chaining (p490ef), requested by react-native-reanimated.
➤ YN0002: │ serenity@workspace:apps/app doesn't provide @babel/plugin-transform-arrow-functions (paa8f2), requested by react-native-reanimated.
➤ YN0002: │ serenity@workspace:apps/app doesn't provide @babel/plugin-transform-shorthand-properties (pebf39), requested by react-native-reanimated.
➤ YN0002: │ serenity@workspace:apps/app doesn't provide @babel/plugin-transform-template-literals (pb6098), requested by react-native-reanimated.
➤ YN0002: │ serenity@workspace:apps/app doesn't provide @urql/core (pdd634), requested by @urql/devtools.
➤ YN0002: │ serenity@workspace:apps/app doesn't provide graphql-tag (pe506e), requested by @graphql-codegen/typescript-urql.
➤ YN0002: │ serenity@workspace:apps/app doesn't provide webpack (p3c3aa), requested by babel-loader.
➤ YN0086: │ Some peer dependencies are incorrectly met by your project; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code.
➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 3s 35ms
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed in 1s 490ms
➤ YN0000: · Done with warnings in 5s 522ms

Rebuilding...

Done in 777ms.
assets by status 3.75 MiB [cached] 3 assets
Entrypoint prosemirror = prosemirror.css 0 bytes prosemirror.bundle.js 2 auxiliary assets
orphan modules 5.96 MiB (javascript) 1.83 KiB (runtime) [orphan] 1953 modules
runtime modules 1.25 KiB 6 modules
cacheable modules 5.26 MiB (javascript) 31.2 KiB (css/mini-extract)
modules by path ../../node_modules/ 1.64 MiB 277 modules
modules by path ./ 3.62 MiB (javascript) 31.2 KiB (css/mini-extract)
./standalone.tsx + 925 modules 3.62 MiB [built] [code generated]
css ../../node_modules/css-loader/dist/cjs.js!./awareness.css 990 bytes [built] [code generated]
css ../../node_modules/css-loader/dist/cjs.js!./editor-output.css 30.2 KiB [built] [code generated]
../../tailwind.config.js 6.54 KiB [built] [code generated]

ERROR in ../../node_modules/react-native-animatable/createAnimatableComponent.js 599:8
Module parse failed: Unexpected token (599:8)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| return (

    <Animatable

| ref={this.handleRef}
| style={[
@ ../../node_modules/react-native-animatable/index.js 6:0-58 12:41-56 13:20-35 14:20-35 15:21-36
@ ../../node_modules/react-native-modal/dist/modal.js 4:0-54 412:57-72 517:59-74 518:51-66
@ ../../node_modules/react-native-modal/dist/index.js 1:0-43 2:0-43 2:0-43 3:15-31
@ ../ui/components/modal/Modal.tsx 14:0-54 46:27-43
@ ../ui/index.ts 37:0-41 37:0-41
@ ./Editor.tsx 9:0-208 40:25-44 230:33-37 232:13-15 254:10-20 255:13-15 302:36-60 305:59-61 305:139-141 308:21-23 309:43-47 310:23-25 311:44-52 319:25-27 321:36-42 338:41-49 350:21-23 353:42-54 372:41-48 376:42-54 383:34-41 387:42-54 394:34-41 398:42-54 405:34-49 405:74-81 409:42-54 420:34-49 420:88-95 424:42-54 468:36-60 470:38-45 474:40-52 515:36-60 517:38-57
@ ./standalone.tsx 16:0-34 123:32-38

webpack 5.92.1 compiled with 1 error in 43795 ms 报错。怎么办?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant