-
Notifications
You must be signed in to change notification settings - Fork 308
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
truffle serve error #38
Comments
My guess is that the package.json is missing a line like this:
https://github.com/flyswatter/react-hyperscript-beefy-es6-boilerplate/blob/master/package.json#L16 <https://github.com/flyswatter/react-hyperscript-beefy-es6-boilerplate/blob/master/package.json#L16>
Also requires a dev-dependency:
https://github.com/flyswatter/react-hyperscript-beefy-es6-boilerplate/blob/master/package.json#L43 <https://github.com/flyswatter/react-hyperscript-beefy-es6-boilerplate/blob/master/package.json#L43>
… On Dec 20, 2016, at 5:25 PM, CyberNano ***@***.***> wrote:
After "npm install" I try to run "truffle serve" and get this:
truffle serve
Error: Couldn't find preset "es2015" relative to directory "/home/asphyxia/Downloads/Token-Factory-master"
at /home/asphyxia/.nvm/versions/node/v7.0.0/lib/node_modules/truffle/node_modules/babel-core/lib/transformation/file/options/option-manager.js:299:19
at Array.map (native)
at OptionManager.resolvePresets (/home/asphyxia/.nvm/versions/node/v7.0.0/lib/node_modules/truffle/node_modules/babel-core/lib/transformation/file/options/option-manager.js:270:20)
at OptionManager.mergePresets (/home/asphyxia/.nvm/versions/node/v7.0.0/lib/node_modules/truffle/node_modules/babel-core/lib/transformation/file/options/option-manager.js:259:10)
at OptionManager.mergeOptions (/home/asphyxia/.nvm/versions/node/v7.0.0/lib/node_modules/truffle/node_modules/babel-core/lib/transformation/file/options/option-manager.js:244:14)
at OptionManager.init (/home/asphyxia/.nvm/versions/node/v7.0.0/lib/node_modules/truffle/node_modules/babel-core/lib/transformation/file/options/option-manager.js:374:12)
at compile (/home/asphyxia/.nvm/versions/node/v7.0.0/lib/node_modules/truffle/node_modules/babel-register/lib/node.js:103:45)
at loader (/home/asphyxia/.nvm/versions/node/v7.0.0/lib/node_modules/truffle/node_modules/babel-register/lib/node.js:144:14)
at Object.require.extensions.(anonymous function) [as .js] (/home/asphyxia/.nvm/versions/node/v7.0.0/lib/node_modules/truffle/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:490:32)
at tryModuleLoad (module.js:449:12)
at Function.Module._load (module.js:441:3)
at Module.require (module.js:500:17)
at require (internal/module.js:20:19)
at module.exports (/home/asphyxia/.nvm/versions/node/v7.0.0/lib/node_modules/truffle/lib/require-nocache.js:5:10)
at Function.Config.load (/home/asphyxia/.nvm/versions/node/v7.0.0/lib/node_modules/truffle/lib/config.js:196:23)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#38>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAhIj9ZylKm7lu6bAF9XnV_QTqaKfH--ks5rKH_ygaJpZM4LSem4>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After "npm install" I try to run "truffle serve" and get this:
truffle serve
Error: Couldn't find preset "es2015" relative to directory "/home/asphyxia/Downloads/Token-Factory-master"
at /home/asphyxia/.nvm/versions/node/v7.0.0/lib/node_modules/truffle/node_modules/babel-core/lib/transformation/file/options/option-manager.js:299:19
at Array.map (native)
at OptionManager.resolvePresets (/home/asphyxia/.nvm/versions/node/v7.0.0/lib/node_modules/truffle/node_modules/babel-core/lib/transformation/file/options/option-manager.js:270:20)
at OptionManager.mergePresets (/home/asphyxia/.nvm/versions/node/v7.0.0/lib/node_modules/truffle/node_modules/babel-core/lib/transformation/file/options/option-manager.js:259:10)
at OptionManager.mergeOptions (/home/asphyxia/.nvm/versions/node/v7.0.0/lib/node_modules/truffle/node_modules/babel-core/lib/transformation/file/options/option-manager.js:244:14)
at OptionManager.init (/home/asphyxia/.nvm/versions/node/v7.0.0/lib/node_modules/truffle/node_modules/babel-core/lib/transformation/file/options/option-manager.js:374:12)
at compile (/home/asphyxia/.nvm/versions/node/v7.0.0/lib/node_modules/truffle/node_modules/babel-register/lib/node.js:103:45)
at loader (/home/asphyxia/.nvm/versions/node/v7.0.0/lib/node_modules/truffle/node_modules/babel-register/lib/node.js:144:14)
at Object.require.extensions.(anonymous function) [as .js] (/home/asphyxia/.nvm/versions/node/v7.0.0/lib/node_modules/truffle/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:490:32)
at tryModuleLoad (module.js:449:12)
at Function.Module._load (module.js:441:3)
at Module.require (module.js:500:17)
at require (internal/module.js:20:19)
at module.exports (/home/asphyxia/.nvm/versions/node/v7.0.0/lib/node_modules/truffle/lib/require-nocache.js:5:10)
at Function.Config.load (/home/asphyxia/.nvm/versions/node/v7.0.0/lib/node_modules/truffle/lib/config.js:196:23)
The text was updated successfully, but these errors were encountered: