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

BREAKING CHANGE: Convert to Typescript #1145

Merged
merged 25 commits into from
Mar 31, 2023
Merged

BREAKING CHANGE: Convert to Typescript #1145

merged 25 commits into from
Mar 31, 2023

Conversation

icleitoncosta
Copy link
Collaborator

No description provided.

@icleitoncosta icleitoncosta merged commit 7fa873d into main Mar 31, 2023
4 checks passed
@Saifallak
Copy link
Contributor

Saifallak commented Mar 31, 2023

Something wrong happened after this merge i guess

  • fresh clone
  • yarn install /or/ yarn upgrade
  • yarn build
  • yarn start
PS C:\Users\Saif\IdeaProjects\wppconnect-server> yarn start
yarn run v1.22.17
$ node ./dist/server.js
internal/modules/cjs/loader.js:905
  throw err;
  ^

Error: Cannot find module '../swagger.json'
Require stack:
- C:\Users\Saif\IdeaProjects\wppconnect-server\dist\routes\index.js
- C:\Users\Saif\IdeaProjects\wppconnect-server\dist\index.js
- C:\Users\Saif\IdeaProjects\wppconnect-server\dist\server.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
    at require (internal/modules/cjs/helpers.js:93:18)
    at Object.<anonymous> (C:\Users\Saif\IdeaProjects\wppconnect-server\dist\index.js:27:38)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'C:\\Users\\Saif\\IdeaProjects\\wppconnect-server\\dist\\routes\\index.js',
    'C:\\Users\\Saif\\IdeaProjects\\wppconnect-server\\dist\\index.js',
    'C:\\Users\\Saif\\IdeaProjects\\wppconnect-server\\dist\\server.js'
  ]
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

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

Successfully merging this pull request may close these issues.

None yet

2 participants