protobuf.js version: 6.8.8
nodejs version: 6.11.0
I have the problem now, but i don't have problem 1 year before. This is strange, because dependency version is locked, npm-shrinkwrap.json is used
After run command
pbjs -t static-module -w commonjs -o ../../../target/classes/myproto.js ../proto/*.proto; pbts -o ../../../target/classes/myproto.d.ts ../../../target/classes/myproto.js
I can see this error:
node_modules/protobufjs/cli/node_modules/mkdirp/lib/opts-arg.js:7
opts = { mode: 0o777, fs, ...opts }
^^^
SyntaxError: Unexpected token ...
Probably "...opts" is syntax, which nodejs6.11.0 doesn't support. But why it works before?
What can I do for fix it in my project, without update nodejs version?
protobuf.js version: 6.8.8
nodejs version: 6.11.0
I have the problem now, but i don't have problem 1 year before. This is strange, because dependency version is locked, npm-shrinkwrap.json is used
After run command
I can see this error:
Probably "...opts" is syntax, which nodejs6.11.0 doesn't support. But why it works before?
What can I do for fix it in my project, without update nodejs version?