BCDevOps / nrdk

Natural Resource Ministries Developer/Deployment Kit
3 stars 4 forks source link

error running nrdk - Unexpected token #45

Closed cvarjao closed 3 years ago

cvarjao commented 3 years ago

When running npx @bcgov/nrdk the following error occurs:

$ npx @bcgov/nrdk
npx: installed 297 in 7.445s
Unexpected token =

Environment:

$ npm version
{ npm: '6.4.1',
 ares: '1.15.0',
 cldr: '33.1',
 http_parser: '2.8.0',
 icu: '62.1',
 modules: '64',
 napi: '3',
 nghttp2: '1.34.0',
 node: '10.15.2',
 openssl: '1.1.0j',
 tz: '2018e',
 unicode: '11.0',
 uv: '1.23.2',
 v8: '6.8.275.32-node.12',
 zlib: '1.2.11’ }

$ npm ls -g --depth 0
/usr/local/lib
├── create-react-app@2.1.5
└── npm@6.4.1
cvarjao commented 3 years ago

Requested developer to try running using node 12+

bferguso commented 3 years ago

@cvarjao - FYI - Upgrading to node 15.5.1 fixed the issue.