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

build folder is missing in NPM package #267

Closed
aikoven opened this issue Apr 4, 2021 · 2 comments
Closed

build folder is missing in NPM package #267

aikoven opened this issue Apr 4, 2021 · 2 comments
Labels

Comments

@aikoven
Copy link
Collaborator

aikoven commented Apr 4, 2021

I installed [email protected], and got an error:

Error: Cannot find module './build/plugin'
Require stack:
- node_modules/ts-proto/protoc-gen-ts_proto
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:925:15)
    at Function.Module._load (node:internal/modules/cjs/loader:769:27)
    at Module.require (node:internal/modules/cjs/loader:997:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (node_modules/ts-proto/protoc-gen-ts_proto:2:1)
    at Module._compile (node:internal/modules/cjs/loader:1108:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:973:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'node_modules/ts-proto/protoc-gen-ts_proto'
  ]
}

Checked in node_modules/ts-proto, and there's indeed no build folder in the package.

stephenh added a commit that referenced this issue Apr 4, 2021
@stephenh
Copy link
Owner

stephenh commented Apr 4, 2021

Ah shoot, I was redoing the build infrastructure and must have missed something. Let's see if #269 fixes it.

stephenh pushed a commit that referenced this issue Apr 4, 2021
## [1.79.1](v1.79.0...v1.79.1) (2021-04-04)

### Bug Fixes

* Build before releasing, fixes [#267](#267). ([#269](#269)) ([1f1bcfe](1f1bcfe))
@stephenh
Copy link
Owner

stephenh commented Apr 4, 2021

🎉 This issue has been resolved in version 1.79.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

zfy0701 added a commit to sentioxyz/ts-proto that referenced this issue Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants