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
{{ message }}
This repository has been archived by the owner on May 31, 2021. It is now read-only.
Commit ID (development release) git --no-pager log -1
Environment name and version:
Node.js version node --version
v12.13.1
npm version npm --version
6.13.4
Web browser name and version
Docker version 19.03.5, build 633a0ea
Operating System and version:
Linux version 5.4.6-1.el7.elrepo.x86_64
Summary
I try to build a docker image by the docker file in the repo. But there is a error
./client/src/sass/style.scss (./node_modules/css-loader/dist/cjs.js??ref--5-1!./client/scripts/typed-css-modules-loader.js!./node_modules/postcss-loader/lib??postcss!./node_modules/sass-loader/dist/cjs.js??ref--5-4!./client/src/sass/style.scss)
TypeError: DtsCreator is not a constructor
@ ./client/src/sass/style.scss 2:14-251
@ ./client/src/javascript/app.tsx
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `node client/scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-12-29T07_08_30_625Z-debug.log
which is the same error as i try run npm run built
Expected Behavior
Current Behavior
I cd to the git dir.
and docker build -t flood .
Possible Solution
Steps to Reproduce
Context
I flowed some issue , for example , I try to rm node_modlues and install node-sass`
but none if them has some effects.
The text was updated successfully, but these errors were encountered:
The solution for me:
In the file client/scripts/typed-css-modules-loader.js
change const creator = new DtsCreator();
by const creator = DtsCreator.hasOwnProperty('default') ? new DtsCreator.default() : new DtsCreator();
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Type: Bug Report
Your Environment
git --no-pager tag
bb55350
git --no-pager log -1
node --version
v12.13.1
npm --version
6.13.4
name and version
Docker version 19.03.5, build 633a0ea
Linux version 5.4.6-1.el7.elrepo.x86_64
Summary
I try to build a docker image by the docker file in the repo. But there is a error
which is the same error as i try run
npm run built
Expected Behavior
Current Behavior
I cd to the git dir.
and
docker build -t flood .
Possible Solution
Steps to Reproduce
Context
I flowed some issue , for example , I try to rm
node_modlues
and install node-sass`but none if them has some effects.
The text was updated successfully, but these errors were encountered: