Open louiepiol opened 5 years ago
Which Node version do you have?
I unpublished the versions.
Node version: v6.115 NPM version: 3.10.10
tl;dr: update your node version or use explicit loopback reference(without "^" for not to use latest os-locale package)
looks as if loopback use os-locale, and latest looback minor version use latest os-locale, and this package have a breaking change and now use node >= 8.
ps: async, await, template string, etc is enable only in node >= 7.6
Faced the same issue. Having explicit loopback dependencies did not help:
"loopback": "3.0.0",
"loopback-boot": "2.6.5",
"loopback-common-errors": "0.0.4",
"loopback-component-explorer": "2.4.0",
"loopback-component-passport": "3.4.1",
"loopback-component-storage-gridfs": "1.1.1",
"loopback-connector-mongodb": "3.3.1",
"loopback-ds-timestamp-mixin": "3.4.1",
Upon running loopback the system gives an error:
loopback version: 3.0.0