Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

Issue starting project, typo on filename #19

Closed
mralanlee opened this issue Oct 3, 2020 · 0 comments · Fixed by #21
Closed

Issue starting project, typo on filename #19

mralanlee opened this issue Oct 3, 2020 · 0 comments · Fixed by #21
Labels
bug Something isn't working

Comments

@mralanlee
Copy link
Contributor

Bug Report

Current Behavior
yarn start outputs the following error:

yarn run v1.22.4
$ node code.js
internal/modules/cjs/loader.js:969
  throw err;
  ^

Error: Cannot find module '/app/code.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15)
    at Function.Module._load (internal/modules/cjs/loader.js:842:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Possible Solution
https://github.com/LucasCtrl/spookyBot/blob/703622101188836e0ed6d11ca445e5eeddc2b373/package.json#L23

This should be core.js instead of code.js

@mralanlee mralanlee added the bug Something isn't working label Oct 3, 2020
This was referenced Oct 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant