atom-community / atom-community/atom-script

Error: Cannot find module 'koa'

Open
#1,581 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
730
Forks
264
PR merge metrics
No merged PRs in 30d

Description

[Enter steps to reproduce:]
Atom: 1.25.0 x64
OS: Unknown Windows version
Thrown From: atom-script package 3.17.3

Stack Trace


Error: Cannot find module 'koa'

```
module.js:540
throw err;
^
Error: Cannot find module 'koa'
at Function.Module._resolveFilename (module.js:538:15)
at Function.Module._load (module.js:468:25)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at [stdin]:3:13
at ContextifyScript.Script.runInThisContext (vm.js:50:33)
at Object.runInThisContext (vm.js:139:38)
at Object. ([stdin]-wrapper:6:22)
at Module._compile (module.js:643:30)
at evalScript (bootstrap_node.js:462:27)
[Finished in 4.588s]

```
#### package.json

```
"dependencies": {
"koa": "^2.5.0",
"koa-route": "^3.2.0",
"koa-static": "^4.0.2",
"vue": "^2.5.13",
"vue-awesome-swiper": "^3.1.3",
"vue-router": "^3.0.1"
}

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.