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

Unable to build project #86

Closed
rmhrisk opened this issue Apr 7, 2017 · 7 comments
Closed

Unable to build project #86

rmhrisk opened this issue Apr 7, 2017 · 7 comments
Assignees

Comments

@rmhrisk
Copy link
Contributor

rmhrisk commented Apr 7, 2017

Ryans-MacBook-Pro:webcrypto-local rmh$ npm run build

[email protected] build /Users/rmh/tmp/webcrypto-local
tsc && rollup -c

node_modules/protobufjs/index.d.ts(1293,21): error TS2304: Cannot find name 'Long'.
node_modules/protobufjs/index.d.ts(1301,22): error TS2304: Cannot find name 'Long'.
node_modules/protobufjs/index.d.ts(1309,22): error TS2304: Cannot find name 'Lon

@donskov
Copy link
Collaborator

donskov commented Apr 7, 2017

@rmhrisk I think you need to update the modules. Maybe I'm wrong

@rmhrisk
Copy link
Contributor Author

rmhrisk commented Apr 7, 2017

@donskov I tried, are you able to do a checkout and build fresh? not working for me.

@rmhrisk
Copy link
Contributor Author

rmhrisk commented Apr 7, 2017

I know what I did, I checked out master!

Closing.

@rmhrisk rmhrisk closed this as completed Apr 7, 2017
@rmhrisk rmhrisk reopened this Apr 7, 2017
@rmhrisk
Copy link
Contributor Author

rmhrisk commented Apr 7, 2017

Actually I did have the correct branch:

Ryans-MacBook-Pro:webcrypto-local rmh$ head .git/HEAD 
ref: refs/heads/application
Ryans-MacBook-Pro:webcrypto-local rmh$ tsc
node_modules/protobufjs/index.d.ts(1293,21): error TS2304: Cannot find name 'Long'.
node_modules/protobufjs/index.d.ts(1301,22): error TS2304: Cannot find name 'Long'.
node_modules/protobufjs/index.d.ts(1309,22): error TS2304: Cannot find name 'Long'.
node_modules/protobufjs/index.d.ts(1335,23): error TS2304: Cannot find name 'Long'.
node_modules/protobufjs/index.d.ts(1343,24): error TS2304: Cannot find name 'Long'.
node_modules/protobufjs/index.d.ts(2112,36): error TS2304: Cannot find name 'Long'.
node_modules/protobufjs/index.d.ts(2126,44): error TS2304: Cannot find name 'Long'.
node_modules/protobufjs/index.d.ts(2274,33): error TS2304: Cannot find name 'Long'.
node_modules/protobufjs/index.d.ts(2282,63): error TS2304: Cannot find name 'Long'.
node_modules/protobufjs/index.d.ts(2827,27): error TS2304: Cannot find name 'Long'.
node_modules/protobufjs/index.d.ts(2836,26): error TS2304: Cannot find name 'Long'.
node_modules/protobufjs/index.d.ts(2844,27): error TS2304: Cannot find name 'Long'.
node_modules/protobufjs/index.d.ts(2874,28): error TS2304: Cannot find name 'Long'.
node_modules/protobufjs/index.d.ts(2883,29): error TS2304: Cannot find name 'Long'.

@rmhrisk
Copy link
Contributor Author

rmhrisk commented Apr 7, 2017

:(

@rmhrisk
Copy link
Contributor Author

rmhrisk commented Apr 7, 2017

Seems we need to add types/@long

protobufjs/protobuf.js#741

@microshine
Copy link
Contributor

I updated tsprotobuf which uses protobuf. I added @types/long dependency
https://circleci.com/gh/PeculiarVentures/tsprotobuf/14

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

No branches or pull requests

3 participants