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

Failed to start develepment server for app #93

Open
rapiz1 opened this issue Mar 28, 2023 · 3 comments
Open

Failed to start develepment server for app #93

rapiz1 opened this issue Mar 28, 2023 · 3 comments

Comments

@rapiz1
Copy link

rapiz1 commented Mar 28, 2023

Thanks for your great work. I want to make some local modifications to play around. However, I failed to run the dev server.

Reproduce

For app, here's what I tried:

  1. npm install, which finished without erorrs.
  2. npm start. It failed to compile.
Failed to compile.

Module not found: Error: Can't resolve '/node_modules/@ffmpeg/core/dist/ffmpeg-core.js' in 'workdir/chatgpt-playground/chat-with-gpt/app/node_modules/@ffmpeg/ffmpeg/src/browser'
WARNING in ./node_modules/boundary/lib/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'workdir/chatgpt-playground/chat-with-gpt/app/node_modules/boundary/src/index.ts' file: Error: ENOENT: no such file or directory, open 'workdir/chatgpt-playground/chat-with-gpt/app/node_modules/boundary/src/index.ts'

WARNING in ./node_modules/structured-source/lib/structured-source.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'workdir/chatgpt-playground/chat-with-gpt/app/node_modules/structured-source/src/structured-source.ts' file: Error: ENOENT: no such file or directory, open 'workdir/chatgpt-playground/chat-with-gpt/app/node_modules/structured-source/src/structured-source.ts'

ERROR in ./node_modules/@ffmpeg/ffmpeg/src/browser/defaultOptions.js 6:92-166
Module not found: Error: Can't resolve '/node_modules/@ffmpeg/core/dist/ffmpeg-core.js' in 'workdir/chatgpt-playground/chat-with-gpt/app/node_modules/@ffmpeg/ffmpeg/src/browser'

webpack compiled with 1 error and 2 warnings
Files successfully emitted, waiting for typecheck results...

Environment

Archlinux
npm -v: 8.19.2

So I assume it's a npm issue. What version do you use for development? And what about yarn, pnpm?

@rapiz1 rapiz1 changed the title Development instructions Failed to start develepment server for app Mar 28, 2023
@rapiz1
Copy link
Author

rapiz1 commented Mar 28, 2023

@rapiz1
Copy link
Author

rapiz1 commented Mar 28, 2023

npm install @ffmpeg/core can work around this issue.

@cogentapps
Copy link
Owner

Would you be able to test the latest version and see if you have the same issue?

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

2 participants