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

Basic initialization of Bolt fails on RunKit #1194

Closed
4 of 10 tasks
brianjychan opened this issue Nov 3, 2021 · 6 comments
Closed
4 of 10 tasks

Basic initialization of Bolt fails on RunKit #1194

brianjychan opened this issue Nov 3, 2021 · 6 comments
Assignees
Labels
bug M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented
Milestone

Comments

@brianjychan
Copy link

Description

Today I began seeing the error:
Error: Cannot find module '/app/available_modules/1635904312000/@slack/bolt/dist/index.js'. Please verify that the package.json has a valid "main" entry

What type of issue is this? (place an x in one of the [ ])

  • bug
  • enhancement (feature request)
  • question
  • documentation related
  • example code related
  • testing related
  • discussion

Requirements (place an x in each of the [ ])

  • I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.

Bug Report

Filling out the following details about bugs will help us solve your issue sooner.

Reproducible in:

package version: 3.8.0

node version: 16.10.0

OS version(s):

Steps to reproduce:

  1. Go to https://npm.runkit.com/%40slack%2Fbolt
  2. Click Run

Expected result:

No errors

Actual result:

Error: Cannot find module '/app/available_modules/1635904312000/@slack/bolt/dist/index.js'. Please verify that the package.json has a valid "main" entry

Attachments:

Screen Shot 2021-11-02 at 6 54 04 PM

@seratch
Copy link
Member

seratch commented Nov 3, 2021

@brianjychan Thanks for reporting this. The npm package of v3.8.0 is not valid. We'll fix this issue as soon as possible.

@seratch seratch added the bug M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented label Nov 3, 2021
@seratch seratch added this to the 3.8.0 milestone Nov 3, 2021
@seratch seratch self-assigned this Nov 3, 2021
@seratch
Copy link
Member

seratch commented Nov 3, 2021

I've published a new patch version (v3.8.1) and the one should be fine. It seems that the newer version is not yet available in RunKit (perhaps, the platform has its cache layer for npm module resolution) but I've verified if 3.8.1 works for me while 3.8.0 does not. I will continue checking if the new module version comes to RunKit and it works.

@seratch
Copy link
Member

seratch commented Nov 3, 2021

@brianjychan Thanks again for reporting this issue! I've confirmed that 3.8.1 is now available in RunKit and the version does not have the issue described here.

@seratch seratch closed this as completed Nov 3, 2021
@brianjychan
Copy link
Author

Great! I initially noticed because my deploys were failing. I'm surprised there werent other mentions. Thank you! Just curious, what was the issue?

@seratch
Copy link
Member

seratch commented Nov 3, 2021

@brianjychan Sorry about the disruption. The issue was some error in the publishing operation. If you're interested in details, please refer to #1195. With the new steps, we won't repeat the same going forward.

@brianjychan
Copy link
Author

Thank you for sharing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented
Projects
None yet
Development

No branches or pull requests

2 participants