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

koa is error #1

Open
pinghe opened this issue Jan 4, 2020 · 0 comments
Open

koa is error #1

pinghe opened this issue Jan 4, 2020 · 0 comments

Comments

@pinghe
Copy link

pinghe commented Jan 4, 2020

  1. yarn add koa
  2. add "koa": "./deno_modules/koa.js",
  3. yarn build

errors:

ERROR in ./node_modules/destroy/index.js
Module not found: Error: Can't resolve 'fs' in '/myprg/node-to-deno/node_modules/destroy'
 @ ./node_modules/destroy/index.js 14:17-30
 @ ./node_modules/koa/lib/response.js
 @ ./node_modules/koa/lib/application.js

ERROR in ./node_modules/koa/lib/request.js
Module not found: Error: Can't resolve 'net' in '/myprg/node-to-deno/node_modules/koa/lib'
 @ ./node_modules/koa/lib/request.js 9:12-26
 @ ./node_modules/koa/lib/application.js

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