BboyAkers/simple-dapp-tutorial

Error during NPM Install finished project

Opened this issue · 0 comments

`yarn run v1.22.10
$ yarn lint
$ eslint . --ext js,json && prettier ./src -c

C:\Users\thep_\Downloads\simple-dapp-tutorial-aakers-part_2\simple-dapp-tutorial-aakers-part_2\finished.eslintrc.js
1:1 error This module could be parsed as a valid script import/unambiguous
28:2 error Newline required at end of file but not found eol-last

C:\Users\thep_\Downloads\simple-dapp-tutorial-aakers-part_2\simple-dapp-tutorial-aakers-part_2\finished\src\index.js
12:24 error The 'URL' is not supported until Node.js 10.0.0. The configured version range is '>=8.0.0' node/no-unsupported-features/node-builtins
848:29 error Missing space before function parentheses space-before-function-paren
857:26 error Missing space before function parentheses space-before-function-paren
861:28 error Missing space before function parentheses space-before-function-paren
865:38 error Missing space before function parentheses space-before-function-paren
907:37 error Missing space before function parentheses space-before-function-paren
915:28 error Missing space before function parentheses space-before-function-paren
917:2 error Newline required at end of file but not found eol-last

C:\Users\thep_\Downloads\simple-dapp-tutorial-aakers-part_2\simple-dapp-tutorial-aakers-part_2\finished\webpack.config.js
1:1 error This module could be parsed as a valid script import/unambiguous

✖ 11 problems (11 errors, 0 warnings)
8 errors and 0 warnings potentially fixable with the --fix option.

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @metamask/test-dapp@3.0.0 prepare: yarn test && yarn build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @metamask/test-dapp@3.0.0 prepare 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! C:\Users\thep_\AppData\Roaming\npm-cache_logs\2021-05-26T02_02_32_629Z-debug.log`