You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I followed the steps from running, but got errors below. Can you please suggest how to fix them?
Install NPM modules Webapp cd web and npm install
up to date, audited 1382 packages in 2s
169 packages are looking for funding
run npm fund for details
6 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run npm audit for details.
npm audit
up to date, audited 1382 packages in 2s
169 packages are looking for funding
run npm fund for details
6 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run npm audit for details.
jiew@jiew-mbp web % npm audit
npm audit report
nth-check <2.0.1
Severity: moderate
Inefficient Regular Expression Complexity in nth-check - GHSA-rp65-9cf3-cjxr
fix available via npm audit fix --force
Will install react-scripts@2.1.3, which is a breaking change
node_modules/svgo/node_modules/nth-check
css-select <=3.1.0
Depends on vulnerable versions of nth-check
node_modules/svgo/node_modules/css-select
svgo 1.0.0 - 1.3.2
Depends on vulnerable versions of css-select
node_modules/svgo
@svgr/plugin-svgo <=5.5.0
Depends on vulnerable versions of svgo
node_modules/@svgr/plugin-svgo
@svgr/webpack 4.0.0 - 5.5.0
Depends on vulnerable versions of @svgr/plugin-svgo
node_modules/@svgr/webpack
react-scripts >=2.1.4
Depends on vulnerable versions of @svgr/webpack
node_modules/react-scripts
(node:4206) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
(Use node --trace-deprecation ... to show where the warning was created)
(node:4206) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Starting the development server...
Compiled with warnings.
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/NestedField.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/NestedField.ts'
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/OperationType.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/OperationType.ts'
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/Utils.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/Utils.ts'
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultAppSyncMutationAdapter.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultAppSyncMutationAdapter.ts'
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultAppSyncQueryAdapter.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultAppSyncQueryAdapter.ts'
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultMutationAdapter.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultMutationAdapter.ts'
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultQueryAdapter.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultQueryAdapter.ts'
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultSubscriptionAdapter.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultSubscriptionAdapter.ts'
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/index.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/index.ts'
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/index.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/index.ts'
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
Hi, I followed the steps from running, but got errors below. Can you please suggest how to fix them?
Install NPM modules Webapp cd web and npm install
up to date, audited 1382 packages in 2s
169 packages are looking for funding
run
npm fund
for details6 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run
npm audit
for details.npm audit
up to date, audited 1382 packages in 2s
169 packages are looking for funding
run
npm fund
for details6 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run
npm audit
for details.jiew@jiew-mbp web % npm audit
npm audit report
nth-check <2.0.1
Severity: moderate
Inefficient Regular Expression Complexity in nth-check - GHSA-rp65-9cf3-cjxr
fix available via
npm audit fix --force
Will install react-scripts@2.1.3, which is a breaking change
node_modules/svgo/node_modules/nth-check
css-select <=3.1.0
Depends on vulnerable versions of nth-check
node_modules/svgo/node_modules/css-select
svgo 1.0.0 - 1.3.2
Depends on vulnerable versions of css-select
node_modules/svgo
@svgr/plugin-svgo <=5.5.0
Depends on vulnerable versions of svgo
node_modules/@svgr/plugin-svgo
@svgr/webpack 4.0.0 - 5.5.0
Depends on vulnerable versions of @svgr/plugin-svgo
node_modules/@svgr/webpack
react-scripts >=2.1.4
Depends on vulnerable versions of @svgr/webpack
node_modules/react-scripts
6 moderate severity vulnerabilities
Run Webapp cd web and npm start, browse web at http://localhost:3000/
(node:4206) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
(Use
node --trace-deprecation ...
to show where the warning was created)(node:4206) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Starting the development server...
Compiled with warnings.
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/NestedField.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/NestedField.ts'
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/OperationType.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/OperationType.ts'
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/Utils.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/Utils.ts'
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultAppSyncMutationAdapter.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultAppSyncMutationAdapter.ts'
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultAppSyncQueryAdapter.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultAppSyncQueryAdapter.ts'
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultMutationAdapter.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultMutationAdapter.ts'
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultQueryAdapter.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultQueryAdapter.ts'
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultSubscriptionAdapter.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultSubscriptionAdapter.ts'
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/index.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/index.ts'
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/index.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/index.ts'
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
asset static/js/bundle.js 1.88 MiB [emitted] (name: main) 1 related asset
asset index.html 1.55 KiB [emitted]
asset asset-manifest.json 190 bytes [emitted]
cached modules 1.68 MiB (javascript) 28.7 KiB (runtime) [cached] 225 modules
WARNING in ./node_modules/gql-query-builder/build/NestedField.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/NestedField.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/NestedField.ts'
@ ./node_modules/gql-query-builder/build/Utils.js 23:20-44
@ ./node_modules/gql-query-builder/build/adapters/DefaultMutationAdapter.js 25:14-33
@ ./node_modules/gql-query-builder/build/index.js 12:31-75
@ ./src/components/thoughts/api/actions.js 5:0-52 24:33-38 49:33-38 71:31-39 79:31-39
@ ./src/components/thoughts/api/state.js 6:0-176 20:9-34 26:9-35 33:9-34 56:9-29 62:9-30 69:9-29
@ ./src/setup/store.js 9:0-61 13:3-11
@ ./src/index.js 10:0-38 15:9-14
WARNING in ./node_modules/gql-query-builder/build/OperationType.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/OperationType.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/OperationType.ts'
@ ./node_modules/gql-query-builder/build/adapters/DefaultMutationAdapter.js 23:22-49
@ ./node_modules/gql-query-builder/build/index.js 12:31-75
@ ./src/components/thoughts/api/actions.js 5:0-52 24:33-38 49:33-38 71:31-39 79:31-39
@ ./src/components/thoughts/api/state.js 6:0-176 20:9-34 26:9-35 33:9-34 56:9-29 62:9-30 69:9-29
@ ./src/setup/store.js 9:0-61 13:3-11
@ ./src/index.js 10:0-38 15:9-14
WARNING in ./node_modules/gql-query-builder/build/Utils.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/Utils.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/Utils.ts'
@ ./node_modules/gql-query-builder/build/adapters/DefaultMutationAdapter.js 25:14-33
@ ./node_modules/gql-query-builder/build/index.js 12:31-75
@ ./src/components/thoughts/api/actions.js 5:0-52 24:33-38 49:33-38 71:31-39 79:31-39
@ ./src/components/thoughts/api/state.js 6:0-176 20:9-34 26:9-35 33:9-34 56:9-29 62:9-30 69:9-29
@ ./src/setup/store.js 9:0-61 13:3-11
@ ./src/index.js 10:0-38 15:9-14
WARNING in ./node_modules/gql-query-builder/build/adapters/DefaultAppSyncMutationAdapter.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultAppSyncMutationAdapter.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultAppSyncMutationAdapter.ts'
@ ./node_modules/gql-query-builder/build/adapters/index.js 7:38-80
@ ./node_modules/gql-query-builder/build/index.js 8:17-38
@ ./src/components/thoughts/api/actions.js 5:0-52 24:33-38 49:33-38 71:31-39 79:31-39
@ ./src/components/thoughts/api/state.js 6:0-176 20:9-34 26:9-35 33:9-34 56:9-29 62:9-30 69:9-29
@ ./src/setup/store.js 9:0-61 13:3-11
@ ./src/index.js 10:0-38 15:9-14
WARNING in ./node_modules/gql-query-builder/build/adapters/DefaultAppSyncQueryAdapter.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultAppSyncQueryAdapter.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultAppSyncQueryAdapter.ts'
@ ./node_modules/gql-query-builder/build/adapters/index.js 9:35-74
@ ./node_modules/gql-query-builder/build/index.js 8:17-38
@ ./src/components/thoughts/api/actions.js 5:0-52 24:33-38 49:33-38 71:31-39 79:31-39
@ ./src/components/thoughts/api/state.js 6:0-176 20:9-34 26:9-35 33:9-34 56:9-29 62:9-30 69:9-29
@ ./src/setup/store.js 9:0-61 13:3-11
@ ./src/index.js 10:0-38 15:9-14
WARNING in ./node_modules/gql-query-builder/build/adapters/DefaultMutationAdapter.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultMutationAdapter.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultMutationAdapter.ts'
@ ./node_modules/gql-query-builder/build/index.js 12:31-75
@ ./src/components/thoughts/api/actions.js 5:0-52 24:33-38 49:33-38 71:31-39 79:31-39
@ ./src/components/thoughts/api/state.js 6:0-176 20:9-34 26:9-35 33:9-34 56:9-29 62:9-30 69:9-29
@ ./src/setup/store.js 9:0-61 13:3-11
@ ./src/index.js 10:0-38 15:9-14
WARNING in ./node_modules/gql-query-builder/build/adapters/DefaultQueryAdapter.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultQueryAdapter.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultQueryAdapter.ts'
@ ./node_modules/gql-query-builder/build/index.js 14:28-69
@ ./src/components/thoughts/api/actions.js 5:0-52 24:33-38 49:33-38 71:31-39 79:31-39
@ ./src/components/thoughts/api/state.js 6:0-176 20:9-34 26:9-35 33:9-34 56:9-29 62:9-30 69:9-29
@ ./src/setup/store.js 9:0-61 13:3-11
@ ./src/index.js 10:0-38 15:9-14
WARNING in ./node_modules/gql-query-builder/build/adapters/DefaultSubscriptionAdapter.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultSubscriptionAdapter.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/DefaultSubscriptionAdapter.ts'
@ ./node_modules/gql-query-builder/build/index.js 16:35-83
@ ./src/components/thoughts/api/actions.js 5:0-52 24:33-38 49:33-38 71:31-39 79:31-39
@ ./src/components/thoughts/api/state.js 6:0-176 20:9-34 26:9-35 33:9-34 56:9-29 62:9-30 69:9-29
@ ./src/setup/store.js 9:0-61 13:3-11
@ ./src/index.js 10:0-38 15:9-14
WARNING in ./node_modules/gql-query-builder/build/adapters/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/index.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/adapters/index.ts'
@ ./node_modules/gql-query-builder/build/index.js 8:17-38
@ ./src/components/thoughts/api/actions.js 5:0-52 24:33-38 49:33-38 71:31-39 79:31-39
@ ./src/components/thoughts/api/state.js 6:0-176 20:9-34 26:9-35 33:9-34 56:9-29 62:9-30 69:9-29
@ ./src/setup/store.js 9:0-61 13:3-11
@ ./src/index.js 10:0-38 15:9-14
WARNING in ./node_modules/gql-query-builder/build/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/index.ts' file: Error: ENOENT: no such file or directory, open '/Users/jiew/fullstack-graphql/web/node_modules/gql-query-builder/src/index.ts'
@ ./src/components/thoughts/api/actions.js 5:0-52 24:33-38 49:33-38 71:31-39 79:31-39
@ ./src/components/thoughts/api/state.js 6:0-176 20:9-34 26:9-35 33:9-34 56:9-29 62:9-30 69:9-29
@ ./src/setup/store.js 9:0-61 13:3-11
@ ./src/index.js 10:0-38 15:9-14
10 warnings have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
webpack 5.70.0 compiled with 10 warnings in 907 ms
The text was updated successfully, but these errors were encountered: