package.dependency parsed failed
'source-map-support' is imported by source-map-support?commonjs-external, but could not be resolved – treating it as an external dependency
(node:8856) UnhandledPromiseRejectionWarning: Error: Cannot find module 'F:\workspace\test\node_modules\yart-cli\lib\index.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (internal/modules/cjs/loader.js:303:19)
at Function.Module._findPath (internal/modules/cjs/loader.js:516:18)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:867:27)
at Function.resolve (internal/modules/cjs/helpers.js:94:19)
at parse (file:///F:/workspace/test/node_modules/yart-dev-server/lib/plugin/dependency.js:156:37)
at parse_exports (file:///F:/workspace/test/node_modules/yart-dev-server/lib/plugin/dependency.js:169:5)
at build_module (file:///F:/workspace/test/node_modules/yart-dev-server/lib/plugin/dependency.js:87:9)
at plugin (file:///F:/workspace/test/node_modules/yart-dev-server/lib/plugin/dependency.js:39:32)
at async create_plugin_factory (file:///F:/workspace/test/node_modules/yart-dev-server/lib/plugin.js:12:24)
at async Module.main (file:///F:/workspace/test/node_modules/yart-dev-server/lib/main.js:39:9)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:8856) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of
an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node
process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 23)
(node:8856) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that
are not handled will terminate the Node.js process with a non-zero exit code.
(node:8856) UnhandledPromiseRejectionWarning: Error: Could not resolve entry module (yart-cli).
at error (file:///F:/workspace/test/node_modules/rollup/dist/es/shared/rollup.js:5227:30)
at ModuleLoader.loadEntryModule (file:///F:/workspace/test/node_modules/rollup/dist/es/shared/rollup.js:18697:20)
at async Promise.all (index 0)
(node:8856) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of
an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node
process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 24)
package.json does not have dependencies
field
(node:11636) UnhandledPromiseRejectionWarning: TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at plugin (file:///F:/workspace/test/node_modules/yart-dev-server/lib/plugin/dependency.js:34:33)
at create_plugin_factory (file:///F:/workspace/test/node_modules/yart-dev-server/lib/plugin.js:12:30)
at Module.main (file:///F:/workspace/test/node_modules/yart-dev-server/lib/main.js:39:15)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:11636) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:11636) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Error 7016 : Could not find a declaration file for module 'react/jsx-dev-runtime'. 'F:/workspace/test/node_modules/react/jsx-dev-runtime.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/react` if it exists or add a new declaration (.d.ts) file containing `declare module 'react/jsx-dev-runtime';`