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
I am new to javascript. I am trying to create a chrome extension by following the steps of README.md.
Everything works fine until the gulp commands. When attempting to run any of the:
gulp babel
gulp watch
gulp build
I get the error:
[08:56:55] Requiring external module @babel/register
ReferenceError: primordials is not defined
at fs.js:40:5
at req_ (/home/charalamm/Documents/myProjects/chrome_extension/extension/node_modules/natives/index.js:143:24)
at Object.req [as require] (/home/charalamm/Documents/myProjects/chrome_extension/extension/node_modules/natives/index.js:55:10)
at Object.<anonymous> (/home/charalamm/Documents/myProjects/chrome_extension/extension/node_modules/graceful-fs/fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Module._compile (/home/charalamm/Documents/myProjects/chrome_extension/extension/node_modules/pirates/lib/index.js:136:24)
at Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Object.newLoader [as .js] (/home/charalmm/Documents/myProjects/chrome_extension/extension/node_modules/pirates/lib/index.js:141:7)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
The text was updated successfully, but these errors were encountered:
I am new to javascript. I am trying to create a chrome extension by following the steps of README.md.
Everything works fine until the
gulp
commands. When attempting to run any of the:I get the error:
The text was updated successfully, but these errors were encountered: