-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src/**/*_test.ts files cause ts-node error in unit tests of packages that depend on tfjs #1380
Labels
type:bug
Something isn't working
Comments
caisq
changed the title
src/**/*_test.ts files cause tsc compilation errors in unit tests of packages that depend on tfjs
src/**/*_test.ts files cause ts-node error in unit tests of packages that depend on tfjs
Mar 14, 2019
caisq
added a commit
to tensorflow/tfjs-models
that referenced
this issue
Mar 15, 2019
…#171) - Remove the `rimraf node_modules/@tensorflow/tfjs-node` workaround for `yarn build` (see the fixed issue tensorflow/tfjs#1092) - Add `rm $(find node_modules/@tensorflow -name *_test.ts)` workaround for `yarn test` (see new issue tensorflow/tfjs#1380)
This was referenced Mar 18, 2019
nsthorat
pushed a commit
to tensorflow/tfjs-core
that referenced
this issue
Mar 18, 2019
There is no need to publish the src/**/*_test.ts files. It causes the tests to execute in dependent packages when those tests are run. This also decreases the NPM package size. See tensorflow/tfjs#1380 DEV
nsthorat
pushed a commit
to tensorflow/tfjs-layers
that referenced
this issue
Mar 18, 2019
DEV There is no need to publish the src/**/*_test.ts files. It causes the tests to execute in dependent packages when those tests are run. This also decreases the NPM package size. See tensorflow/tfjs#1380
nsthorat
pushed a commit
to tensorflow/tfjs-data
that referenced
this issue
Mar 18, 2019
There is no need to publish the src/**/*_test.ts files. It causes the tests to execute in dependent packages when those tests are run. This also decreases the NPM package size. See tensorflow/tfjs#1380 DEV
nsthorat
pushed a commit
that referenced
this issue
Mar 18, 2019
There is no need to publish the src/**/*_test.ts files. It causes the tests to execute in dependent packages when those tests are run. This also decreases the NPM package size. See #1380 DEV
nsthorat
pushed a commit
to tensorflow/tfjs-node
that referenced
this issue
Mar 19, 2019
There is no need to publish the src/**/*_test.ts files. It causes the tests to execute in dependent packages when those tests are run. This also decreases the NPM package size. See tensorflow/tfjs#1380 DEV
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To get help from the community, we encourage using Stack Overflow and the
tensorflow.js
tag.TensorFlow.js version
1.0.1
As a concrete example, see tensorflow/tfjs-models#171
We would have to add the
/~https://github.com/tensorflow/tfjs-models/pull/171
patch command in order to prevent an error like the following:The text was updated successfully, but these errors were encountered: