We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
The following code just crash:
const dayjs = require('dayjs') dayjs.extend(require('dayjs/plugin/localeData'))
Error:
internal/modules/cjs/loader.js:896 throw err; ^ Error: Cannot find module 'dayjs/plugin/localeData' Require stack: - internal/preload at Function.Module._resolveFilename (internal/modules/cjs/loader.js:893:15) at Function.Module._load (internal/modules/cjs/loader.js:743:27) at Module.require (internal/modules/cjs/loader.js:965:19) at Module._preloadModules (internal/modules/cjs/loader.js:1222:12) at loadPreloadModules (internal/bootstrap/pre_execution.js:446:5) at prepareMainThreadExecution (internal/bootstrap/pre_execution.js:74:3) at internal/main/repl.js:19:1 { code: 'MODULE_NOT_FOUND', requireStack: [ 'internal/preload' ] }
Expected behavior No error should happen
Information
The text was updated successfully, but these errors were encountered:
same bug #1132, will fix soon
Sorry, something went wrong.
v1.9.3 has fixed this bug. Sorry for the inconvenience.
No branches or pull requests
Describe the bug
The following code just crash:
Error:
Expected behavior
No error should happen
Information
The text was updated successfully, but these errors were encountered: