metal-stack-cloud / api

MIT License
1 stars 0 forks source link

re add missing files #14

Closed Pilzington closed 2 years ago

Pilzington commented 2 years ago

These files seem to went missing between a23cd1e and 582b503, but the deletion is not shown in the commit.
Without them the console breaks:

Module not found: Error: Can't resolve '../../google/api/annotations_pb.js' in '/home/alex/Documents/github.com/metal-stack-cloud/console/node_modules/@metal-stack-cloud/api/api/v1'
ERROR in ./node_modules/@metal-stack-cloud/api/api/v1/assets_pb.js 23:32-77
Module not found: Error: Can't resolve '../../google/api/annotations_pb.js' in '/home/alex/Documents/github.com/metal-stack-cloud/console/node_modules/@metal-stack-cloud/api/api/v1'

ERROR in ./node_modules/@metal-stack-cloud/api/api/v1/cluster_pb.js 27:32-77
Module not found: Error: Can't resolve '../../google/api/annotations_pb.js' in '/home/alex/Documents/github.com/metal-stack-cloud/console/node_modules/@metal-stack-cloud/api/api/v1'

ERROR in ./node_modules/@metal-stack-cloud/api/api/v1/cluster_pb.js 35:27-67
Module not found: Error: Can't resolve '../../validate/validate_pb.js' in '/home/alex/Documents/github.com/metal-stack-cloud/console/node_modules/@metal-stack-cloud/api/api/v1'

ERROR in ./node_modules/@metal-stack-cloud/api/api/v1/ip_pb.js 27:32-77
Module not found: Error: Can't resolve '../../google/api/annotations_pb.js' in '/home/alex/Documents/github.com/metal-stack-cloud/console/node_modules/@metal-stack-cloud/api/api/v1'

ERROR in ./node_modules/@metal-stack-cloud/api/api/v1/ip_pb.js 35:27-67
Module not found: Error: Can't resolve '../../validate/validate_pb.js' in '/home/alex/Documents/github.com/metal-stack-cloud/console/node_modules/@metal-stack-cloud/api/api/v1'

ERROR in ./node_modules/@metal-stack-cloud/api/api/v1/payment_pb.js 27:27-67
Module not found: Error: Can't resolve '../../validate/validate_pb.js' in '/home/alex/Documents/github.com/metal-stack-cloud/console/node_modules/@metal-stack-cloud/api/api/v1'

ERROR in ./node_modules/@metal-stack-cloud/api/api/v1/version_pb.js 23:32-77
Module not found: Error: Can't resolve '../../google/api/annotations_pb.js' in '/home/alex/Documents/github.com/metal-stack-cloud/console/node_modules/@metal-stack-cloud/api/api/v1'

ERROR in ./node_modules/@metal-stack-cloud/api/api/v1/volume_pb.js 27:32-77
Module not found: Error: Can't resolve '../../google/api/annotations_pb.js' in '/home/alex/Documents/github.com/metal-stack-cloud/console/node_modules/@metal-stack-cloud/api/api/v1'

ERROR in ./node_modules/@metal-stack-cloud/api/api/v1/volume_pb.js 35:27-67
Module not found: Error: Can't resolve '../../validate/validate_pb.js' in '/home/alex/Documents/github.com/metal-stack-cloud/console/node_modules/@metal-stack-cloud/api/api/v1'

webpack compiled with 9 errors

(happens since v.46)

Maybe our build is wrong, because the files rely on them? @Gerrit91 Did you consciously delete them?

Gerrit91 commented 2 years ago

No, I didn't delete them on purpose. :/

majst01 commented 2 years ago

They are deleted in the Makefile, please adopt the deletion in js/Makefile as well, otherwise this will happen again