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
On running npm run build, the following error occurs:
> [email protected] build /Users/alacritas/Projects/Utils/svelte-devtools-master
> $npm_execpath run build:format && rollup -c && $npm_execpath run build:icon
> [email protected] build:format /Users/alacritas/Projects/Utils/svelte-devtools-master
> node --experimental-modules ./scripts/format.mjs
(node:41629) ExperimentalWarning: The ESM module loader is experimental.
file:///Users/alacritas/Projects/Utils/svelte-devtools-master/scripts/format.mjs:5
import { promises as fs } from 'fs'
^^^^^^^^
SyntaxError: The requested module 'fs' does not provide an export named 'promises'
at ModuleJob._instantiate (internal/modules/esm/module_job.js:79:21)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:format: `node --experimental-modules ./scripts/format.mjs`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:format 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/alacritas/.npm/_logs/2019-09-19T22_01_48_720Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `$npm_execpath run build:format && rollup -c && $npm_execpath run build:icon`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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/alacritas/.npm/_logs/2019-09-19T22_01_48_757Z-debug.log
It seems to be a quirky syntax issue explained here: nodejs/node#21014
The text was updated successfully, but these errors were encountered:
On running
npm run build
, the following error occurs:It seems to be a quirky syntax issue explained here: nodejs/node#21014
The text was updated successfully, but these errors were encountered: