Skip to content

pnpm start:'npm run dev' is terminated with exit code: 1.  #123

Closed
@akim-muto

Description

@akim-muto

Hi!

I tried to prepare a development environment on windows 10 and when I tried to pnpm start, the npm run dev command terminated with exit code: 1. Editor dev was Failed as follows.

D:\project\flyde\editor:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @flyde/editor@0.2.62 dev: WDS_SOCKET_HOST=localhost DANGEROUSLY_DISABLE_HOST_CHECK=true FAST_REFRESH=false PUBLIC_URL=/ REACT_APP_FLYDE_MODE=development FORCE_ENV=production react-scripts start
Exit status 1

There was a warning at the time of pnpm i

WARN  Failed to create bin at D:\project\flyde\editor\node_modules\.bin\flyde. The source file at D:\project\flyde\dev-server\dist\cli.js does not exist.
 WARN  Failed to create bin at D:\project\flyde\flow-editor\node_modules\.bin\flyde. The source file at D:\project\flyde\dev-server\dist\cli.js does not exist.
 WARN  Failed to create bin at D:\project\flyde\website\node_modules\.bin\flyde. The source file at D:\project\flyde\dev-server\dist\cli.js does not exist.
 WARN  Failed to create bin at D:\project\flyde\vscode-extension\node_modules\.bin\flyde. The source file at D:\project\flyde\dev-server\dist\cli.js does not exist.
editor postinstall$ node dependencies-patch/index.js || true
[12 lines collapsed]
│     at Object.<anonymous> (D:\project\flyde\editor\dependencies-patch\index.js:26:5)
│     at Module._compile (node:internal/modules/cjs/loader:1241:14)
│     at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
│     at Module.load (node:internal/modules/cjs/loader:1091:32)
│     at Module._load (node:internal/modules/cjs/loader:938:12) {
│   errno: -4058,
│   code: 'ENOENT',
│   syscall: 'open',
│   path: 'D:\\project\\flyde\\editor\\node_modules\\webpack\\lib\\web\\JsonpChunkLoadingRuntimeModule.js'
│ }
└─ Done in 81ms

Trying to open D:\\project\\flyde\\editor\\node_modules\\webpack\\lib\\web\\JsonpChunkLoadingRuntimeModule.js, but whenpnpm iexit, there is no webpack in the flyde/editor/node_modules directory.
Instead, in the dependencies-patchdependencies-patch directory webpack/lib/web/JsonpChunkLoadingRuntimeModule.js exists.

Is it correctiry specify path in the dependencies-patchdependencies-patch directory?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions