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
FROM node:10.15.2-alpine as esm_working
WORKDIR /bugcheck
RUN npm init -y
RUN npm i request request-promise
RUN echo "import request from 'request-promise'" > bugcheck.mjs
RUN node --experimental-modules bugcheck.mjs
Failing on 10.15.3:
FROM node:10.15.3-alpine as esm_failing
WORKDIR /bugcheck
RUN npm init -y
RUN npm i request request-promise
RUN echo "import request from 'request-promise'" > bugcheck.mjs
RUN node --experimental-modules bugcheck.mjs
Error: request-promise is trying to load request library but fails:
TypeError: Cannot read property 'onReady' of undefined
at Module.load (internal/modules/cjs/loader.js:611:22)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.<anonymous> (/bugcheck/node_modules/psl/index.js:14:19)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.<anonymous> (/bugcheck/node_modules/tough-cookie/lib/pubsuffix-psl.js:32:11)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.<anonymous> (/bugcheck/node_modules/tough-cookie/lib/cookie.js:35:17)
What has changed?
Was that intentional or is it a regression?
The text was updated successfully, but these errors were encountered:
FROM node:10.15.3-alpine as require_working
WORKDIR /bugcheck
RUN npm init -y
RUN npm i request request-promise
RUN echo "const request = require('request-promise')" > bugcheck.mjs
RUN node bugcheck.mjs
node:10.15.3-alpine
Working on 10.15.2:
Failing on 10.15.3:
Error:
request-promise
is trying to loadrequest
library but fails:What has changed?
Was that intentional or is it a regression?
The text was updated successfully, but these errors were encountered: