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
Getting error below if I attempt to run the code from examples/get_title.js in my own file:
module.js:549
throw err;
^
Error: Cannot find module 'babel-runtime/helpers/typeof'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/username/crawler-test/node_modules/queue-promise/dist/index.js:7:16)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
I do not have any of the babel modules queue-promise is trying to install, and none of those are listed as dependencies (aside from dev-dependencies) in either crawlerr or queue-promise package.json. Am I doing something wrong, or was this a build issue you didn't catch?
I'll have a look at this, probably a build issue. Normally, it should work without any additional Babel packages. Can you tell me which Node version are you using?
It should work perfectly on Node.js LTS (8.12). I guess it will work just fine on Node 8.11.3 but I encourage you to upgrade your Node version to a long-term supported version. Please, let me know if the error persists.
Getting error below if I attempt to run the code from
examples/get_title.js
in my own file:I do not have any of the babel modules queue-promise is trying to install, and none of those are listed as dependencies (aside from
dev-dependencies
) in eithercrawlerr
orqueue-promise
package.json. Am I doing something wrong, or was this a build issue you didn't catch?My test file run with
node ./index.js
:The text was updated successfully, but these errors were encountered: