Open stephencweiss opened 3 years ago
@stephencweiss - I've been using this package for a long time, right now on Node 15, but before that on Node 14. I've never seen that error. Are you sure it's related to Node's version? I would find that strange.
@boris-petrov certainly not sure of it, but was pretty sure that was the only change I'd made to the project. Will give it another shot today to confirm.
Confirmed, the only change in my project is that I bumped node from v10 to v14.16. Now it won't compile.
Fwiw - the error seems right, when I follow the error and look at @ember/render-modifiers/node_modules/@babel/helper-compilation-targets/package.json
, I see the following:
{
"name": "@babel/helper-compilation-targets",
"version": "7.8.3",
"author": "The Babel Team (https://babeljs.io/team)",
"license": "MIT",
"description": "Engine compat data used in @babel/preset-env",
"repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-compilation-targets",
"main": "lib/index.js",
"exports": false,
"publishConfig": {
"access": "public"
},
"keywords": [
"babel",
"babel-plugin"
],
"dependencies": {
"@babel/compat-data": "^7.8.1",
"browserslist": "^4.8.2",
"invariant": "^2.2.4",
"levenary": "^1.1.0",
"semver": "^5.5.0"
},
"peerDependencies": {
"@babel/core": "^7.0.0"
},
"devDependencies": {
"@babel/core": "^7.8.3",
"@babel/helper-plugin-test-runner": "^7.8.3"
},
"gitHead": "a7620bd266ae1345975767bbc7abf09034437017"
}
Note the exports
key.
As Node 10 is coming up on EOL, I tried to update my project to Node 14 (and 12). In both cases, when I did, I got the following build error:
Is there anything we can do to accommodate newer Node versions? Or is there any recommended path forward?
My believe is that I am currently only using this in one place:
where
handleFormInsert
is really meant to just add focus: