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
{{ message }}
This repository has been archived by the owner on May 16, 2023. It is now read-only.
What operating system are you using? Are you using any special setup?
macOS High Sierra
What did you do?
I created a new project with npx create-noderize and set "languages": "typescript" within the noderize config field in my package.json. I then created a test file under /src and ran npm run test, which gives me the following error:
The new decorators proposal is not supported yet. You must pass the `"legacy": true`
option to @babel/plugin-proposal-decorators (While processing: "/node_modules/
@babel/plugin-proposal-decorators/lib/index.js")
I also tried adding a babel config within the noderize config in package.json, setting the "legacy": true option for @babel/plugin-proposal-decorators as the error instructed, but that didn't have any effect.
What did you expect to see?
No errors
What did you see instead?
The text was updated successfully, but these errors were encountered:
kaitmore
changed the title
Running tests fail with Babel plugin error
Tests fail with Babel plugin error
Apr 26, 2018
What version of Noderize and Node are you using?
Node v9.4.0
Noderize v0.5.0
What operating system are you using? Are you using any special setup?
macOS High Sierra
What did you do?
I created a new project with
npx create-noderize
and set"languages": "typescript"
within the noderize config field in my package.json. I then created a test file under /src and rannpm run test
, which gives me the following error:I also tried adding a babel config within the noderize config in package.json, setting the "legacy": true option for @babel/plugin-proposal-decorators as the error instructed, but that didn't have any effect.
What did you expect to see?
No errors
What did you see instead?
The text was updated successfully, but these errors were encountered: