ERROR in ./node_modules/react-compound-timer/build/models/TimeModel.js 5:11
Hello everyone! Did someone have same error? I don't really understand what additional loader it want. It looks like normal js file. ERROR in ./node_modules/react-compound-timer/build/models/TimeModel.js 5:11 Module parse failed: Unexpected token (5:11) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | import { TimeModelState } from "./TimeModelState"; | export class TimeModel {
options;
| events; | internalTime; @ ./node_modules/react-compound-timer/build/instances/timeModel.js 1:0-49 16:15-24 @ ./node_modules/react-compound-timer/build/index.js
@Zeb1986 Hi! Are you using Typescript? If not maybe Babel? Can you share your Babel/Typescript config file?
@Zeb1986 also you can try version 2.0.3 - here I've updated bundler, so this may help
@Zeb1986 Hi! Are you using Typescript? If not maybe Babel? Can you share your Babel/Typescript config file? No i don't use TS in project, this is my babelrc { "plugins": ["transform-class-properties"] }
so have you tried latest version of this package?
well im updating my libs, and i put version ^2.0.0 in package.json i think its install last one
try ^2.0.4 - because the file you mentioned in description doesn't exist in this version of build, so i think you are still using 2.0.0
ok, thank you)