Skip to content
This repository has been archived by the owner on Feb 28, 2018. It is now read-only.

Typescript Starter: 'ERROR: ModuleBuildError' #48

Open
krokerke opened this issue Sep 26, 2017 · 7 comments
Open

Typescript Starter: 'ERROR: ModuleBuildError' #48

krokerke opened this issue Sep 26, 2017 · 7 comments

Comments

@krokerke
Copy link

Following error on starting an new project with typescript:

Module build failed: Error: ts-loader was supplied with an unexpected loader option: isolatedModules

Please take a look at the options you are supplying; the following are valid options:
silent / logLevel / logInfoToStdOut / instance / compiler / configFile / configFileName / transpileOnly / ignoreDiagnostics / visualStudioErrorFormat / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / entryFileIsJs / happyPackMode / getCustomTransformers

at validateLoaderOptions (/app/node_modules/ts-loader/dist/index.js:92:19)
at getLoaderOptions (/app/node_modules/ts-loader/dist/index.js:75:5)
at Object.loader (/app/node_modules/ts-loader/dist/index.js:23:19)
@christianalfoni
Copy link
Member

Hi there, sorry for late response!

Webpackbin is being refactored to latest versions of React and Cerebral, which will be out soon. Have not been able to reproduce it locally. So will make another check. This will happen during weekend :)

@jkleiser
Copy link

jkleiser commented Nov 2, 2017

I got the same error just now, using Safari 11.0.1, and the same in Chrome 62.0.3202.75, on macOS.

@bbonczek
Copy link

bbonczek commented Nov 7, 2017

same here

@Guria
Copy link
Member

Guria commented Nov 7, 2017

Check if clearing cache / cookies helps.

@bbonczek
Copy link

bbonczek commented Nov 7, 2017

Tried to open in incognito mode on Chrome 61.0.3163.100 64-bit, and error still occurs.

@bbonczek
Copy link

bbonczek commented Nov 8, 2017

FYI

I am not trying to create new typescript project. Instead I want to open https://www.webpackbin.com/bins/-KqGwvVQLknZ-fTXHjCO .

@krokerke
Copy link
Author

The error is caused by the 'new' config validation in 2.3.7 of ts-loader (installed automatically when building with the current package.json).
need to fix the options in the ts-loader config, pull request is open

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants