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 cloned the repo, and ran 'npm i' inside the scroblr directory. I have done this on another computer successfully in the past. I am trying to install scroblr on my work (Windows 10) computer.
Here's the error when I try 'npm run build':
Loading "jpm.js" tasks...ERROR
ReferenceError: primordials is not defined
Warning: Task "jpm:xpi" not found. Use --force to continue.
Aborted due to warnings.
npm ERR! code ELIFECYCLE
npm ERR! errno 3
npm ERR! scroblr@2.2.7 build: grunt
npm ERR! Exit status 3
npm ERR!
npm ERR! Failed at the scroblr@2.2.7 build script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\sphilippi\AppData\Roaming\npm-cache_logs\2021-06-08T14_59
_02_249Z-debug.log
The text was updated successfully, but these errors were encountered:
The "primordials is not defined" error comes from running Gulp 3 on Node.js 12+. You'll want to use a lower version of Node.js (probably v10.x), assuming you don't want to create a pull request to upgrade this project to Gulp 4. Hope it helps!
I guess this project is using Grunt, rather than Gulp, but the same fix should work (though upgrading to the latest Grunt is probably less work than upgrading to Gulp 4, FYI).
I cloned the repo, and ran 'npm i' inside the scroblr directory. I have done this on another computer successfully in the past. I am trying to install scroblr on my work (Windows 10) computer.
Here's the error when I try 'npm run build':
Loading "jpm.js" tasks...ERROR
Aborted due to warnings.
npm ERR! code ELIFECYCLE
npm ERR! errno 3
npm ERR! scroblr@2.2.7 build:
grunt
npm ERR! Exit status 3
npm ERR!
npm ERR! Failed at the scroblr@2.2.7 build script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\sphilippi\AppData\Roaming\npm-cache_logs\2021-06-08T14_59
_02_249Z-debug.log
The text was updated successfully, but these errors were encountered: