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
I was able to get the dependent-project to work via git sobmodules but if I try the npm approach, I first get
You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option. See: https://github.com/Microsoft/TypeScript/issues/12358
If I enable that option, I just get a lot of errors like
ERROR in ./node_modules/neuroglancer/src/neuroglancer/datasource/render/frontend.ts
Module build failed (from ./node_modules/ts-loader/index.js):
Error: TypeScript emitted no output for /Users/chrisj/dev/tmp/neuroglancer/examples/dependent-project/node_modules/neuroglancer/src/neuroglancer/datasource/render/frontend.ts.
The text was updated successfully, but these errors were encountered:
Nevermind. I added a param in the path property in the tsconfig.json:
"neuroglancer/": ["./node_modules/neuroglancer/src/neuroglancer/"],
then ran "npm link" from the neuroglancer project and "npm link neuroglancer" from the dependent-project. Then I ran it and it worked.
I was able to get the dependent-project to work via git sobmodules but if I try the npm approach, I first get
If I enable that option, I just get a lot of errors like
The text was updated successfully, but these errors were encountered: