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 have this error when i tried to browserify my app:
ReferenceError: [BABEL] /home/exos/projectv/node_modules/localforage/dist/localforage.js: Using removed Babel 5 option: /home/exos/projectv/node_modules/localforage/.babelrc.loose - Specify the `loose` option for the relevant plugin you are using or use a preset that sets the option.
at Logger.error (/home/exos/projectv/node_modules/babel-core/lib/transformation/file/logger.js:41:11)
at OptionManager.mergeOptions (/home/exos/projectv/node_modules/babel-core/lib/transformation/file/options/option-manager.js:288:20)
at OptionManager.addConfig (/home/exos/projectv/node_modules/babel-core/lib/transformation/file/options/option-manager.js:232:10)
at OptionManager.findConfigs (/home/exos/projectv/node_modules/babel-core/lib/transformation/file/options/option-manager.js:436:16)
at OptionManager.init (/home/exos/projectv/node_modules/babel-core/lib/transformation/file/options/option-manager.js:484:12)
at File.initOptions (/home/exos/projectv/node_modules/babel-core/lib/transformation/file/index.js:223:65)
at new File (/home/exos/projectv/node_modules/babel-core/lib/transformation/file/index.js:140:24)
at Pipeline.transform (/home/exos/projectv/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
at Babelify._flush (/home/exos/projectv/node_modules/babelify/index.js:27:24)
at Babelify.<anonymous> (_stream_transform.js:118:12)
I install all babel plugins there are on the localForage package.json:
I'm not super familiar with Babel: what do you make of the first line of your error message:
ReferenceError: [BABEL] /home/exos/projectv/node_modules/localforage/dist/localforage.js: Using removed Babel 5 option: /home/exos/projectv/node_modules/localforage/.babelrc.loose - Specify the `loose` option for the relevant plugin you are using or use a preset that sets the option.
?
Looks like an issue with localForage? I don't see any reference to .babelrc.loose in their code, but I'll dig a bit.
@exos I see that we just need to package a release that bumps the localForage to 1.4. I just took over the maintenance of this package, so this weekend, I'm going to put together a roadmap and keeping up with the upstream library is going to be high priority for me. I'm going to reopen this issue until the new version is out.
Yes, I continued this issue on the localForage repo's (this is the issue) and I got to a solution instaling first the last version (1.4) of localForage, or installing this package but using the master branch instead of the published release.
I have this error when i tried to browserify my app:
I install all babel plugins there are on the localForage package.json:
My package.json section:
My gulp task:
my .babelrc
And I copied the file .babelrc-umd from the project. But I get the same error.
Some versions:
The text was updated successfully, but these errors were encountered: