npm WARN deprecated @types/chalk@2.2.0: This is a stub types definition for chalk (https://github.com/chalk/chalk). chalk provides its own type definitions, so you don't need @types/chalk installed!
npm WARN deprecated @types/commander@2.12.2: This is a stub types definition for commander (https://github.com/tj/commander.js). commander provides its own type definitions, so you don't need @types/commander installed!
npm WARN deprecated @types/ajv@1.0.0: This is a stub types definition for ajv (https://github.com/epoberezkin/ajv). ajv provides its own type definitions, so you don't need @types/ajv installed!
npm WARN deprecated @types/dotenv@8.2.0: This is a stub types definition. dotenv provides its own type definitions, so you do not need this installed.
npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
Use styled-components at work? Consider supporting our development efforts at https://opencollective.com/styled-components
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN @bigcommerce/big-design@0.30.2 requires a peer of styled-components@^5.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN @bigcommerce/big-design-theme@0.13.1 requires a peer of styled-components@^5.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN @bigcommerce/big-design-icons@0.17.1 requires a peer of styled-components@^5.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN acorn-import-assertions@1.8.0 requires a peer of acorn@^8 but none is installed. You must install peer dependencies yourself.
added 1315 packages from 843 contributors and audited 1320 packages in 91.498s
145 packages are looking for funding
run npm fund for details
found 2 moderate severity vulnerabilities
run npm audit fix to fix them, or npm audit for details
widget-builder@0.0.1 build /Users/wipdz/Projects/bigcommerce-wip-stencil/testingbc/widget-builder
npm run build-cli && npm run build-server && npm run build-client
widget-builder@0.0.1 build-cli /Users/wipdz/Projects/bigcommerce-wip-stencil/testingbc/widget-builder
cd src/cli && tsc -p tsconfig.cli.json
../../node_modules/@types/express-serve-static-core/index.d.ts:99:68 - error TS1110: Type expected.
99 type RemoveTail<S extends string, Tail extends string> = S extends ${infer P}${Tail} ? P : S;
224 * Map the given param placeholder name(s) to the given callback(s).
../../node_modules/@types/express-serve-static-core/index.d.ts:233:31 - error TS1005: ';' expected.
233 * of the user. Once the `next()` function is invoked, just like middleware
259 * Special-cased "all" method, applying the given route path,
../../node_modules/@types/express-serve-static-core/index.d.ts:355:49 - error TS1005: ';' expected.
355 * @param P For most requests, this should be `ParamsDictionary`, but if you're
356 * using this in a route handler for a route that uses a RegExp or a wildcard
../../node_modules/@types/express-serve-static-core/index.d.ts:357:5 - error TS1005: ';' expected.
357 * `string` path (e.g. `'/user/*'`), then `req.params` will be an array, in
357 string path (e.g. `'/user/'), thenreq.params` will be an array, in
../../node_modules/@types/express-serve-static-core/index.d.ts:357:44 - error TS1005: ';' expected.
357 * `string` path (e.g. `'/user/*'`), then `req.params` will be an array, in
../../node_modules/@types/express-serve-static-core/index.d.ts:379:14 - error TS1005: ';' expected.
379 * both `Referrer` and `Referer` are interchangeable.
401 * Check if the given type(s) is acceptable, returning
../../node_modules/@types/express-serve-static-core/index.d.ts:402:45 - error TS1005: ';' expected.
402 * the best match when true, otherwise `undefined`, in which
405 * The type value may be a single mime type string
../../node_modules/@types/express-serve-static-core/index.d.ts:479:56 - error TS1005: ';' expected.
479 * Parse Range header field, capping to the given `size`.
483 * If the Range header field is not given undefined is returned.
../../node_modules/@types/express-serve-static-core/index.d.ts:502:35 - error TS1005: ';' expected.
502 * Return the value of param `name` when present or `defaultValue`.
../../node_modules/@types/express-serve-static-core/index.d.ts:516:53 - error TS1005: ';' expected.
516 * header field, and it contains the give mime `type`.
671 * Set the response HTTP status code to statusCode and send its string representation as the response body.
../../node_modules/@types/express-serve-static-core/index.d.ts:684:46 - error TS1005: ';' expected.
684 * Set Link header field with the given `links`.
../../node_modules/@types/express-serve-static-core/index.d.ts:735:22 - error TS1005: ';' expected.
735 * The callback `fn(err)` is invoked when the transfer is complete
~~
../../node_modules/@types/express-serve-static-core/index.d.ts:736:51 - error TS1005: ';' expected.
736 * or when an error occurs. Be sure to check `res.headersSent`
744 * - headers object of headers to serve with file
../../node_modules/@types/express-serve-static-core/index.d.ts:745:13 - error TS1005: ';' expected.
745 * - `dotfiles` serve dotfiles, defaulting to false; can be `"allow"` to send them
751 * The following example illustrates how res.sendFile() may
../../node_modules/@types/express-serve-static-core/index.d.ts:752:44 - error TS1005: ';' expected.
752 * be used as an alternative for the `static()` middleware for
753 * dynamic situations. The code backing res.sendFile() is actually
../../node_modules/@types/express-serve-static-core/index.d.ts:792:40 - error TS1005: ';' expected.
792 * Transfer the file at the given `path` as an attachment.
794 * Optionally providing an alternate attachment filename,
../../node_modules/@types/express-serve-static-core/index.d.ts:795:31 - error TS1005: ';' expected.
795 * and optional callback `fn(err)`. The callback is invoked
~~
../../node_modules/@types/express-serve-static-core/index.d.ts:797:35 - error TS1005: ';' expected.
797 * ocurred. Be sure to check `res.headersSent` if you plan to respond.
809 * Set Content-Type response header with type through mime.lookup()
../../node_modules/@types/express-serve-static-core/index.d.ts:810:66 - error TS1005: ';' expected.
810 * when it does not contain "/", or set the Content-Type to `type` otherwise.
824 * when it does not contain "/", or set the Content-Type to type otherwise.
../../node_modules/@types/express-serve-static-core/index.d.ts:837:52 - error TS1005: ';' expected.
837 * Respond to the Acceptable formats using an `obj`
../../node_modules/@types/express-serve-static-core/index.d.ts:848:54 - error TS1005: ';' expected.
848 * you may alter this within the callback using `res.type()`
../../node_modules/@types/express-serve-static-core/index.d.ts:923:20 - error TS1005: ';' expected.
923 * Set cookie `name` to `val`, with the given `options`.
923 * Set cookie name to val, with the given options.
../../node_modules/@types/express-serve-static-core/index.d.ts:923:52 - error TS1005: ';' expected.
923 * Set cookie `name` to `val`, with the given `options`.
../../node_modules/@types/express-serve-static-core/index.d.ts:946:19 - error TS1005: ';' expected.
946 * The given `url` can also be the name of a mapped url, for
958 * When an application is mounted and res.location()
../../node_modules/@types/express-serve-static-core/index.d.ts:972:31 - error TS1005: ';' expected.
972 * Redirect to the given `url` with optional response `status`
972 * Redirect to the given url with optional response status
../../node_modules/@types/express-serve-static-core/index.d.ts:975:23 - error TS1005: ';' expected.
975 * The resulting `url` is determined by `res.location()`, so
994 * Render view with the given options and optional callback fn.
../../node_modules/@types/express-serve-static-core/index.d.ts:994:38 - error TS1005: ';' expected.
994 * Render `view` with the given `options` and optional callback `fn`.
../../node_modules/@types/express-serve-static-core/index.d.ts:1074:25 - error TS1005: ';' expected.
1074 * By default will `require()` the engine based on the
1170 * Render the given view name name with options
../../node_modules/@types/express-serve-static-core/index.d.ts:1170:48 - error TS1005: ';' expected.
1170 * Render the given view `name` name with `options`
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! widget-builder@0.0.1 build-cli: cd src/cli && tsc -p tsconfig.cli.json
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the widget-builder@0.0.1 build-cli script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/wipdz/.npm/_logs/2022-09-20T10_29_12_278Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! widget-builder@0.0.1 build: npm run build-cli && npm run build-server && npm run build-client
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the widget-builder@0.0.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/wipdz/.npm/_logs/2022-09-20T10_29_12_302Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! widget-builder@0.0.1 install-cli: npm install; npm run build && npm install -g
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the widget-builder@0.0.1 install-cli script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/wipdz/.npm/_logs/2022-09-20T10_29_12_326Z-debug.log
OS: macosx Node version: v14.20.0 Npm version: 6.14.17
Steps to reproduce
Errors
npm WARN deprecated @types/chalk@2.2.0: This is a stub types definition for chalk (https://github.com/chalk/chalk). chalk provides its own type definitions, so you don't need @types/chalk installed! npm WARN deprecated @types/commander@2.12.2: This is a stub types definition for commander (https://github.com/tj/commander.js). commander provides its own type definitions, so you don't need @types/commander installed! npm WARN deprecated @types/ajv@1.0.0: This is a stub types definition for ajv (https://github.com/epoberezkin/ajv). ajv provides its own type definitions, so you don't need @types/ajv installed! npm WARN deprecated @types/dotenv@8.2.0: This is a stub types definition. dotenv provides its own type definitions, so you do not need this installed. npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js:
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
Use styled-components at work? Consider supporting our development efforts at https://opencollective.com/styled-components npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN @bigcommerce/big-design@0.30.2 requires a peer of styled-components@^5.3.0 but none is installed. You must install peer dependencies yourself. npm WARN @bigcommerce/big-design-theme@0.13.1 requires a peer of styled-components@^5.3.0 but none is installed. You must install peer dependencies yourself. npm WARN @bigcommerce/big-design-icons@0.17.1 requires a peer of styled-components@^5.3.0 but none is installed. You must install peer dependencies yourself. npm WARN acorn-import-assertions@1.8.0 requires a peer of acorn@^8 but none is installed. You must install peer dependencies yourself.
added 1315 packages from 843 contributors and audited 1320 packages in 91.498s
145 packages are looking for funding run
npm fund
for detailsfound 2 moderate severity vulnerabilities run
npm audit fix
to fix them, ornpm audit
for details../../node_modules/@types/express-serve-static-core/index.d.ts:99:68 - error TS1110: Type expected.
99 type RemoveTail<S extends string, Tail extends string> = S extends
${infer P}${Tail}
? P : S;../../node_modules/@types/express-serve-static-core/index.d.ts:114:52 - error TS1005: ';' expected.
114 : GetRouteParameter extends
${infer ParamName}?
~../../node_modules/@types/express-serve-static-core/index.d.ts:114:53 - error TS1005: ';' expected.
114 : GetRouteParameter extends
${infer ParamName}?
~../../node_modules/@types/express-serve-static-core/index.d.ts:114:60 - error TS1005: ';' expected.
114 : GetRouteParameter extends
${infer ParamName}?
../../node_modules/@types/express-serve-static-core/index.d.ts:224:41 - error TS1005: ';' expected.
224 * Map the given param placeholder
name
(s) to the given callback(s).../../node_modules/@types/express-serve-static-core/index.d.ts:259:62 - error TS1005: ';' expected.
259 * Special-cased "all" method, applying the given route
path
,../../node_modules/@types/express-serve-static-core/index.d.ts:356:59 - error TS1005: ';' expected.
356 * using this in a route handler for a route that uses a
RegExp
or a wildcard../../node_modules/@types/express-serve-static-core/index.d.ts:357:25 - error TS1005: ';' expected.
357
string
path (e.g. `'/user/'), then
req.params` will be an array, in../../node_modules/@types/express-serve-static-core/index.d.ts:358:31 - error TS1005: ';' expected.
358 * which case you should use
ParamsArray
instead.../../node_modules/@types/express-serve-static-core/index.d.ts:378:13 - error TS1005: ';' expected.
378 * The
Referrer
header field is special-cased,../../node_modules/@types/express-serve-static-core/index.d.ts:379:29 - error TS1005: ';' expected.
379 * both
Referrer
andReferer
are interchangeable.../../node_modules/@types/express-serve-static-core/index.d.ts:401:28 - error TS1005: ';' expected.
401 * Check if the given
type(s)
is acceptable, returning../../node_modules/@types/express-serve-static-core/index.d.ts:405:13 - error TS1005: ';' expected.
405 * The
type
value may be a single mime type string../../node_modules/@types/express-serve-static-core/index.d.ts:483:48 - error TS1005: ';' expected.
483 * If the Range header field is not given
undefined
is returned.../../node_modules/@types/express-serve-static-core/index.d.ts:502:58 - error TS1005: ';' expected.
502 * Return the value of param
name
when present ordefaultValue
.../../node_modules/@types/express-serve-static-core/index.d.ts:510:13 - error TS1005: ';' expected.
510 * the
connect.bodyParser()
middleware.../../node_modules/@types/express-serve-static-core/index.d.ts:556:26 - error TS1005: ';' expected.
556 * "trust proxy" is
true
return../../node_modules/@types/express-serve-static-core/index.d.ts:585:24 - error TS1005: ';' expected.
585 * Short-hand for
url.parse(req.url).pathname
.../../node_modules/@types/express-serve-static-core/index.d.ts:671:46 - error TS1005: ';' expected.
671 * Set the response HTTP status code to
statusCode
and send its string representation as the response body.../../node_modules/@types/express-serve-static-core/index.d.ts:732:40 - error TS1005: ';' expected.
732 * Transfer the file at the given
path
.../../node_modules/@types/express-serve-static-core/index.d.ts:742:13 - error TS1005: ';' expected.
742 * -
maxAge
defaulting to 0 (can be string converted byms
)../../node_modules/@types/express-serve-static-core/index.d.ts:744:13 - error TS1005: ';' expected.
744 * -
headers
object of headers to serve with file../../node_modules/@types/express-serve-static-core/index.d.ts:745:68 - error TS1005: ';' expected.
745 * -
dotfiles
serve dotfiles, defaulting to false; can be"allow"
to send them../../node_modules/@types/express-serve-static-core/index.d.ts:751:48 - error TS1005: ';' expected.
751 * The following example illustrates how
res.sendFile()
may../../node_modules/@types/express-serve-static-core/index.d.ts:753:47 - error TS1005: ';' expected.
753 * dynamic situations. The code backing
res.sendFile()
is actually../../node_modules/@types/express-serve-static-core/index.d.ts:794:54 - error TS1005: ';' expected.
794 * Optionally providing an alternate attachment
filename
,../../node_modules/@types/express-serve-static-core/index.d.ts:802:26 - error TS1005: ';' expected.
802 * This method uses
res.sendfile()
.../../node_modules/@types/express-serve-static-core/index.d.ts:809:64 - error TS1005: ';' expected.
809 * Set Content-Type response header with
type
throughmime.lookup()
../../node_modules/@types/express-serve-static-core/index.d.ts:823:49 - error TS1005: ';' expected.
823 * Set Content-Type response header with
type
throughmime.lookup()
../../node_modules/@types/express-serve-static-core/index.d.ts:824:66 - error TS1005: ';' expected.
824 * when it does not contain "/", or set the Content-Type to
type
otherwise.../../node_modules/@types/express-serve-static-core/index.d.ts:840:26 - error TS1005: ';' expected.
840 * This method uses
req.accepted
, an array of../../node_modules/@types/express-serve-static-core/index.d.ts:849:12 - error TS1005: ';' expected.
849 * or
res.set('Content-Type', ...)
.../../node_modules/@types/express-serve-static-core/index.d.ts:883:36 - error TS1005: ';' expected.
883 * with a
.status
of 406 tonext(err)
../../node_modules/@types/express-serve-static-core/index.d.ts:896:20 - error TS1005: ';' expected.
896 * Set header
field
toval
, or pass../../node_modules/@types/express-serve-static-core/index.d.ts:905:20 - error TS1005: ';' expected.
905 * Aliased as
res.header()
.../../node_modules/@types/express-serve-static-core/index.d.ts:919:23 - error TS1005: ';' expected.
919 /* Clear cookie
name
. /../../node_modules/@types/express-serve-static-core/index.d.ts:923:30 - error TS1005: ';' expected.
923 * Set cookie
name
toval
, with the givenoptions
.../../node_modules/@types/express-serve-static-core/index.d.ts:927:14 - error TS1005: ';' expected.
927 * -
maxAge
max-age in milliseconds, converted toexpires
../../node_modules/@types/express-serve-static-core/index.d.ts:928:14 - error TS1005: ';' expected.
928 * -
signed
sign the cookie../../node_modules/@types/express-serve-static-core/index.d.ts:944:36 - error TS1005: ';' expected.
944 * Set the location header to
url
.../../node_modules/@types/express-serve-static-core/index.d.ts:958:46 - error TS1005: ';' expected.
958 * When an application is mounted and
res.location()
../../node_modules/@types/express-serve-static-core/index.d.ts:972:60 - error TS1005: ';' expected.
972 * Redirect to the given
url
with optional responsestatus
../../node_modules/@types/express-serve-static-core/index.d.ts:975:46 - error TS1005: ';' expected.
975 * The resulting
url
is determined byres.location()
, so../../node_modules/@types/express-serve-static-core/index.d.ts:994:16 - error TS1005: ';' expected.
994 * Render
view
with the givenoptions
and optional callbackfn
.../../node_modules/@types/express-serve-static-core/index.d.ts:994:70 - error TS1005: ';' expected.
994 * Render
view
with the givenoptions
and optional callbackfn
. ~~../../node_modules/@types/express-serve-static-core/index.d.ts:1000:12 - error TS1005: ';' expected.
1000 * -
cache
boolean hinting to the engine it should cache../../node_modules/@types/express-serve-static-core/index.d.ts:1071:53 - error TS1005: ';' expected.
1071 * Register the given template engine callback
fn
~~../../node_modules/@types/express-serve-static-core/index.d.ts:1072:12 - error TS1005: ';' expected.
1072 * as
ext
.../../node_modules/@types/express-serve-static-core/index.d.ts:1089:52 - error TS1005: ';' expected.
1089 * though note that it aliases this method as
ejs.__express
internally../../node_modules/@types/express-serve-static-core/index.d.ts:1104:29 - error TS1005: ';' expected.
1104 * Assign
setting
toval
, or returnsetting
's value.../../node_modules/@types/express-serve-static-core/index.d.ts:1140:18 - error TS1005: ';' expected.
1140 * Check if
setting
is enabled (truthy).../../node_modules/@types/express-serve-static-core/index.d.ts:1163:17 - error TS1005: ';' expected.
1163 /* Enable
setting
. /../../node_modules/@types/express-serve-static-core/index.d.ts:1170:31 - error TS1005: ';' expected.
1170 * Render the given view
name
name withoptions
../../node_modules/@types/express-serve-static-core/index.d.ts:1186:16 - error TS1005: ';' expected.
1186 * A node
http.Server
is returned, with this../../node_modules/@types/express-serve-static-core/index.d.ts:1255:1 - error TS1160: Unterminated template literal.
1255
Found 127 errors.
npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! widget-builder@0.0.1 build-cli:
cd src/cli && tsc -p tsconfig.cli.json
npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the widget-builder@0.0.1 build-cli script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /Users/wipdz/.npm/_logs/2022-09-20T10_29_12_278Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! widget-builder@0.0.1 build:
npm run build-cli && npm run build-server && npm run build-client
npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the widget-builder@0.0.1 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /Users/wipdz/.npm/_logs/2022-09-20T10_29_12_302Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! widget-builder@0.0.1 install-cli:
npm install; npm run build && npm install -g
npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the widget-builder@0.0.1 install-cli script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /Users/wipdz/.npm/_logs/2022-09-20T10_29_12_326Z-debug.log