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
{{ message }}
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
I install grommet-cli on my project and when i use the command npm run dev-server i got this error:
[nodemon] 1.13.3
[nodemon] to restart at any time, enter rs
[nodemon] watching: .
[nodemon] starting node ./server/dev src/js/index.js
(function (exports, require, module, __filename, __dirname) { import 'whatwg-fetch';
^^^^^^
SyntaxError: Unexpected token import
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:599:28)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
[nodemon] app crashed - waiting for file changes before starting...
i check on my node_module and i have the folder whatwg-fetch, i use the npm rebuild whatwg-fetch and the problem still, anyone know something about this?
The text was updated successfully, but these errors were encountered:
I install grommet-cli on my project and when i use the command npm run dev-server i got this error:
[nodemon] 1.13.3
[nodemon] to restart at any time, enter
rs
[nodemon] watching: .
[nodemon] starting
node ./server/dev src/js/index.js
(function (exports, require, module, __filename, __dirname) { import 'whatwg-fetch';
^^^^^^
SyntaxError: Unexpected token import
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:599:28)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
[nodemon] app crashed - waiting for file changes before starting...
i check on my node_module and i have the folder whatwg-fetch, i use the npm rebuild whatwg-fetch and the problem still, anyone know something about this?
The text was updated successfully, but these errors were encountered: