When I try to use workflow to publish my worker.
I got a mistake:
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/watchpack-chokidar2/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
added 346 packages from 202 contributors and audited 348 packages in 6.633s
5 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Error: webpack returned an error. You may be able to resolve this issue by running npm install.
./src/folderView.js 68:51
Module parse failed: Unexpected token (68:51)
You may need an appropriate loader to handle this file type.
| 'div',
| ['style="min-width: 600px"'],
> (!isIndex ? item('far fa-folder', '..', `${path}..`) : '') +
| items
| .map(i => {
@ ./src/index.js 7:0-47 123:32-48
I don't know how to solve it. Can anyone help me?