We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Steps to reproduce:
Generate new project
$ napi new @test/test
Specify destDir argument for napi build command:
destDir
napi build
$ cd test $ napi build --platform build
Run tests
npm run test
Result:
$ npm run test > @test/test@0.0.0 test > ava Uncaught exception in __test__/index.spec.mjs Error: Cannot find module '@test/test-linux-x64-gnu' Require stack: - /home/kostya/code/test/index.js › - index.js › Object.<anonymous> (index.js:174:31) ✖ __test__/index.spec.mjs exited with a non-zero exit code: 1 ─ 1 uncaught exception
The text was updated successfully, but these errors were encountered:
Agreed also running into this.
Sorry, something went wrong.
Opened #1481 to fix.
Successfully merging a pull request may close this issue.
Steps to reproduce:
Generate new project
Specify
destDir
argument fornapi build
command:Run tests
Result:
The text was updated successfully, but these errors were encountered: