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
when i am trying to import the module and run the universal build i got this error ERROR in ./~/ng2-file-drop/module/file-drop.module.ts Module build failed: Error: Typescript emitted no output for /home/orange/Desktop/projects/maker/cli-universal-demo/node_modules/ng2-file-drop/module/file-drop.module.ts. You should not need to recompile .ts files in node_modules. Please contact the package author to advise them to use --declaration --outDir. More https://github.com/Microsoft/TypeScript/issues/12358 at Object.loader (/home/orange/Desktop/projects/maker/cli-universal-demo/node_modules/ts-loader/dist/index.js:32:15) @ ./dist/ngfactory/src/app/app.server.module.ngfactory.ts 150:11-59 @ ./src/server.ts
the problem as i expect is that the package contains the .ts source files and they must not be inside the module package on the npm.
but if i try to delete them manually the application also crashes because the ng2filedropmodule is declared inside the ts files.
version : 1.1.0
angular version : 4.1.0
webpack : 2.2.0
example repo : https://github.com/evertonrobertoauler/cli-universal-demo
run npm install ng2-file-drop
and include it inside whitelist array inside webpack.config
import the module inside app.module
The text was updated successfully, but these errors were encountered:
when i am trying to import the module and run the universal build i got this error
ERROR in ./~/ng2-file-drop/module/file-drop.module.ts Module build failed: Error: Typescript emitted no output for /home/orange/Desktop/projects/maker/cli-universal-demo/node_modules/ng2-file-drop/module/file-drop.module.ts. You should not need to recompile .ts files in node_modules. Please contact the package author to advise them to use --declaration --outDir. More https://github.com/Microsoft/TypeScript/issues/12358 at Object.loader (/home/orange/Desktop/projects/maker/cli-universal-demo/node_modules/ts-loader/dist/index.js:32:15) @ ./dist/ngfactory/src/app/app.server.module.ngfactory.ts 150:11-59 @ ./src/server.ts
the problem as i expect is that the package contains the .ts source files and they must not be inside the module package on the npm.
but if i try to delete them manually the application also crashes because the ng2filedropmodule is declared inside the ts files.
version : 1.1.0
angular version : 4.1.0
webpack : 2.2.0
example repo : https://github.com/evertonrobertoauler/cli-universal-demo
run npm install ng2-file-drop
and include it inside whitelist array inside webpack.config
import the module inside app.module
The text was updated successfully, but these errors were encountered: